ndims function

MATLAB ndims function