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

maxflat (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

[b, a] = maxflat(m, n, w)

[b, a] = maxflat(m, 'sym', w)

[b, a, b1, b2] = maxflat(m, n, w)

[b, a, b1, b2] = maxflat(m, 'sym', w)

Description

Designs a maximally flat (generalized Butterworth) digital filter.

Examples

Inputs

Name Description
m Specifies the order of the numerator. m is a positive integer.
n Specifies the order of the denominator. n is a positive integer.
w Specifies the cutoff frequency. w is a real number between 0 and 1.
'sym' Specifies a symmetric FIR Butterworth filter. If you specify 'sym', m must be an even number.

Outputs

Name Description
b Returns the numerator of the filter under design. b is the forward filter coefficient of order m. b is a real vector.
a Returns the denominator of the filter under design. a is the backward filter coefficient of order n. a is a real vector.
b1 Contains all the zeros at -1. b = conv(b1, b2).
b2 Contains all the other zeros.

Examples

m = 8;
n = 6;
w = 0.6;
[b, a, b1, b2] = maxflat(m, n, w)

Related Topics

butter
buttord


Resources


 

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