FUNCTION REFERENCE
kaiserord
Estimate the Kaiser-window FIR order for given band edges and ripples.
Estimate the Kaiser-window FIR order for given band edges and ripples.
Syntax
[n, Wn, beta, ftype] = kaiserord(f, a, dev)Syntax
[n, Wn, beta, ftype] = kaiserord(f, a, dev, fs)Syntax
c = kaiserord(f, a, dev, fs, 'cell')Uses Kaiser's formulas from the smallest deviation and the narrowest transition. Wn is the middle of each transition (normalized), ftype the fir1 band type. Pass the results to fir1(n, Wn, ftype, kaiser(n+1, beta), 'noscale').
Example
[n, Wn, beta, ftype] = kaiserord([1000 1500], [1 0], [0.05 0.01], 8000);Differences from MATLAB: none known. For highpass and bandstop an odd n needs n = n + rem(n, 2) before fir1.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.