neElement-wise comparison (not equal) of arrays
ne(A, B)A and B should have compatible sizes.1 if the corresponding element of A is not equal to the corresponding element of B, and is assigned logical 0 if otherwise.A or B is complex, it compares both real and imaginary parts.A != B and A~=B.