how does Wenergy for 1-D wavelet decomposition works???

2 views (last 30 days)
Hi , i read the matlab documentation about the energy for 1-D wavelet decomposition and i want to know how the calculation works exactly??? because the Syntax used is [Ea,Ed] = wenergy(C,L) so here it use the wavelet decomposition vector c and the formula used in theory is
Which use the details and approximations coefficients . can anyone help me to understand please??

Accepted Answer

Wayne King
Wayne King on 10 Aug 2017
Hi Alef, the Ed output gives the percentage of energy captured by the detail (wavelet) coefficients at each level, while the Ea output is the coarsest scale (final-level) scaling coefficient energy (again as a percentage).
load noisbump;
% 4 levels here
[C,L] = wavedec(noisbump,4,'sym4');
[Ea,Ed] = wenergy(C,L);
Ed is 1-by-4, the percent energy captured by the wavelet coefficients from the finest scale to coarsest scale.
Ea is a scalar representing the final-scale scaling coefficient energy.
  1 Comment
Leandro Robaina Arla
Leandro Robaina Arla on 8 Feb 2019
Hi, i don´t understand completely.
Is this the answer?
Ed=(Energy of detail 1,Energy of detail 2, Energy of detail 3, Energy of detail 4).
or is the inverse
Ed=(Energy of detail 4,Energy of detail 3, Energy of detail 2, Energy of detail 1).
thank you for the help

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!