Member of the filter design class.
[n, wn] = ellipord(wp, ws, dbp, dbs)
Returns the order and natural frequency of the lowest order elliptic filter with a given specification.
| Name | Description |
| wp | Specifies the passband frequency of the filter. wp is a nonnegative scalar in the interval [0, 1] or a vector of such numbers. |
| ws | Specifies the stopband frequency of the filter. ws is a nonnegative scalar in the interval [0, 1] or a vector of such numbers. |
| dbp | Specifies the decibel value of the passband. dbp is a real scalar. |
| dbs | Specifies the decibel value of the stopband attenuation. dbs is a real scalar. |
| Name | Description |
| n | Returns the filter order. |
| wn | Returns the natural frequency, or 3 dB frequency, of the filter. |
% bandstop specification
WP = [0.1, 0.6];
WS = [0.3, 0.5];
DBP = 0.6;
DBS = 10;
[N, WN] = ellipord(WP, WS, DBP, DBS)