design_fir_eq (2)

Equiripple FIR design (IRLS method).


Prototype

Vecf design_fir_eq(int n, const vector<FreqIntervalSpec> &spec)

Parameters

nFilter order
dDesired frequency response
wWeighting coefficients vector (must have the same length as d)

Returns

Coefficients vector of the FIR filter (vector of length n)

Description

See also

design_fir_eq(int, const Vecf &, const Vecf &)