issiso

Checks if an LTI model is single-input/single-output (SISO)

Syntax

B = issiso(SYSIN)

Inputs

SYSIN
A state-space or transfer function model.

Outputs

B
A scalar. 0 (not SISO) or 1 (SISO).

Examples

State-space model as input to the function:
A = [0 1;-5 -2];
B = [0;3];
C = [0 1];
D = 0;
sys = ss(A, B, C, D, 0.25);
issiso(sys)
ans = 1
Transfer function model as input to the function:
N1 = [1 -1];
N2 = [1];
N3 = [1 2];
N4 = [3 1 4];
N = {N1, N2; N3, N4}; 
D = [1 1 10]; 
H = tf(N, D);
issiso(H)
ans = 0

Comments

issiso(SYS) checks if an LTI model is single-input/single-output (SISO).