window_kaiser
Creation of a Kaiser window.
Namespace: dsp::filter
Prototype
Vecf window_kaiser(float atten_db, float df, bool symetrical=true)
Parameters
atten_db | Attenuation in dB in the stop-band (should be a positive value). |
df | Transition bandwidth (normalized to the sampling frequency) |
symetrical | If true, realization of window symetrical around its center point (which should be done for the FIR filter design), otherwise realization of a periodical window (which is better for spectral analysis applications). |
Returns
Column vector with window coefficients.
Description
Example: creation of a window with 60 dB of attenuation
Time domain
Spectrum