[Ea,Ed] = wenergy(c,l)
returns, for a 1-D wavelet decomposition, Ea, the percentage of
energy corresponding to the approximation, and Ed, the
percentages of energies corresponding to the details. c and
l are outputs of wavedec.
E = wenergy(wpt)
returns the percentages of energy corresponding to the terminal nodes of the wavelet
packet tree wpt (see wptree, wpdec, and wpdec2). In this case,
wenergy is a method of the wptree object
wpt, which overloads the previous
wenergy function.
Wavelet decomposition, specified as a vector. The vector contains the
wavelet coefficients. The bookkeeping vector l contains
the number of coefficients by level. See wavedec.
Data Types: single | double Complex Number Support: Yes
Bookkeeping vector, specified as a vector of positive integers. The
bookkeeping vector is used to parse the coefficients in the wavelet
decomposition c by level. See wavedec.
Data Types: single | double
Wavelet packet tree, specified as a wptree object. See
wptree, wpdec, and wpdec2.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: United States.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.