www.gusucode.com > bigdata 工具箱 matlab源码程序 > bigdata/@tall/isundefined.m

    function tf = isundefined(tc)
%isundefined True for elements of a tall categorical array that are undefined.
%   Supported syntaxes:
%   TF = ISUNDEFINED(A)
%
%   See also CATEGORICAL/ISUNDEFINED

%   Copyright 2016 The MathWorks, Inc.

tc = tall.validateType(tc, upper(mfilename), {'categorical'}, 1);
tf = elementfun(@isundefined, tc);
% Apply an appropriate adaptor.
adaptor = matlab.bigdata.internal.adaptors.getAdaptorForType('logical');
tf.Adaptor = copySizeInformation(adaptor, tc.Adaptor);
end