| Control System Toolbox | Search  Help Desk |
| series | Examples See Also |
Series connection of two LTI models
Syntax
sys = series(sys1,sys2) sys = series(sys1,sys2,outputs1,inputs2)
Description
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.
sys = sys2 * sys1See "Multiplication" in the manual for details on multiplication of LTI models.
sys = series(sys1,sys2,outputs1,inputs2)
forms the more general series connection.
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 systemsys1 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,outputs2,inputs1)
See Also
append Append LTI systems
feedback Feedback connection
parallel Parallel connection