xor
Element-wise logical XOR (exclusive or).
Syntax
Section titled “Syntax”C = xor(A, B)Description
Section titled “Description”Returns true where exactly one of A and B is true, false otherwise.
Example
Section titled “Example”xor([1 0 1], [1 1 0]) % [0 1 1]