series: Series Connection of two systems

Description Usage Arguments Details Value See Also Examples

Description

series connects two systems in the series block form below

u —>[System1]—>[System2]—-> y

Usage

1
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

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.

Value

The function returns a state-space model of the aggregate system with A, B, C, D matrices

See Also

parallel feedback connect

Examples

1
2
3
4
5
series(tf(1, c(1,2,3)), tf(2, c(2,3,5)))
sys2 = ss(1,2,3,4)
sys3 = ss(6,7,8,9)
series(sys2, sys3)
series(tf(1, c(1,2,3)), ss(1,2,3,4))

benubah/control documentation built on May 10, 2020, 1:38 a.m.