drawtree
Purpose
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™ Software 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
| | Provide feedback about this page |
 | displs | | dtree |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit