control.matlab.rss

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

Create a stable continuous random state space object.

Parameters
  • states (int) – Number of state variables

  • inputs (int) – Number of system inputs

  • outputs (int) – Number of system outputs

  • strictly_proper (bool, optional) – If set to ‘True’, returns a proper system (no direct term).

Returns

sys – The randomly created linear system

Return type

StateSpace

Raises

ValueError – if any input is not a positive integer

See also

drss

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 negative real part.