Function File: sys = dss (sys)
Function File: sys = dss (d, …)
Function File: sys = dss (a, b, c, d, e, …)
Function File: sys = dss (a, b, c, d, e, tsam, …)

Create or convert to descriptor state-space model.

Inputs

sys

LTI model to be converted to state-space.

a

State matrix (n-by-n).

b

Input matrix (n-by-m).

c

Output matrix (p-by-n).

d

Feedthrough matrix (p-by-m).

e

Descriptor matrix (n-by-n).

tsam

Sampling time in seconds. If tsam is not specified, a continuous-time model is assumed.

Optional pairs of properties and values. Type set (dss) for more information.

Outputs

sys

Descriptor state-space model.

Option Keys and Values

’a’, ’b’, ’c’, ’d’, ’e’

State-space matrices. See ’Inputs’ for details.

’stname’

The name of the states in sys. Cell vector containing strings for each state. Default names are {'x1', 'x2', ...}

’scaled’

Logical. If set to true, no automatic scaling is used, e.g. for frequency response plots.

’tsam’

Sampling time. See ’Inputs’ for details.

’inname’

The name of the input channels in sys. Cell vector of length m containing strings. Default names are {'u1', 'u2', ...}

’outname’

The name of the output channels in sys. Cell vector of length p containing strings. Default names are {'y1', 'y2', ...}

’ingroup’

Struct with input group names as field names and vectors of input indices as field values. Default is an empty struct.

’outgroup’

Struct with output group names as field names and vectors of output indices as field values. Default is an empty struct.

’name’

String containing the name of the model.

’notes’

String or cell of string containing comments.

’userdata’

Any data type.

Equations

  .
E x = A x + B u
  y = C x + D u

See also: ss, tf.

Package: control