Draw wavelet packet decomposition tree (GUI)
drawtree(
T
)
F
= drawtree(T
)
drawtree(T
,F
)
drawtree(
draws
the wavelet packet tree T
)T
, and F
= drawtree(
also returns the
figure's handle.T
)
For an existing figure F produced by a previous call to the
drawtree function, drawtree(
draws
the wavelet packet tree T in the figure whose handle is F. T
,F
)
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);