How to calculate the percentage of energy corresponding to the coefficients of one-dimensional wavelet decomposition ?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi, i read the matlab documentation about how to calculate the energy for 1-D wavelet decomposition and i found that it returns the percentage of energy corresponding to the approximations and details coefficients using this syntax :
[Ea,Ed] = wenergy(C,L)
I want to know how this calculation of percentage for each coefficients is done ? Actually i tried to calculate the energy with my own code using this code
for i=1:1:1283
res=res+cd1(i)*cd1(i);
end
x=res/1283;
D1=sqrt(x);
and i want to know how to calculate the percentage of energy of each coefficients used in this matlab syntax? Thanks
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Signal Analysis en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!