Dataset length: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Jeremy
m (Dataset/length moved to Dataset length over redirect)
imported>Jeremy
No edit summary
 
Line 2: Line 2:
Returns the length of the data field in a DataSet object.
Returns the length of the data field in a DataSet object.
===Synopsis===
===Synopsis===
l = length(x);
:l = length(x);
===Description===
===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.
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===
===See Also===
[[dataset/end]], [[dataset/isempty]], [[dataset/size]], [[dataset/subsref]], [[dataset/ndims]]
[[dataset_end]], [[dataset_isempty]], [[dataset_size]], [[dataset_subsref]], [[dataset_ndims]]

Latest revision as of 16:05, 8 October 2008

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