design_fir_wnd_chebychev
Windowed cardinal sine FIR design (Chebychev window).
Namespace: dsp::filter
Prototype
Vecf design_fir_wnd_chebychev(int n, cstring type, float fc, float atten_db, float fc2=0)
Parameters
n | Filter order. |
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). |
fc2 | Second cut-off frequency (only band-pass or band-stop type filters). |
Description
The use of a Chebychev window enable to choose both the filter attenuation and the number of coefficients, the adjusting variable being the transition band width.
See also
design_fir_wnd(), design_fir_wnd_kaiser()