ss2mss

Static method of mss.

Convert a MATLAB ss/dss model into an equivalent explicit MTI (mss) model.

Source: src/model/@mss/ss2mss.m

Overview

ss2mss converts a linear time-invariant state-space model

Eδx=Ax+Bu, E \ \delta x=Ax+Bu,

y=Cx+Du, y=Cx+Du,

represented as a MATLAB ss or dss object into an equivalent explicit multilinear state-space (mss) model.

For descriptor systems (dss objects), the descriptor matrix E must be nonsingular. The function first converts the system into explicit form,

δx=E1Ax+E1Bu, \delta x = E^{-1}Ax + E^{-1}Bu,

and then constructs the corresponding multilinear state-space model using a CPN tensor representation.

The generated mss object preserves the state, input, and output names from the original linear model.

Input Arguments

lsys

Linear time-invariant state-space model.

tensorType

Tensor representation used internally.

Currently, only the following value is supported:

Output Arguments

msys

Explicit multilinear state-space model.

Syntax

msys = mss.ss2mss(lsys)
msys = mss.ss2mss(lsys,"CPNTensor")

Convert a standard state-space model

A = [0 1;
    -2 -3];
B = [0;
     1];
C = [1 0];
D = 0;

sys = ss(A,B,C,D);

msys = mss.ss2mss(sys);

Convert a descriptor system

E = [2 0;
     0 1];

A = [0 1;
    -2 -3];

B = [0;
     1];

C = [1 0];
D = 0;

sys = dss(A,B,C,D,E);

msys = mss.ss2mss(sys);

See Also


MyToolbox Documentation | Generated automatically by CI/CD pipeline