PARSEWAVELET Function

Extracts the wavelet transform coefficients from a wavelet data structure.

Usage

result = PARSEWAVELET(waveletstruct, n)

Input Parameters

waveletstruct—The output of the forward wavelet transform created by the WAVELET function.

n—An index of the wavelet transform coefficient data structure level.

Note:

The input parameter n must be between 1 and the number of QMFs + 1, inclusive.

Returned Value

result—A double-precision array of coefficients of the n-th level of the wavelet transform.

Keywords

None.

Discussion

PARSEWAVELET extracts the coefficients from the n-th level of the wavelet transform from the wavelet transform data structure. For the definition of the wavelet transform levels, see WAVELET.

The index n passed into PARSEWAVELET is the number of the transform stage from which to retrieve the output. If n is one greater than the number of stages, the lowpass output of the last stage is returned instead.

For an example of the use of PARSEWAVELET, see the example in the WAVELET Function .

See Also

WAVELET