How to use DWT block in simulink for sinusoidal signal?

3 views (last 30 days)
Hii all,
I am facing problem while connecting sinewave signal to DWT block in simulink, It asks 2-dimensional input, I want to know how convert sinusoidal siganl to suitable input form of DWT block.
Thanks in advance.
With regards
Manikandan.R
  2 Comments
Sharmin Kibria
Sharmin Kibria on 23 May 2022
Hi Manikandan,
Simulink generally passes one sample at a time to each block.As the DWT block is receiving one sample, it is erroring out. To ensure you DWT block receives a vector you need to add a buffer block after your input signal. The buffer block will collect the number of samples you want and pass it to your DWT block.
Thanks
Sharmin

Sign in to comment.

Answers (0)

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!