Learn R Programming

gsignal (version 0.3-7)

qp_kaiser: 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)

Value

The FIR filter coefficients, of class Ma.

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.

Author

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

Run this code
# \donttest{
freqz(qp_kaiser(1, 20))
freqz(qp_kaiser(1, 40))
# }

Run the code above in your browser using DataLab