Energy Statistics from multiple level decompostion
[Ea,Ed]=wenergy(c,l)
energy percentage of approximation coefficent
energy percentage of detail coefficent, vector
coefficent array
length array
wenergy is to calculate the energy percentage of approximation and detail coefficent.
x=rand(1,100); [C,L]=wavedec(x,3,'db2'); [Ea,Ed]=wenergy(C,L); | ![]() | ![]() |