%LOGICAL Convert numeric values of gpuArray to logical
%   L = LOGICAL(X)
%   
%   Example:
%    
%       N = 1000;
%       Du = gpuArray.ones(N,'uint8');
%       Dl = logical(Du)
%       classDu = underlyingType(Du)
%       classDl = underlyingType(Dl)
%   
%   converts the N-by-N uint8 gpuArray Du to the
%   logical gpuArray Dl.
%   classDu is 'uint8' while classDl is 'logical'.
%   
%   See also LOGICAL, GPUARRAY, GPUARRAY/ONES.


%   Copyright 2006-2020 The MathWorks, Inc.
