Main Content

readtree

(Removed) Read wavelet packet decomposition tree from figure

    Wavelet Analyzer has been removed. readtree is part of Wavelet Analyzer. For recommended alternatives, see Version History.

    Description

    T = readtree(F) reads the wavelet packet tree T from the figure whose handle is F.

    example

    Examples

    collapse all

    Create a wavelet packet tree.

    x   = sin(8*pi*[0:0.005:1]);
    t   = wpdec(x,3,'db2');

    Display the tree.

    fig = drawtree(t);

    Use the GUI to merge tree nodes.

    Read the tree from the GUI. Use plot to plot the tree. Click the node (3,0).

    t = readtree(fig);
    plot(t)

    Input Arguments

    collapse all

    Handle to the figure, specified as a figure handle.

    Version History

    Introduced before R2006a

    expand all