function Z = xor(X,Y)
%XOR Logical EXCLUSIVE OR for codistributed array
%   C = XOR(A,B)
%   
%   Example:
%   spmd
%       N = 1000;
%       D1 = codistributed.eye(N);
%       D2 = codistributed.rand(N);
%       D3 = xor(D1,D2)
%   end
%   
%   See also XOR, CODISTRIBUTED, CODISTRIBUTED/EYE.
%   


%   Copyright 2006-2020 The MathWorks, Inc.

Z = codistributed.pElementwiseOp(@xor,X,Y);
