function Y = real(X)
%REAL Complex real part of codistributed array
%   Y = REAL(X)
%   
%   Example:
%   spmd
%       N = 1000;
%       D = complex(3*codistributed.ones(N),4*codistributed.ones(N))
%       E = real(D)
%   end
%   
%   See also REAL, CODISTRIBUTED.


%   Copyright 2006-2020 The MathWorks, Inc.

Y = codistributed.pElementwiseUnaryOp(@real, X);
