%% Continuous-Time Sparse First-Order Model
% For this example, consider sparseFOContinuous.mat which contains sparse matrices for a continuous-time sparse first-order state-space model.
% Extract the sparse matrices from sparseFOContinuous.mat.

load('sparseFOContinuous.mat','A','B','C','D','E');

% Create the sparss model object.

sys = sparss(A,B,C,D,E)

% The output sys is a continuous-time sparss model object containing with 199 states, 1 input and 1 output.
% You can use the spy command to visualize the sparsity of the sparss model object.

spy(sys)

% Copyright 2020 The MathWorks, Inc.