Description Element-by-element
exclusive or of the matrices x and y.
The arguments x and y
can be logical, integer, real, double-precision or complex matrices.
The return value is a logical matrix with its corresponding
elements true if
one but not both of the corresponding elements
of x and y are true or nonzero.
Example
If you enter
x = [ 2 , 0 , 1 , 0 ]
y = [ true, true, false, false]
xor(x, y)
O-Matrix will respond
[ F , T , T , F ]