%ANY    True if any element of a vector is a nonzero number or is
%   logical 1 (TRUE).  ANY ignores entries that are NaN (Not a Number).
%
%   For vectors, ANY(V) returns logical 1 (TRUE) if any of the 
%   elements of the vector is a nonzero number or is logical 1 (TRUE).
%   Otherwise it returns logical 0 (FALSE).  For matrices, ANY(X) 
%   operates on the columns of X, returning a row vector of logical 1's 
%   and 0's.  For multi-dimensional arrays, ANY(X) operates on the 
%   first non-singleton dimension.
%
%   ANY(X,'all') returns logical 1 (TRUE) if any of the elements of an 
%   array X are nonzero. Otherwise, it returns logical 0 (FALSE).  
%
%   ANY(X,DIM) operates down the dimension DIM of an array X.  For example, 
%   ANY(X,1) operates down the first dimension (the rows) of X.
%
%   ANY(X,VECDIM) operates on the dimensions specified in the vector 
%   VECDIM of an array X. For example, ANY(X,[1 2]) operates on the 
%   elements contained in the first and second dimensions of X.
%
%   See also ALL, NNZ.

%   Copyright 1984-2018 The MathWorks, Inc.
%   Built-in function.
