midwt: Inverse Discrete Wavelet Transform

View source: R/midwt.R

midwtR Documentation

Inverse Discrete Wavelet Transform

Description

Computes the inverse discrete wavelet transform x for input signal y using the scaling filter h.

Usage

midwt(y, h, L)

Arguments

y

Finite 1D or 2D signal (implicitly periodized)

h

Scaling filter to be applied

L

Number of levels in wavelet decomposition. In the case of a 1D signal, length(x) 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

Periodic reconstructed signal

L

Number of levels in wavelet decomposition

Author(s)

P. Roebuck proebuck1701@gmail.com

Examples

sig <- makesig(SIGNAL.LIN.CHIRP, 8)
h <- daubcqf(4)
L <- 1
ret.mdwt <- mdwt(sig$x, h$h.0, L)
ret.midwt <- midwt(ret.mdwt$y, h$h.0, ret.mdwt$L)

rwt documentation built on June 14, 2022, 5:07 p.m.

Related to midwt in rwt...