Wavelet Toolbox |
Read wavelet packet decomposition tree from a figure
Syntax
Description
T = readtree(F) reads the wavelet packet decomposition tree from 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
% Create a wavelet packet tree.
x = sin(8*pi*[0:0.005:1]);
t = wpdec(x,3,'db2');
% Display the generated tree in a Wavelet Pachet 1-D GUI window.
fig = drawtree(t);
%-------------------------------------
% Use the GUI to split or merge Nodes.
%-------------------------------------
t = readtree(fig);
plot(t)
% Click the node (3,0), (see the plot
function).
See Also
drawtree
read | scal2frq |
© 1994-2005 The MathWorks, Inc.