Learn R Programming

gsignal (version 0.3-1)

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)

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.

See Also

Ma, filter, fftfilt, fir2

Examples

Run this code
# NOT RUN {
freqz(qp_kaiser(1, 20))
freqz(qp_kaiser(1, 40))
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab