Learn R Programming

gmwm (version 2.0.0)

qmf: Quadrature Mirror Filter

Description

Calculate the series quadrature mirror filter (QMF). Requires a series of an even length.

Usage

qmf(g, inverse)

Arguments

g
A vector that contains the filter constants.
inverse
A bool that indicates whether the inverse quadrature mirror filter is computed. By default, the inverse quadrature mirror is computed.

Value

A vector that contains either the forward QMF (evalute in order) or the inverse QMF (reverse order).

Examples

Run this code
# Haar values
g = rep(1/sqrt(2),2)
qmf(g)

Run the code above in your browser using DataLab