Determines whether corresponding elements of two arrays are not equal. ne(a,b) is equivalent to a~=b.
Scalar or array of any dimension.
Scalar or array of any dimension. b is the same size as a unless a or b is a scalar.
Array of Boolean values. An element in c is 1 if corresponding elements of a and b are not equal. Otherwise, the element is 0. c is an array of the same size as the larger of a and b.