tfdata (Control Design and Simulation Module, MathScript Function)

LabView Control Design MathScript Functions

tfdata (Control Design and Simulation Module, MathScript Function)

Member of the info class.

Syntax

[num, den, Ts] = tfdata(SysInTF)

[num, den, Ts] = tfdata(SysInTF, iy, iu)

[num, den, delay, Ts] = tfdata(SysInTF)

[num, den, delay, Ts] = tfdata(SysInTF, iy, iu)

Description

Returns information about a transfer function system model.

Examples

Inputs

Name Description
SysInTF Specifies a linear time-invariant (LTI) system model in transfer function form.
iy Specifies the index number of a model output. The default value is 1. iy is an integer scalar.
iu Specifies the index number of a model input. iu is an integer scalar.

Outputs

Name Description
num Returns the coefficients of the numerator polynomial function, in descending order. num either is a real scalar or a real vector, depending on the number of coefficients.
den Returns the coefficients of the denominator polynomial function, in descending order. den either is a real scalar or a real vector, depending on the number of coefficients.
delay Returns the total delay present in the SysInTF model, in seconds.
Ts Returns the sampling time of the SysInTF model. If the value of Ts is 0, the SysInTF model is continuous. Otherwise, the model is discrete.

Examples

num1 = 1num2 = 2
den1 = [1, 1]
den2 = [1, -1]
r = 1
m = 2
SysInTF = tf(num1, num2, den1, den2, [r, m])
[num2, den2] = tfdata(SysInTF, 1, 2)

Related Topics

tf