firpm
firpm is a MATLAB function used to design finite impulse response FIR filters by applying the Parks–McClellan (Remez exchange) algorithm. The function seeks a linear-phase FIR filter whose frequency response best approximates a user-specified target response in the minimax sense, producing equiripple behavior in the realized error across defined frequency bands. This makes firpm a popular tool for creating low-pass, high-pass, band-pass, and band-stop filters with well-controlled passband and stopband ripples.
The design problem solved by firpm is framed in terms of an order, a frequency specification, and
Output of firpm is the filter coefficient vector b, suitable for use in convolution with signals. The