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

iir_maxflat (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info
Download Help (Windows Only)

Owning Class: filter design

Requires: MathScript RT Module


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

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

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

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

Legacy Name: maxflat


Designs a maximally flat (generalized Butterworth) digital filter.



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.


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.


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


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

Related Topics



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