FUNCTION REFERENCE
bitxor
Bitwise exclusive OR.
Bitwise exclusive OR.
Syntax
c = bitxor(a, b)Elementwise XOR of nonnegative integers up to flintmax (2^53); one input may
be a scalar.
Example
bitxor(12, 10) % 6Integer arrays use their stored class and retain exact 64-bit values; scalar expansion is supported.
Differences from MATLAB: Typed integer inputs use the two-input form; assumed-type options apply to double inputs.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.