rss (Control Design and Simulation Module, MathScript Function)
Member of the construct class.
Syntax
SysOutSS = rss(n)
SysOutSS = rss(n, r)
SysOutSS = rss(n, r, m)
Description
Generates a continuous random linear time-invariant (LTI) system model in state-space form. The model is of an order you specify. You also can specify the number of inputs and outputs of the model.
Inputs
Name | Description |
n | Specifies the order of the state matrix A of the SysOutSS model. n is the number of states and the dimensions of A. n is an integer scalar. |
r | Specifies the number of outputs from the resulting state-space model. The default value is 1. r is an integer scalar. |
m | Specifies the number of inputs to the resulting state-space model. The default value is 1. m is an integer scalar. |
Outputs
Name | Description |
SysOutSS | Returns an n-th-order continuous LTI model in state-space form. This model has n states, r outputs, and m inputs. |
Examples
n = 4m = 2
r = 3
SysOutSS = rss(n, r, m)