series

Series connection of two models.

Syntax

  • sys = series(sys1, sys2)

  • sys = series(sys1, sys2, outputs1, inputs2)

Input argument

  • sys1, sys2 - LTI models.

  • outputs1 - index vectors

  • inputs2 - index vectors

Output argument

  • sys - LTI model.

Description

series function links two model objects in a sequential manner.

It is versatile and can accept various types of models.

However, for successful connection, both systems must share the same nature, being either continuous or discrete, and must have identical sample times.

Static gains are treated as neutral and can be defined using regular matrices.

Example

[A, B, C, D] = ord2(1, 3);
sys1 = ss(A, B, C, D);
[A, B, C, D] = ord2(3, 6);
sys2 = ss(A, B, C, D)
outputs1 = 1;
inputs2 = 1;
sys = series(sys1, sys2, outputs1, inputs2)

See also

feedback, append.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated