Mathematica > Mathematics and Algorithms > Control Systems > Basic Modeling > SystemsModelDimensions >

SystemsModelDimensions

SystemsModelDimensions[sys]
gives the number of inputs and outputs of a StateSpaceModel or TransferFunctionModel object sys.
A transfer-function model with three inputs and two outputs:
A state-space model with three inputs and two outputs:
A transfer-function model with three inputs and two outputs:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
A state-space model with three inputs and two outputs:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Keep track of the number of inputs and outputs during model manipulations:
Count the number of inputs and outputs while connecting models:
Connect the two outputs of to the two inputs of :
The resulting system has two inputs and one output:
Merge the first input of and the second input of :
The resulting system has three inputs and three outputs:
New in 8
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF