Compute the attenuation of a Kaiser FIR filter.
Given the number of taps N and the transition width width, compute the attenuation a in dB, given by Kaiser’s formula:
a = 2.285 * (N - 1) * pi * width + 7.95
Parameters : | N : int
width : float
|
---|---|
Returns : | a : float
|
See also