Dataset size: Difference between revisions

From EVRI Test Wiki 02192024
Jump to navigation Jump to search
imported>Jeremy
(Importing text file)
(No difference)

Revision as of 14:49, 8 October 2008

Purpose

Returns the size of the data field in a DataSet object.

Synopsis

D = size(x,dim); [M,N,...] = size(x);

Description

Returns the size of a DataSet .data field for the specified dimension dim. If dimension is not specified, sizes for all non-singleton dimensions are returned, either as multiple outputs, M, N, etc, or a single vector. Example: The following returns the number of columns in the .data field of a DataSet object, a: cols = size(a,2);

See Also

dataset/end, dataset/length, dataset/subsref, dataset/ndims