Command Reference : Function Reference : Function Reference: E
  
 
@eneq
Element by element inequality comparison of two data objects.
Syntax: @eneq(m1,m2)
m1: numeric or alphanumeric object
m2: numeric or alphanumeric object
Return: vector or matrix object
Returns the element by element test of inequality between two data objects. 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
Let X and Y be binary matrices. Then
= @eneq(X, Y)
returns an binary matrix that indicates where X and Y do not match (on 0 or on 1).
Cross-references
See also @eisna, @ege, @egt, @ele, and @elt.
See also @eeq, @eeqna, and @eneqna.