Difference in Wavelet decompostion coefficients
Ältere Kommentare anzeigen
Hi,
I have a signal of size 36X1 and I get different values of the approximate coefficients when I use the GUI in wavelet toolbox vs when I script it. For the script I have tried both the dwt and the wavedec function with wavetype as 'db4'. I have tried different levels of decomp too but the approximate coefficients at level 'x' that I export from the GUI is not the same as the one I get from the script? Any help would be appreciated.
Thanks
Romendra
I retrieved the approximate coefficients from the script using the appcoef() function
Akzeptierte Antwort
Weitere Antworten (1)
Wayne King
am 26 Sep. 2012
Hi Romendra, The export approximations from the GUI is not the approximation coefficients, it is a projection onto a particular subspace. You can get this at the command line with wrcoef() with the 'a' type.
x = randn(36,1);
[C,L] = wavedec(x,2,'db4');
xapp2 = wrcoef('a',C,L,'db4',2);
1 Kommentar
Romendra
am 26 Sep. 2012
Kategorien
Mehr zu AI for Signals and Images finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!