わたしにはできる。
A=[1 0;1 0];
B=[1 1;0 0];
xor(A,B)
ans =
0 1
1 0
しかし、これを試してみると...
XOR(A,B)
??? Undefined function or method 'XOR' for input arguments of type 'double'.
違いを見ます。問題を解決するには、キャップを外したままにします。
ドキュメントで使用されている MathWorks の規則が原因で、あいまいさが生じると思います。ヘルプで関数の名前を表示するときは、すべて大文字を使用します。たとえば、xor のヘルプは次のとおりです。
>> help xor
XOR Logical EXCLUSIVE OR.
XOR(S,T) is the logical symmetric difference of elements S and T.
The result is logical 1 (TRUE) where either S or T, but not both, is
nonzero. The result is logical 0 (FALSE) where S and T are both zero
or nonzero. S and T must have the same dimensions (or one can be a
scalar).
それでも、関数を使用する場合は、関数名に小文字を使用します。