Main Content

Access second-order sparse state-space model data

`[`

returns the `M`

,`C`

,`K`

,`B`

,`F`

,`G`

,`D`

] = mechssdata(`sys`

)`M`

, `C`

, `K`

,
`B`

, `F`

, `G`

and
`D`

matrices of the sparse state-space model `sys`

.
If `sys`

is not a `mechss`

model,
it is first converted to `mechss`

model form.

When your system has internal delays, `mechssdata`

returns the matrices
for `pade(sys,0)`

, which involves feedback loops around the interval delays
and the model is retained in differential algebraic equation (DAE). As a result, the size of
matrices `M`

, `C`

, and `K`

are
typically larger than the order of `sys`

since they are augmented by the
feedback signals to preserve sparsity.