Main Content
eq, ==
Determine whether real-world values are equal
Description
A == B
returns a logical array with elements set to logical
1
(true
) where the real-world values of arrays
A
and B
are equal, when A
or
B
is a fi
object. Otherwise, the element is
logical 0
(false
). The test compares both real and
imaginary parts of numeric arrays.
In relational operations comparing a floating-point value to a fixed-point value, the
floating-point value is cast to a fixed-point type that preserves the relative
order of the value with respect to the value in the fixed-point
fi
object.