series (Control Design and Simulation Module, MathScript Function)

LabView Control Design MathScript Functions

series (Control Design and Simulation Module, MathScript Function)

Member of the connect class.

Syntax

SysSer = series(SysIn_1, SysIn_2)

SysSer = series(SysIn_1, SysIn_2, outlist, inlist)

Description

Connects two system models in series to produce a model SysSer with input and output connections you specify. The input models must be either continuous models or discrete models with identical sampling times. Refer to the LabVIEW Control Design User Manual for information about connecting models together in a serial configuration.

Examples

Inputs

Name Description
SysIn_1 Specifies a linear time-invariant (LTI) model in transfer function, zero-pole-gain, or state-space form. This model is first in the series connection.
SysIn_2 Specifies an LTI model in transfer function, zero-pole-gain, or state-space form. This model is second in the series connection.
outlist Specifies the index numbers of the outputs of the SysIn_1 model to connect to the inputs of the SysIn_2 model. For example, if outlist is [1, 3] and inlist is [1, 5], SysSer connects the first output of SysIn_1 to the first input of SysIn_2 and connects the third output of SysIn_1 to the fifth input of SysIn_2. outlist is an integer vector.
inlist Specifies the index numbers of the inputs to the SysIn_2 model to connect to the outputs of the SysIn_1 model. inlist is an integer vector.

Outputs

Name Description
SysSer Returns an LTI model comprised of the SysIn_1 and SysIn_2 models connected in series. SysSer is a model in transfer function, zero-pole-gain, or state-space form. If the input models are not of the same form, the following hierarchy determines the form of the SysSer model: state-space>zero-pole-gain>transfer function. For example, if the SysIn_1 model is in state-space form and the SysIn_2 model is in zero-pole-gain form, the SysSer model is in state-space form.

Examples

SysIn_1 = tf([1, 1], [1 -1, 3])SysIn_2 = zpk([1], [1, -1], 1)
SysSer = series(SysIn_1, SysIn_2)

Related Topics

append
feedback
parallel