Command Reference : Matrix Language Reference
Element equality comparison of two matrices.
Syntax: @eeq(m1, m2)
m1: matrix, vector
m2: matrix, vector
Return: matrix, vector
Returns the element by element test of equality between two matrix objects or syms.
Each element of the returned matrix is equal to 1 or 0 depending on whether the corresponding element in m1 is equal to the corresponding element in m2.
Note m1 and m2 must be of identical dimensions.
matrix m3 = @eeq(m1,m2)
See also @eneq, @eeqna, and @eneqna.