Filter Gain |
gain(C, f) Returns the gain at frequency f of a filter with coefficients C.
C is a real or complex-valued vector or array of filter coefficients.
FIR filter: C has one column
IIR filter: C has column pairs: column 1 contains coefficients of the numerator, column 2 contains coefficients of the denominator. IIR transfer functions must be normalized so that the constant term in the denominator is 1.