Member of the filter design class.
[n, w, b, t] = kaiserord(f, a, d)
[n, w, b, t] = kaiserord(f, a, d, fs)
Estimates the order of a Kaiser window.
| Name | Description |
| f | Specifies the band edge frequencies. The length of f is twice the length of a minus 2. f is a vector in ascending order between 0 and fs/2. |
| a | Specifies the desired amplitude of the FIR filter. a is a vector of zeros and ones. |
| d | Specifies the allowable ripples for each band. d is a vector. length(d) must equal length(a). |
| fs | Specifies the sampling frequency. The default value is 2. |
| Name | Description |
| n | Returns the approximate order. |
| w | Returns the normalized frequency band edges. |
| b | Returns the Kaiser window parameter, beta. |
| t | Returns the type of the FIR filter. |
f = [1500, 1700, 2000, 2100, 2300, 3000];
a = [1, 0, 1, 0];
d = [0.01, 0.1, 0.01, 0.1];
fs = 10000;
[n, w, b, t] = kaiserord(f, a, d, fs)