Dataset length

From Eigenvector Research Documentation Wiki
Revision as of 14: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 length of the data field in a DataSet object.

Synopsis

l = length(x);

Description

Returns the length of a DataSet .data field. It is equivalent to MAX(SIZE(X)) for non-empty arrays and 0 for empty ones. See built-in Matlab function LENGTH for more information.

See Also

dataset/end, dataset/isempty, dataset/size, dataset/subsref, dataset/ndims