maximum wavelet decomposition
Mostrar comentarios más antiguos
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
Respuestas (1)
Wayne King
el 15 de Mayo de 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 comentario
Ashutosh
el 16 de Mayo de 2012
Categorías
Más información sobre Signal Analysis en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!