Azzera filtri
Azzera filtri

detail and approximation coefficients of discrete wavelet transform

5 visualizzazioni (ultimi 30 giorni)
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)

Risposte (0)

Categorie

Scopri di più su Wavelet Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by