kaiser_param
Computation of the parameters of a Kaiser filter.
Namespace: dsp::filter
Prototype
tuple<float, int> kaiser_param(float atten_db, float df)
Parameters
atten_db | Attenuation in dB in the stop-band (should be a positive value). |
df | Transition bandwidth (normalized to the sampling frequency) |
Returns
\(\beta,n\)
Description
This function will compute, for a Kaiser filter, the \(\beta\) parameter and the required order for a specified attenuation and transition bandwidth.