Wavelet Toolbox |
Extract wavelet tree from wavelet packet tree
Syntax
Description
wp2wtree
is a one- or two-dimensional wavelet packet analysis function.
T = wp2wtree(T)
computes the modified wavelet packet tree T
corresponding to the wavelet decomposition tree.
Examples
% The current extension mode is zero-padding (see dwtmode
).
% 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)
% Compute wavelet tree.
wt = wp2wtree(wpt);
% Plot wavelet tree wt.
plot(wt)
wnoisest | wpbmpen |
© 1994-2005 The MathWorks, Inc.