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 (DataMatrix)

Return number of dimensions in DataMatrix object

Syntax

N = ndims(DMObj)

Input Arguments

DMObjDataMatrix object, such as created by DataMatrix (object constructor).

Output Arguments

NPositive integer representing the number of dimensions in DMObj. The number of dimensions in a DataMatrix object is always 2.

Description

N = ndims(DMObj) returns the number of dimensions in DMObj, a DataMatrix object. The number of dimensions in a DataMatrix object is always 2.

See Also

Introduced in R2008b

Was this topic helpful?