stmcb
Compute linear model using Steiglitz-McBride iteration
Syntax
[b,a] = stmcb(h,nb,na)
[b,a] = stmcb(y,x,nb,na)
[b,a] = stmcb(h,nb,na,niter)
[b,a] = stmcb(y,x,nb,na,niter)
[b,a] = stmcb(h,nb,na,niter,ai)
[b,a] = stmcb(y,x,nb,na,niter,ai)
Description
Steiglitz-McBride iteration is an algorithm for finding anIIR filter with a prescribed time-domain impulse response. It has applications in both filter design and system identification (parametric modeling).
[b,a] = stmcb(h,nb,na)
finds the coefficientsb
anda
of the systemb(z)/a(z) with approximate impulse responseh
, exactlynb
zeros, and exactlyna
poles.
[b,a] = stmcb(y,x,nb,na)
finds the system coefficientsb
anda
of the system that, givenx
as input, hasy
as output.x
andy
must be the same length.
[b,a] = stmcb(h,nb,na,niter)
and
[b,a] = stmcb(y,x,nb,na,niter)
useniter
iterations. The default forniter
is 5.
[b,a] = stmcb(h,nb,na,niter,ai)
and
[b,a] = stmcb(y,x,nb,na,niter,ai)
use the vectorai
as the initial estimate of the denominator coefficients. Ifai
没有指定,stmcb
uses the output argument from[b,ai] =
prony
(h,0,na)
as the vectorai
.
stmcb
returns the IIR filter coefficients in lengthnb+1
andna+1
row vectorsb
anda
. The filter coefficients are ordered in descending powers ofz.
Examples
Diagnostics
Ifx
andy
have different lengths,stmcb
produces this error message:
Input signal X and output signal Y must have the same length.
Algorithms
stmcb
attempts to minimize the squared error between the impulse responsehofb(z)/a(z) and the input signalx.
stmcb
iterates using two steps:
It prefilters
h
andx
使用1/a(z).It solves a system of linear equations for
b
anda
using \.
stmcb
repeats this processniter
times. No checking is done to see if theb
anda
coefficients have converged in fewer thanniter
iterations.
参考
[1] Steiglitz, K., and L. E. McBride. “A Technique for the Identification of Linear Systems.”IEEE®Transactions on Automatic Control. Vol. AC-10, 1965, pp. 461–464.
[2] Ljung, Lennart.System Identification: Theory for the User. 2nd Edition. Upper Saddle River, NJ: Prentice Hall, 1999, p. 354.