control.matlab.drss

control.matlab.drss(states=1, outputs=1, inputs=1, strictly_proper=False)

Create a stable discrete random state space object.

Parameters
  • states (integer) – Number of state variables

  • inputs (integer) – Number of system inputs

  • outputs (integer) – Number of system outputs

Returns

sys – The randomly created linear system

Return type

StateSpace

Raises

ValueError – if any input is not a positive integer

See also

rss

Notes

If the number of states, inputs, or outputs is not specified, then the missing numbers are assumed to be 1. The poles of the returned system will always have a magnitude less than 1.