control.matlab.append
- control.matlab.append(sys1, sys2[, ..., sysn])[source]
Group LTI state space models by appending their inputs and outputs.
Forms an augmented system model, and appends the inputs and outputs together.
- Parameters
sys1 (scalar, array, or
StateSpace
) – I/O systems to combine.sys2 (scalar, array, or
StateSpace
) – I/O systems to combine.... (scalar, array, or
StateSpace
) – I/O systems to combine.sysn (scalar, array, or
StateSpace
) – I/O systems to combine.
- Returns
out – Combined system, with input/output vectors consisting of all input/output vectors appended.
- Return type
StateSpace
Examples
>>> G1 = ct.rss(3) >>> G2 = ct.rss(4) >>> G = ct.append(G1, G2) >>> G.ninputs, G.noutputs, G.nstates (2, 2, 7)
>>> G1 = ct.rss(3, inputs=2, outputs=4) >>> G2 = ct.rss(4, inputs=1, outputs=4) >>> G = ct.append(G1, G2) >>> G.ninputs, G.noutputs, G.nstates (3, 8, 7)