Command Reference : Matrix Language Reference
  
 
@eneq
Element inequality comparison of two matrices.
Syntax: @eneq(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. 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.
Examples
matrix m3 = @eneq(m1, m2)
Cross-references
See also @eeq, @eeqna, and @eneqna.