design_rif_wnd_kaiser
Windowed cardinal sine FIR design (Kaiser window).
Namespace: dsp::filter
Prototype
Vecf design_rif_wnd_kaiser(cstring type, float fc, float atten_db, float df, float fc2=0)
Parameters
type | Filter type ("lp" for low-pass, "hp" for high-pass, ...). |
fc | Normalized cut-off frequency. |
atten_db | Desired attenuation in the stop-band (decibels). |
df | Transition band width (normalized frequency units). |
fc2 | Second cut-off frequency (only band-pass or band-stop type filters). |
Description
The use of a Kaiser window enable to choose both the filter attenuation and the transition band width, the adjusting variable being the number of coefficients.
See also
design_fir_fen(), design_fir_wnd_chebychev()