qp_kaiser: Kaiser FIR filter design

View source: R/qp_kaiser.R

qp_kaiserR Documentation

Kaiser FIR filter design

Description

Compute FIR filter for use with a quasi-perfect reconstruction polyphase-network filter bank.

Usage

qp_kaiser(nb, at, linear = FALSE)

Arguments

nb

number of frequency bands, specified as a scalar

at

attenuation (in dB) in the stop band.

linear

logical, indicating linear scaling. If FALSE (default), the Kaiser window is multiplied by the ideal impulse response h(n) = a sinc(an) and converted to its minimum-phase version by means of a Hilbert transform.

Value

The FIR filter coefficients, of class Ma.

Author(s)

André Carezia, andre@carezia.eng.br.
Conversion to R by Geert van Boxtel, G.J.M.vanBoxtel@gmail.com.

See Also

Ma, filter, fftfilt, fir2

Examples


freqz(qp_kaiser(1, 20))
freqz(qp_kaiser(1, 40))



gsignal documentation built on Sept. 12, 2024, 6:27 a.m.