Filter löschen
Filter löschen

detail and approximation coefficients of discrete wavelet transform

5 Ansichten (letzte 30 Tage)
rajesh kumar
rajesh kumar am 12 Jul. 2020
Matlab code to extract coefficients (detail and approximation), and corresponding energy. Formula for energy is shwn in in attached image.
While trying this commands, why cd1 (11 samples), cd2(9 samples) cd3 (8 samples) and cd4 (7 samples) samples are different even the original signal contain 16 samples.
[C,L] = wavedec(inrush1_final(1:16,1),4,'db4');
approx = appcoef(C,L,'db4');
[cd1,cd2,cd3,cd4] = detcoef(C,L,[1 2 3 4]);
[Ea,Ed] = wenergy(C,L)

Antworten (0)

Kategorien

Mehr zu Wavelet Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by