필터 지우기
필터 지우기

Wavelet toolbox waveletAnalyzer app vs wdencmp signal decomposition length not the same

조회 수: 1 (최근 30일)
tldr; the wavelet app has same size detail coefficients while wdencmp() has sampled halved per filter bank as one would expect. is the app using a different algorithm than the wdencmp() DWT to deconstruct signal?
Hello, I am trying to understand the wavelet toolbox better however there is something that I cant seem to figure out. In the waveletAnalyer I analyzed a signal using a db4 wavelet with 5 level filter bank
(image.png) Now I did the same thing in command line with assumption that this was the same algorithm the app uses. here is my code
in the code you can see that I used dwt() for the transformation, this is the same functino that wdencmp() calls to destruct the signal. here are the plots of the detail coefficients using the wdencmp() function
My question is: why are the detail coefficients of different lengths from app vs function. You would expect that the detail coefficients should be sampled by half for every level however in the app the size of all detail coefficients are same while in function the sizes are sampled by two as you would expect from a DWT algorithm. Is the app just not using the same algorithm? If not then how what is it using? my best guess is that it is using a CWT as I am still new to wavelets. I appreciate any help.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Wavelet Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by