%NDIMS   Number of dimensions.
%   N = NDIMS(X) returns the number of dimensions in the array X.
%   The number of dimensions in an array is always greater than
%   or equal to 2.  Trailing singleton dimensions are ignored.
%   Put simply, it is LENGTH(SIZE(X)).
%
%   For Java arrays and Java arrays of arrays, NDIMS always returns 2.
%
%   See also SIZE.

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.9 $  $Date: 2000/06/01 16:46:51 $
%   Built-in function.
