Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

buttord (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the filter design class.

Syntax

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

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.

Outputs

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

Examples

% bandstop specification
WP = [0.1, 0.6];
WS = [0.3, 0.5];
DBP = 0.6;
DBS = 10;
[N, WN] = buttord(WP, WS, DBP, DBS)

Related Topics

butter


Resources


 

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