Determine whether real-world values of two `fi`

objects
are equal

`c = eq(a,b)`

a == b

`c = eq(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.

Was this topic helpful?