Wavelet Toolbox    
wenergy

Energy for wavelet or wavelet packet decomposition

Syntax

Description

For a one-dimensional wavelet decomposition [C,L] (see wavedec for details), [Ea,Ed] = WENERGY(C,L) returns Ea, which is the percentage of energy corresponding to the approximation and Ed, which is the vector containing the percentages of energy corresponding to the details.

For a wavelet packet tree T (see wptree, wpdec, wpdec2), E = WENERGY(T) returns a vector E, which contains the percentages of energy corresponding to the terminal nodes of the tree T. In this case, WENERGY is a method of the wptree object T, which overloads the previous WENERGY function.

Examples


  wdencmp wenergy2