design_fir_eq (1)
Equiripple FIR design (IRLS method).
Prototype
Vecf design_fir_eq(int n, const Vecf &d, const Vecf &w)
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)
Description
This function build an equiripple filter, using the IRLS method (Iteratively Reweighted Least Square).