xor
Exclusive or.
📝Syntax
R = xor(V1, V2)
R = xor(V1, V2, ... , VN)
📥Input Arguments
Parameter Description
V1 a matrix.
V2 a matrix, same dimensions than V1.
VN a matrix, same dimensions than V1.
📤Output Arguments
Parameter Description
R a logical matrix.
📄Description

xor performs a logical exclusive-OR.

💡Examples
x = [0 1 0 1];
y = [0 0 1 1];
R = xor(x, y)
🔗See Also
orand
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub