maximum wavelet decomposition
이전 댓글 표시
Can anyone help me to understand that if I use the following command with level greater than maximum level of decomposition, I still have details (dec.cd) of 256 cells more than maximum level, which looks weird.
dec = mdwtdec('c',signal,level,wavelet);
What does it shows?
Ashutosh
답변 (1개)
Wayne King
2012년 5월 15일
Hi Ashutosh, both mdwtdec and wavedec will work beyond the maximum level, but it is up to you as the user to know that these coefficients do not mean anything. What happens inside the code after you reach the maximum level is that the single remaining coefficient will be extended and iterated on. But the result will be essentially zero (if not zero). With the Haar wavelet, you will get exactly zeros. For example:
x = randn(8,1);
level = 5;
dwtmode('per')
[C,L] = wavedec(x,6,'db1');
details = detcoef(C,L,'cells');
You see with details that you will get zeros after level 3.
The same is true with
dec = mdwtdec('c',x,8,'db1');
dec.cd
카테고리
도움말 센터 및 File Exchange에서 Signal Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!