Download Help (Windows Only) |
Owning Class: comparison
Requires: MathScript RT Module
c = gt(a, b)
Determines whether elements of one matrix are greater than corresponding elements of another matrix. gt(a, b) is equivalent to a>b.
Name | Description |
---|---|
a | Specifies the first scalar, vector, or matrix. |
b | Specifies the second scalar, vector, or matrix. b is the same size as a unless a or b is a scalar. |
Name | Description |
---|---|
c | Returns a matrix of Boolean values. An element in c is 1 if an element in a is greater than the corresponding element in b. Otherwise, the element is 0. c is a matrix of the same size as the larger of a and 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 = [134, 45, 232]
B = [453, 32, 134]
C = gt(A, B)