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