remez
Remez, short for the Remez exchange algorithm, is an iterative method for computing a minimax (Chebyshev) approximation to a desired frequency response using a finite impulse response (FIR) filter. In digital signal processing, it is most commonly associated with designing linear-phase FIR filters via the Parks–McClellan approach, and is frequently referred to by the function name remez in software toolboxes.
The problem is to find FIR coefficients h[n] that make the filter’s frequency response H(ω) approximate a
The algorithm proceeds iteratively. An initial set of extremal frequencies is chosen, and a linear system is
The result is an equiripple error pattern in the specified bands, with a minimax-optimal overall deviation.