Dataset ndims

From Eigenvector Research Documentation Wiki
Revision as of 15:49, 8 October 2008 by imported>Jeremy (Importing text file)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

Returns the number of dimensions of the data field in a DataSet object.

Synopsis

D = ndims(x);

Description

Returns the number of dimensions (i.e. modes) of a DataSet .data field. Example: The following returns the number of dimensions in the .data field of a three-way DataSet object, a: >>ndims(a) ans =

    3

See Also

dataset/size