series
Series connection of two models
Description
forms the series interconnection of two dynamic system models by connecting the outputs of
sys
= series(sys1
,sys2
)sys1
to the inputs of sys2
, as shown in the
diagram.
This command is equivalent to the direct multiplication sys =
sys2*sys1
. For MIMO systems, the number of inputs of sys2
must equal the number of outputs of sys1
. The resulting
sys
has inputs u
and outputs y
.
forms the more general series interconnection shown in the following diagram by connecting a
subset of the outputs of sys
= series(sys1
,sys2
,out1
,in2
)sys1
to a subset of the inputs of
sys2
.
out1
is a vector specifying the indices of the outputs of
sys1
to connect. Similarly, in1
specifies the
indices of the inputs of sys2
to connect to those outputs. The
resulting sys
has inputs u
and outputs
y
. series
drops unconnected outputs
z1
of sys1
and unconnected inputs
v2
of sys2
.
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a