| Function Reference | ![]() |
Series connection of two LTI models
Syntax
Description
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.series
sys = series(sys1,sys2)
forms the basic series connection shown below.

This command is equivalent to the direct multiplication
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.
Example
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.
See Also
append Append LTI systems
feedback Feedback connection
parallel Parallel connection
| rss | set | ![]() |