Legacy Documentation

Control System Professional (1995)

This is documentation for an obsolete product.
Current products and services

 Documentation /  Control Systems Professional /  System Interconnections /

State FeedbackUsing Interconnecting Functions for Controller Design

6.4 Manipulating a System's Contents

Subsystem and DeleteSubsystem can be used to select or delete a desired part of the system; Subsystem can also rearrange the order of inputs, outputs, or states. The system can be in either state-space or transfer function form (although manipulating state contents is possible for state-space objects only). The element specifications can be either vectors of integers corresponding to indices or the reserved words All or None.

Selecting a part of the system.

Consider a state-space system.

In[38]:=

Out[38]=

This picks the subsystem that has only the first and third inputs.

In[39]:=

Out[39]=

This swaps the second and third inputs.

In[40]:=

Out[40]=

This selects the subsystem that has all inputs, the first output, and the first and third states of the original system ss.

In[41]:=

Out[41]=

DeleteSubsystem is complementary to Subsystem and has similar syntax.

Deleting a part of the system.

Here is a transfer function of a system with two inputs and three outputs.

In[42]:=

Out[42]=

This deletes the first and third outputs, leaving all the inputs intact.

In[43]:=

Out[43]=

MergeSystems merges several systems into one by appending their inputs and outputs (and, for state-space systems, states). The result is in state-space form if at least one of the systems is in this form.

Merging several systems.

Here are two state-space systems.

In[44]:=

Out[44]=

In[45]:=

Out[45]=

This merges them into one. The aggregate has all the inputs, outputs, and states of its components.

In[46]:=

Out[46]=

Here are two transfer functions for the two-input, one-output and the one-input, two-output systems, respectively.

In[47]:=

Out[47]=

In[48]:=

Out[48]=

This merges the two transfer functions into one.

In[49]:=

Out[49]=

State FeedbackUsing Interconnecting Functions for Controller Design