| Control System Toolbox™ | ![]() |
Series connection of two LTI models
series
sys = series(sys1,sys2)
sys = series(sys1,sys2,outputs1,inputs2)
series connects two LTI models in series. This function accepts any type of LTI model. The two systems must be either both continuous or both discrete with identical sample time. Static gains are neutral and can be specified as regular matrices.
sys = series(sys1,sys2) forms the basic series connection shown below.

This command is equivalent to the direct multiplication
sys = sys2 * sys1
See Multiplication for details on multiplication of LTI models.
sys = series(sys1,sys2,outputs1,inputs2) forms the more general series connection.

The index vectors outputs1 and inputs2 indicate which outputs
of sys1 and
which inputs
of sys2 should
be connected. The resulting model sys has
as input and
as output.
Consider a state-space system sys1 with five inputs and four outputs and another system sys2 with two inputs and three outputs. Connect the two systems in series by connecting outputs 2 and 4 of sys1 with inputs 1 and 2 of sys2.
outputs1 = [2 4]; inputs2 = [1 2]; sys = series(sys1,sys2,outputs1,inputs2)
![]() | rss | set | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |