# iir_steigmcbride (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: modeling and prediction

Requires: MathScript RT Module

## Syntax

[b, a] = iir_steigmcbride(x, m, n)

[b, a] = iir_steigmcbride(x, m, n, t)

[b, a] = iir_steigmcbride(x, m, n, t, aa)

[b, a] = iir_steigmcbride(x, u, m, n)

[b, a] = iir_steigmcbride(x, u, m, n, t)

[b, a] = iir_steigmcbride(x, u, m, n, t, aa)

Legacy Name: `stmcb`

## Description

Uses a Steiglitz-McBride iteration to design a linear filter model.

Examples

## Inputs

Name Description
x Specifies the output of the filter. x is a vector.
u Specifies the input of the filter. u is a vector of the same length as x. If you do not specify u, LabVIEW views x as the impulse response of the filter.
m Specifies the numerator order. m is a positive integer.
n Specifies the denominator order. n is a positive integer.
t Specifies the number of iterations. t is a positive integer. The default is 5.
aa Specifies the initial value of the denominator coefficients. aa is a vector with length n. The default is prony(x, 0, n).

## Outputs

Name Description
b Returns the forward filter coefficients. b is a vector.
a Returns the backward filter coefficients. a is a vector.

## 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

b1 = rand(1, 3)
a1 = [1, rand(1, 3)]
h = impzd(b1, a1, 10);
[b2, a2] = iir_steigmcbride(h, 2, 3)