FUNCTION REFERENCE
firpmord
Estimate the equiripple (firpm) FIR order for given band edges and ripples.
Estimate the equiripple (firpm) FIR order for given band edges and ripples.
Syntax
[n, fo, ao, w] = firpmord(f, a, dev)Syntax
[n, fo, ao, w] = firpmord(f, a, dev, fs)Syntax
c = firpmord(f, a, dev, fs, 'cell')Herrmann-Lam-Rabiner estimate; multiband specifications take the largest order over adjacent band pairs. fo and ao are firpm band edges and amplitudes, w the weights max(dev)./dev. Use firpm(n, fo, ao, w).
Example
[n, fo, ao, w] = firpmord([500 600], [1 0], [0.171 0.01], 2000); % n = 22Differences from MATLAB: the estimate can miss the specification by a dB or two; raise n if the response does not meet it.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.