drandtf (MathScript RT Module Function)
- Updated2023-03-14
- 1 minute(s) read
drandtf (MathScript RT Module Function)
Owning Class: construct
Requires: Control Design and Simulation Module and MathScript RT Module
Syntax
SysOutTF = drandtf(i, j, k, Ts)
Legacy Name: drtf
Description
Generates a discrete random system model in transfer function form.
Inputs
| Name | Description |
|---|---|
| i | Specifies the order of the model. The default value is 2. |
| j | Specifies the number of model outputs. The default value is 1. |
| k | Specifies the number of model inputs. The default value is 1. |
| Ts | Specifies the sampling time of the model, in seconds. The default value is 1. |
Outputs
| Name | Description |
|---|---|
| SysOutTF | Returns a randomly generated discrete i-th-order system model in transfer function form. This model has j outputs, k inputs, and a sampling time of Ts. |
Details
The following table lists the support characteristics of this function.
| Supported in the LabVIEW Run-Time Engine | Yes |
| Supported on RT targets | Yes |
| Suitable for bounded execution times on RT | Not characterized |
Examples
i = 1;
j = 2;
SysOutTF = drandtf(i, j);