Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

iir_butterord (MathScript RT Module Function)

LabVIEW 2011 MathScript RT Module Help

Edition Date: June 2011

Part Number: 373123B-01

»View Product Info

Owning Class: filter design

Requires: MathScript RT Module

Syntax

[n, wn] = iir_butterord(wp, ws, dbp, dbs)

[n, wn] = iir_butterord(wp, ws, dbp, dbs, domain)

Legacy Name: buttord

Description

Returns the order and natural frequency of the lowest order Butterworth filter with a given specification.

Examples

Inputs

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:

'z' (default) Returns the order and frequency of a digital filter.
's' Returns the order and frequency of an analog filter.

Outputs

Name Description
n Returns the filter order.
wn Returns the natural frequency, or 3 dB frequency, of the filter.

Details

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

Examples

% 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)

Related Topics

iir_butter


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit