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

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