%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)).
%
%   See also SIZE.

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 1.6 $  $Date: 1997/11/21 23:29:15 $
%   Built-in function.
