Determine whether real-world value of one fi object is greater than another


c = gt(a,b)
a > b


c = gt(a,b) is called for the syntax a > b when a or b is a fi object. a and b must have the same dimensions unless one is a scalar. A scalar can be compared with another object of any size.

a > b does an element-by-element comparison between a and b and returns a matrix of the same size with elements set to 1 where the relation is true, and 0 where the relation is false.

See Also

| | | |

Was this topic helpful?