parallel

Parallel connection of two LTI models

Syntax

parallel
sys = parallel(sys1,sys2)
sys = parallel(sys1,sys2,inp1,inp2,out1,out2)

Description

parallel connects two LTI models in parallel. 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 = parallel(sys1,sys2) forms the basic parallel connection shown below.

This command is equivalent to the direct addition

sys = sys1 + sys2

(See Addition and Subtraction for details on LTI system addition.)

sys = parallel(sys1,sys2,inp1,inp2,out1,out2) forms the more general parallel connection.

The index vectors inp1 and inp2 specify which inputs of sys1 and which inputs of sys2 are connected. Similarly, the index vectors out1 and out2 specify which outputs of sys1 and which outputs of sys2 are summed. The resulting model sys has as inputs and as outputs.

Example

See Kalman Filtering for an example.

See Also

append, feedback, series

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS