append {control} | R Documentation |
Append the dynamics of a set of systems
Description
append
appends the dynamics of a set of n-state-space systems together
Usage
append(...)
Arguments
... |
Variable argument for LTI system models of tf, ss or zpk class |
Details
append(sys1, sys2, sys3,...sysN)
first combines the the first two systems and then
goes on to combine the resulting state-space system to the next system and so forth.
This is achieved by calling the sysgroup(sys1, sys2)
at each iteration to group
the systems in consecutive pairs until all systems are
completely appended to form one system.
sysgroup(sys1, sys2)
appends only two systems and is used by append
If a system is not in state-space representation, the function tries to form a state-space representation for such system.
Value
The function returns a state-space model of the formed appended system with A, B, C, D matrices
See Also
series
parallel
feedback
connect
Examples
sys1 <- ss(1,2,3,4)
sys2 <- ss(2,3,4,5)
sys3 <- ss(6,7,8,9)
append(sys1, sys2, sys3)
sys4 <- tf(1, c(1,2,5))
append(sys1, sys2, sys4)