Main Content

wprec

Wavelet packet reconstruction 1-D

    Description

    example

    x = wprec(tobj) returns the reconstructed vector x corresponding to the wavelet packet tree object tobj.

    Examples

    collapse all

    Load a signal.

    load noisdopp
    x = noisdopp;

    Decompose the signal at level 3 with sym4 wavelet packets using log energy entropy.

    wpt = wpdec(x,3,'sym4','log energy');

    Reconstruct the signal from the wavelet packet tree object.

    xrec = wprec(wpt);

    Compare the original signal with the reconstruction.

    max(abs(xrec-x))
    ans = 8.2769e-12
    

    Input Arguments

    collapse all

    Wavelet packet tree, specified as a wavelet packet tree object. The wprec function assumes that you obtained tobj using wpdec.

    Version History

    Introduced before R2006a