|Download Help (Windows Only)|
Owning Class: matrixops
Requires: MathScript RT Module
c = minus(a, b)
Performs element-wise subtraction.
|a||Specifies a scalar or matrix.|
|b||Specifies a scalar or matrix. If a is a matrix and b is a matrix, then b must be of the same size as a.|
|c||Returns a-b. c is a scalar or matrix.|
If a is a scalar, LabVIEW sets a to a matrix of the same size as b whose elements all equal the value you specified for a. If b is a scalar, LabVIEW sets b to a matrix of the same size as a whose elements all equal the value you specified for b.
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|
A = [1+3i, 5.6; -2.3, 8-i]
B = 3
C = minus(A, B)