Member of the comparison class.
c = isequal(a, b, ...)
Determines whether two or more matrices contain the same numerical content. The data types do not have to be the same. isequal does not consider values of NaN to be equal to each other. You can specify an unlimited number of inputs. All inputs must have the same size.
| Name | Description |
| a | Specifies the first scalar, vector, or matrix. |
| b | Specifies the second scalar, vector, or matrix. |
| Name | Description |
| c | Returns 1 if a and b contain the same numerical content. Otherwise, this function returns 0. c is a Boolean. |
A = [1, 2, 3; nan, inf, 4]
B = A
C = isequal(A, B)