Learn R Programming

rwt (version 1.0.0)

mirdwt: Inverse Redundant Discrete Wavelet Transform

Description

Computes the inverse redundant discrete wavelet transform x for input signal y using the scaling filter h. (Redundant means here that the sub-sampling after each stage of the forward transform has been omitted.)

Usage

mirdwt(yl, yh, h, L)

Arguments

yl
Lowpass component
yh
Highpass components
h
Scaling filter to be applied
L
Number of levels in wavelet decomposition. In the case of a 1D signal, length(yl) must be divisible by $2^L$; in the case of a 2D signal, the row and the column dimension must be divisible by $2^L$. If no argument is specified, a full DWT is returned for maximal possible L.

Value

Returns a list with components:
x
Finite length 1D or 2D signal
L
Number of levels in wavelet decomposition

Examples

Run this code
sig <- makesig(SIGNAL.LEOPOLD, 8)
h <- daubcqf(4)
L <- 1
ret.mrdwt <- mrdwt(sig$x, h$h.0, L)
ret.mirdwt <- mirdwt(ret.mrdwt$yl, ret.mrdwt$yh, h$h.0, ret.mrdwt$L)

Run the code above in your browser using DataLab