%% MIMO Static Gain Sparse First-Order Model
% Create a static gain MIMO sparse first-order state-space model.
% Consider the following three-input, two-output static gain matrix:
%  D=
%   \left[ {\begin{array}{ccc}
%    1 & 5 & 7\\
%    6 & 3 & 9\\
%   \end{array} } \right]
% Specify the gain matrix and create the static gain sparse first-order state-space model.

D = [1,5,7;6,3,9];
sys = sparss(D);
size(sys)

% Copyright 2020 The MathWorks, Inc.