ml_soss_lti2struct

Maps given input to a second-order system struct.

Contents

Syntax

[sys, opts, ioformat] = ml_soss_lti2struct(M, E, K, Bu, Cp, Cv, D)
[sys, opts, ioformat] = ml_soss_lti2struct(M, E, K, Bu, Cp, Cv, D, opts)
[sys, opts, ioformat] = ml_soss_lti2struct(sys)
[sys, opts, ioformat] = ml_soss_lti2struct(sys, opts)

Description

This function gets the possible inputs of the model order reduction methods, checks the system matrices and returns structs for the system and the options in the right format

   M*x''(t) = -K*x(t) -  E*x'(t) + Bu*u(t)                         (1)
       y(t) = Cp*x(t) + Cv*x'(t) +  D*u(t)                         (2)

Also, the input format is returned as an integer.

Input

Entry
Meaning
M
matrix from (1) with dimensions n x n
E
matrix from (1) with dimensions n x n
K
matrix from (1) with dimensions n x n
Bu
matrix from (1) with dimensions n x m
Cp
matrix from (2) with dimensions p x n
Cv
matrix from (2) with dimensions p x n
D
matrix from (2) with dimensions p x m

Output

Entry
Meaning
M
matrix from (1) with dimensions n x n
E
matrix from (1) with dimensions n x n
K
matrix from (1) with dimensions n x n
Bu
matrix from (1) with dimensions n x m
Cp
matrix from (2) with dimensions p x n
Cv
matrix from (2) with dimensions p x n
D
matrix from (2) with dimensions p x m

See Also

ml_ss_lti2struct | ml_dss_lti2struct