Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

ndims

Class: dataset

Number of dimensions of dataset array

The dataset data type might be removed in a future release. To work with heterogeneous data, use the MATLAB® table data type instead. See MATLAB table documentation for more information.

Syntax

n = ndims(A)

Description

n = ndims(A) returns the number of dimensions in the dataset A. The number of dimensions in an array is always 2.

See Also

Was this topic helpful?