Transform a model to transfer function form.
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.
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 in the User's Guide.
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

For a discrete-time model
num = [2 4 0]
den = [1 2 3 5]
corresponds to the transfer function

which is the same as

See Also
th2poly
[ Previous | Help Desk | Next ]