series connects two systems in the series block form below
u --->[System1]--->[System2]----> y
series(sys1, sys2, outputs, inputs)
Arguments
sys1: LTI system object of tf, ss or zpk class
sys2: LTI system object of tf, ss or zpk class
outputs: vector of outputs
inputs: vector of inputs
Returns
The function returns a state-space model of the aggregate system with A, B, C, D matrices
Details
seriessys <- series(sys1, sys2) connects the two state-space systems in series such that the outputs of sys1 specified are connected to the inputs of sys2 specified by input2. If sys1 and sys2 are both transfer functions, series(systf1, systf2) produces the SISO system in transfer function form obtained by connecting the two SISO transfer function systems in series. If a system is not in state-space representation, the function tries to form a state-space representation for such system.