Download System Identification Toolbox User`s Guide

Transcript
th2tf
Purpose
th2tf
Syntax
[num,den] = th2tf(th)
[num,den] = th2tf(th,iu)
Description
th is a model given in the theta format. num is a matrix whose row number k gives
the numerator polynomial associated with the transfer function from input
number iu to output number k. den is a row vector giving the (common)
denominator polynomial for these transfer functions. The default value of iu is 1.
Transform a model to transfer function form.
The formats of num and den are the same as those used by the Signal Processing
Toolbox and the Control Systems Toolbox, both for continuous-time and
discrete-time models. See “Examining Models” on page 3-40.
To obtain the transfer function from noise source number k, enter iu = –k.
Examples
For a continuous-time model
num = [1 2]
den = [1 3 0]
corresponds to the transfer function
s+2
G ( s ) = ----------------2
s + 3s
For a discrete-time model
num = [2 4 0]
den = [1 2 3 5]
corresponds to the transfer function
2
2z + 4z
H ( z ) = ----------------------------------------3
2
z + 2z + 3z + 5
which is the same as
–1
–2
2q + 4q
H ( q ) = -------------------------------------------------------–1
–2
–3
1 + 2q + 3q + 5q
See Also
th2poly
4-115