gt
Element-wise greater-than test (function form of >).
Syntax
Section titled “Syntax”C = gt(A, B)Description
Section titled “Description”Returns a logical array where each element is true if A(i) > B(i).
Example
Section titled “Example”gt([1 2 3], 2) % [0 0 1]