Member of the comparison class.
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. |
A = [134, 45, 232]
B = [453, 32, 134]
C = gt(A, B)