![]() | Download Help (Windows Only) |
Owning Class: filter design
Requires: MathScript RT Module
[n, wn] = iir_butterord(wp, ws, dbp, dbs)
[n, wn] = iir_butterord(wp, ws, dbp, dbs, domain)
Legacy Name: buttord
Returns the order and natural frequency of the lowest order Butterworth 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. | ||||
domain | Specifies whether the output filter is digital or analog. domain is a string that accepts the following values:
|
Name | Description |
---|---|
n | Returns the filter order. |
wn | Returns the natural frequency, or 3 dB frequency, of the filter. |
The following table lists the support characteristics of this function.
Supported in the LabVIEW Run-Time Engine | Yes |
Supported on RT targets | Yes |
Suitable for bounded execution times on RT | Not characterized |
% bandstop specification
WP = [0.1, 0.6];
WS = [0.3, 0.5];
DBP = 0.6;
DBS = 10;
[N, WN] = iir_butterord(WP, WS, DBP, DBS)
Helpful
Not Helpful