functionidwt

One-dimensional inverse discrete wavelet transform (one-level reconstruction)

Information

This function calculates inverse discrete wavelet transform (one-level wavelet reconstruction) using the input approximation and detail wavelet coefficients, ca and cd. The coefficient vectors are extended at both ends with zero padding before calculation. The length of the reconstructed data is usually (but not always) equal to the length of the original signal if the length is not specified.

Refer to the section of wavelet Families for the detailed information about the available wavelets.

The default input values provide a quick example to generate a simple saw-tooth signal.

Inputs

TypeNameDefaultDescription
Real[:]ca{2.121, 2.121, 2.121, 4.95, 0.707}Approximation coefficients
Real[size(ca, 1)]cd{-0.707, -0.707, -0.707, -0.707, 0.707}Detail coefficients
Real[:]lor{0.707, 0.707}Low pass filter for reconstruction
Real[size(lor, 1)]hir{0.707, -0.707}High pass filter for reconstruction
Integerny0Length of the result, y (the central part will be extracted). If ny == 0, size(y,1) = 2*size(ca,1) - size(lor,1) +2

Outputs

TypeNameDefaultDescription
Real[:]yReconstructed signal