Wavelet Toolbox |
Plot wavelet packets colored coefficients
Syntax
Description
wpviewcf(T,CMODE) plots the colored coefficients for the terminal nodes of the tree T.
T is a wavelet packet tree and CMODE is an integer, which represents the color mode. The color modes are listed in the table below.
wpviewcf(T,CMODE,NBCOL) uses NBCOL colors.
Examples
% Create a wavelet packet tree.
x = sin(8*pi*[0:0.005:1]);
t = wpdec(x,3,'db1');
% Plot tree t.
% Click the node (3,0), (see the plot
function)
plot(t);
% Plot the colored wavelet packet coefficients.
wpviewcf(t,1);
See Also
wpdec
wptree | wrcoef |
© 1994-2005 The MathWorks, Inc.