Create descriptor state-space models


sys = dss(A,B,C,D,E)
sys = dss(A,B,C,D,E,Ts)
sys = dss(A,B,C,D,E,ltisys)


sys = dss(A,B,C,D,E) creates the continuous-time descriptor state-space model


The output sys is an SS model storing the model data (see State-Space Models). Note that ss produces the same type of object. If the matrix D = 0, you can simply set d to the scalar 0 (zero).

sys = dss(A,B,C,D,E,Ts) creates the discrete-time descriptor model


with sample time Ts (in seconds).

sys = dss(A,B,C,D,E,ltisys) creates a descriptor model with properties inherited from the LTI model ltisys (including the sample time).

Any of the previous syntaxes can be followed by property name/property value pairs


Each pair specifies a particular LTI property of the model, for example, the input names or some notes on the model history. See set and the example below for details.


The command

sys = dss(1,2,3,4,5,'inputdelay',0.1,'inputname','voltage',...
                                            'notes','Just an example');

creates the model


with a 0.1 second input delay. The input is labeled 'voltage', and a note is attached to tell you that this is just an example.

See Also

| | |

Introduced before R2006a

Was this topic helpful?