design_fir_eq (2)
Equiripple FIR design (IRLS method).
Prototype
Vecf design_fir_eq(int n, const vector<FreqIntervalSpec> &spec)
Parameters
| n | Filter order |
| d | Desired frequency response |
| w | Weighting coefficients vector (must have the same length as d) |
Returns
Coefficients vector of the FIR filter (vector of length n)
