leftdivmx (MathScript RT Module Function)
- Updated2023-03-14
- 2 minute(s) read
leftdivmx (MathScript RT Module Function)
Owning Class: cdops
Requires: Control Design and Simulation Module and MathScript RT Module
Syntax
SysOut = leftdivmx(SysIn_1, SysIn_2)
Description
Performs left matrix division. The infix notation for leftdivmx(SysIn_1, SysIn_2) is SysIn_1 \ SysIn_2.
Inputs
| Name | Description |
|---|---|
| SysIn_1 | Specifies the dividend. SysIn_1 is a scalar, a matrix, or a linear time-invariant (LTI) model in transfer function, zero-pole-gain, or state-space form. |
| SysIn_2 | Specifies the divisor. SysIn_2 is a scalar, a matrix, or an LTI model in transfer function, zero-pole-gain, or state-space form. If SysIn_1 is a matrix and SysIn_2 is a matrix, then SysIn_2 must be of the same size as SysIn_1. |
Outputs
| Name | Description |
|---|---|
| SysOut | Returns the solution to SysOut = SysIn_2 \ SysIn_1. If both SysIn_1 and SysIn_2 are scalars, SysOut is a scalar. If one or both of SysIn_1 or SysIn_2 is an LTI model, SysOut is an LTI model. Otherwise, SysOut is a matrix. |
Details
If SysOut is an LTI model, the form of this model is determined by the form of the input LTI model(s). If the input models are not of the same form, the following hierarchy determines the form of the SysOut model: state-space>zero-pole-gain>transfer function. For example, if the SysIn_1 model is in state-space form and the SysIn_2 model is in zero-pole-gain form, the SysOut model is in state-space form.
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
Sys1 = randtf(1, 1)
Sys2 = randss(2, 1, 1)
SysOut = leftdivmx(Sys1, Sys2)