filt (Control Design and Simulation Module, MathScript Function)

LabView Control Design MathScript Functions

filt (Control Design and Simulation Module, MathScript Function)

Member of the cdutil class.

Syntax

SysOutTF = filt(K)

SysOutTF = filt(num, den)

SysOutTF = filt(num, den, Ts)

Description

Converts a digital filter to a discrete transfer function system model. You also can use this function to create a transfer function model from a gain matrix K.

Examples

Inputs

Name Description
K Specifies the gain matrix. K is a real matrix.
num Specifies the coefficients, in descending order, of the numerator polynomial function of the digital filter. num is a real vector.
den Specifies the coefficients, in descending order, of the denominator polynomial function of the digital filter. den is a real vector.
Ts Specifies the sampling time of the discrete transfer function model this function creates. The default value is 1. Ts is a real scalar.

Outputs

Name Description
SysOutTF Returns a discrete linear time-invariant (LTI) transfer function model that has a sampling time of Ts.

Examples

num = [1, 1]den = [1, -1, 3]
Ts = 0.2
SysOutTF= filt(num, den, Ts)

Related Topics

tf