parallel

Connects two state-space or transfer functions in parallel.

Syntax

SYS = parallel(SYS1, SYS2)

SYS = parallel(SYS1, SYS2, VIN1, VIN2, VOUT1, VOUT2)

Inputs

SYS1
A state-space or transfer function model.
SYS2
A state-space or transfer function model.
VIN1
A vector indicating which inputs of SYS1 to connect.
VIN2
A vector indicating which inputs of SYS2 to connect.
VOUT1
A vector indicating which outputs of SYS1 to connect.
VOUT2
A vector indicating which outputs of SYS2 to connect.

Outputs

SYS
A state-space or transfer function model.

Example

Transfer function model inputs:
H1 = tf(2,[1 3 0]);
H2 = tf(1,[8 2 1]); 
HR = parallel(H1, H2)
Transfer function for input 1, output 1
 
                17 s^2 + 7 s + 2
          ----------------------------
          8 s^4 + 26 s^3 + 7 s^2 + 3 s
State-space model inputs:
sys1 = ss(eye(3,3));
sys2 = ss(eye(3,3));
sysr = parallel(sys1, sys2)
sysr = object [
Scaled: 0
TimeUnit: seconds
ts: -2
a: [Matrix] 0 x 0
b: [Matrix] 0 x 0
c: [Matrix] 0 x 0
d: [Matrix] 3 x 3
2  0  0
0  2  0
0  0  2
e: [Matrix] 0 x 0
type: StateSpaceModel
]

Comments

Connects two state-space or transfer functions in parallel, either both continuous or both discrete with identical sampling times.