DataSet Object Methods

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search

In addition to the specific methods listed below, a number of standard MATLAB functions are overloaded for DataSet objects but otherwise work as documented for standard data types. The following methods operate on the underlying data field of a DataSet object only and have no effect on any other fields:

minus (-)
plus (+)
times (.*)
rdivide (./)
ldivide (.\)
double
single

To get help on any DataSet object method, use the command: help dataset/method where method is the name of the method for which you want help.

Methods Defined or Overloaded for DataSet Objects

cat - Generic concatenation of DataSet objects.
delsamps - Deletes or excludes the specified samples, rows, or other dimension from a DataSet object.
disp - Display summary of DataSet object contents.
explode - Extract all variables from a DataSet object.
get - Get field/property values from a DataSet object.
horzcat - Horizontal concatenation of DataSet objects.
isempty - Returns Boolean true if the DataSet object data field is empty.
length - Returns the length of the data field in a DataSet object.
ndims - Returns the number of dimensions of the data field in a DataSet object.
numel - Returns a value of 1 for any dataset object.
permute - Permute array dimensions of a DataSet object.
repmat - Replicate and tile a DataSet object.
set - Set field/property values for a DataSet object.
size - Returns the size of the data field in a DataSet object.
sortby - Sort a DataSet by given field, dim, and set.
sortcols - Sort columns of a DataSet.
sortrows - Sort rows of a DataSet.
squeeze - Removes singleton dimensions of a DataSet object.
subsasgn - Assign for DataSet objects using Structure and index notation.
subsref - Subindex for DataSet objects using Structure and index notation.
transpose - Performs a transpose (rows become columns and columns become rows) on a two-way DataSet object.
unique - Returns a DataSet object containing all the unique values from the input.
vertcat - Returns a DataSet object containing all the unique values from the input