Wavelet Toolbox |
Draw wavelet packet decomposition tree (GUI)
Syntax
Description
drawtree(T) draws the wavelet packet tree T, and F = drawtree(T) also returns the figure's handle.
For an existing figure F produced by a previous call to the drawtree function, drawtree(T,F) draws the wavelet packet tree T in the figure whose handle is F. For more information see Chapter 5 of the User's Guide, "Using Wavelet Packets" and Appendix B, "Wavelet Toolbox and Object Programming".
Examples
x = sin(8*pi*[0:0.005:1]); t = wpdec(x,3,'db2'); fig = drawtree(t); %--------------------------------------- % Use command line function to modify t. %--------------------------------------- t = wpjoin(t,2); drawtree(t,fig);
See Also
readtree
displs | dtree |
© 1994-2005 The MathWorks, Inc.