minus1 (MathScript RT Module Function)
- Updated2023-03-14
- 1 minute(s) read
minus1 (MathScript RT Module Function)
Owning Class: cdops
Requires: Control Design and Simulation Module and MathScript RT Module
Syntax
SysOut = minus1(SysIn)
Description
Computes the unary minus of the input element.
Inputs
| Name | Description |
|---|---|
| SysIn | Specifies a scalar, a matrix, or a linear time-invariant (LTI) model in transfer function, zero-pole-gain, or state-space form. |
Outputs
| Name | Description |
|---|---|
| SysOut | Returns -SysIn. SysOut is of the same data type as SysIn. |
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
SysIn = randss(2, 1, 1)
SysOut = minus1(SysIn)