ne
Element-wise inequality test (function form of ~=).
Syntax
Section titled “Syntax”C = ne(A, B)Description
Section titled “Description”Returns ~eq(A, B) — the elementwise logical complement of eq.
Example
Section titled “Example”ne([1 2 3], [1 0 3]) % [0 1 0]