equal
Test if two values are equal.
y=equal(a,b)
Inputs
a Any variable.
b Any variable.
Outputs
y A scalar boolean value which is true if the inputs are equal to each other and false otherwise.


Description
If the inputs are of the same size and type, equal(a, b) is equivalent to all(a==b) . If the operator == cannot be applied to the inputs, equal returns false .