%% Mass-Spring-Damper Sparse Second-Order Model
% For this example, consider sparseSOSignal.mat which contains the mass, stiffness, and damping sparse matrices.
% Load the sparse matrices from sparseSOSignal.mat and create the sparse second-order model object.

load('sparseSOModel.mat','M','C','K');
sys = mechss(M,C,K);

% mechss creates the model object sys with the following assumptions:
% Identity matrices for B and F with the same size as mass matrix M.
% Zero matrices for G and D.
% Copyright 2020 The MathWorks, Inc.