Energy Statistics from two dimension multiple level decompostion
[Ea,Ed]=wenergy(c,s) [Ea,Eh,Ev,Ed]=wenergy(c,s)
wenergy2 is to calculate the energy percentage of approximation and detail coefficent for two dimension decompostion.
x=rand(100,100); [C,S]=wavedec2(x,3,'db2'); [Ea,Ed]=wenergy2(C,S); | ![]() | ![]() |
Roger Liu and Isaac Zhi