How to calculate the percentage of energy corresponding to the coefficients of one-dimensional wavelet decomposition ?
1 view (last 30 days)
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
and i want to know how to calculate the percentage of energy of each coefficients used in this matlab syntax? Thanks