eq
Equality comparison, equivalent to the == operator.
Syntax
eq(a, b)
Inputs
- a, b
- Type: double | char | logical | struct | cell | integer
Outputs
- R
- Numerical representation of true or false (1 or 0).
Examples
eq(5,5)
R = 1
eq([2,4],[2,3])
R = [Matrix] 1 x 2
1 0