maximum wavelet decomposition
Ältere Kommentare anzeigen
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
Antworten (1)
Wayne King
am 15 Mai 2012
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
1 Kommentar
Ashutosh
am 16 Mai 2012
Kategorien
Mehr zu Signal Analysis finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!