%% Concatenate SISO Zero-Pole-Gain models into a MIMO Zero-Pole-Gain Model
% In this example, you create a MIMO zero-pole-gain model by concatenating SISO zero-pole-gain models. Consider the following single-input, two-output continuous-time zero-pole-gain model:
% sys(s) = \left[\begin{array}{c}
% \frac{(s-1)}{(s+1)}\\
% \frac{(s+2)}{(s+2+i)(s+2-i)}\\
% \end{array} \right].
% Specify the MIMO zero-pole-gain model by concatenating the SISO entries.

zeros1 = 1;
poles1 = -1;
gain = 1;
sys1 = zpk(zeros1,poles1,gain)
zeros2 = -2;
poles2 = [-2+1i -2-1i];
sys2 = zpk(zeros2,poles2,gain)
sys = [sys1;sys2]

% Copyright 2020 The MathWorks, Inc.