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.
In relational operations comparing a floating-point value to
a fixed-point value, the floating-point value is cast to the same
word length and signedness as the fi
object, with
best-precision scaling.