drss (Control Design and Simulation Module, MathScript Function)

LabView Control Design MathScript Functions

drss (Control Design and Simulation Module, MathScript Function)

Member of the construct class.

Syntax

SysOutSS = drss(n)

SysOutSS = drss(n, r)

SysOutSS = drss(n, r, m)

Description

Generates a discrete random linear time-invariant (LTI) system model in state-space form. The model is of an order you specify and has a sampling time of one second. You also can specify the number of inputs and outputs of the model.

Examples

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 SysOutSS model. The default value is 1. r is an integer scalar.
m Specifies the number of inputs to the SysOutSS model. The default value is 1. m is an integer scalar.

Outputs

Name Description
SysOutSS Returns an n-th-order discrete LTI model in state-space form. This model has n states, r outputs, and m inputs. The sampling time of this model is one second. You can use the d2d function to resample this model.

Examples

SysOutSS = drss(4, 3, 2)

Related Topics

rss
ss
ssdata