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

typeFilter type ("lp" for low-pass, "hp" for high-pass, ...).
fcNormalized cut-off frequency.
atten_dbDesired attenuation in the stop-band (decibels).
dfTransition band width (normalized frequency units).
fc2Second 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()