| Wavelet Toolbox | |
| Provide feedback about this page |
Syntax
Description
wpcutree is a one- or two-dimensional wavelet packet analysis function.
T = wpcutree(T,L) cuts the tree T at level L.
[T,RN] = wpcutree(T,L) returns the same arguments as above and, in addition, the vector RN contains the indices of the reconstructed nodes.
Examples
% The current extension mode is zero-padding (seedwtmode). % Load signal. load noisdopp; x = noisdopp; % Decompose x at depth 3 with db1 wavelet packets % using Shannon entropy. wpt = wpdec(x,3,'db1'); % Plot wavelet packet tree wpt. plot(wpt)% Cut wavelet packet tree at level 2. nwpt = wpcutree(wpt,2); % Plot new wavelet packet tree nwpt. plot(nwpt)
| Provide feedback about this page |
![]() | wpcoef | wpdec | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |