8.2.54.11 table.ndims

Method: out = ndims (obj)

Number of dimensions

For tables, ndims(obj) is always 2, because table arrays are always 2-D (rows-by-columns).