remove (Control Design and Simulation Module, MathScript Function)

LabView Control Design MathScript Functions

remove (Control Design and Simulation Module, MathScript Function)

Member of the reduce class.

Syntax

SysRed = remove(SysIn, i, j, k)

Description

Constructs a new system model by removing specified inputs and/or outputs from an existing model. You also can remove states from an existing state-space model.

Examples

Inputs

Name Description
SysIn Specifies a linear time-invariant (LTI) model in transfer function, zero-pole-gain, or state-space form.
i Specifies a list of model inputs to remove from the SysIn model. The default value is empty. A value of –1 specifies that you want to remove all inputs. i is a real vector.
j Specifies a list of model outputs to remove from the SysIn model. The default value is empty. A value of –1 specifies that you want to remove all outputs. j is a real vector.
k Specifies a list of model states to remove from the SysIn model. The default value is empty. A value of –1 specifies that you want to remove all states. This input is valid only if you specify a state-space model. k is a real vector.

Outputs

Name Description
SysRed Returns the SysIn model without the specified inputs and outputs. If you specified a state-space model for the SysIn input, the SysRed model also lacks the specified states.

Examples

SysIn= tf(1, 2, 3, 4, 5, 6, -1, -2, -3, -4, -5, -6, [2 3]);SysRed = remove(SysIn, [2 1], [2 1]);

Related Topics

select