FIgdelFIR
Routine
-
double FIgdelFIR (double w, const float h[], int Ncof)
Purpose
-
Calculate the group delay for an FIR filter
Description
The group delay is calculated for the equivalent non-causal filter with
reference point at the mid-point of the filter. The delay to the mid-point
is added to this figure. The group delay in seconds at frequency f for a
response with sampling frequency Fs can be calculated as
gdel = FIgdelFIR (2 * Pi * f / Fs, h, Ncof) / Fs .
Parameters
-
-> double w
-
Normalized radian frequency (0 to Pi).
-
-> const float h[]
-
Array of Ncof filter coefficients
-
-> int Ncof
-
Number of filter coefficients
Author / revision
P. Kabal
/ Revision 1.4 2003/05/09
Main Index libtsp