dataset class -
Arrays for statistical data
Description
Dataset arrays are used to collect heterogeneous data and metadata
including into a single container variable. Dataset arrays can be
viewed as tables of values, with rows representing different observations
and columns representing different measured variables. Dataset arrays
can accommodate variables of different types, sizes, units, etc.
Construction
Methods
| cat | Concatenate dataset arrays |
| datasetfun | Apply function to dataset array variables |
| disp | Display dataset array |
| display | Display dataset array |
| double | Convert dataset variables to double array |
| end | Last index in indexing expression for dataset
array |
| export | Write dataset array to file |
| get | Access dataset array properties |
| grpstats | Summary statistics by group for dataset arrays |
| horzcat | Horizontal concatenation for dataset arrays |
| isempty | True for empty dataset array |
| join | Merge observations |
| length | Length of dataset array |
| ndims | Number of dimensions of dataset array |
| numel | Number of elements in dataset array |
| replacedata | Replace dataset variables |
| set | Set and display properties |
| single | Convert dataset variables to single array |
| size | Size of dataset array |
| sortrows | Sort rows of dataset array |
| stack | Stack data from multiple variables into single variable |
| subsasgn | Subscripted assignment to dataset array |
| subsref | Subscripted reference for dataset array |
| summary | Print summary of dataset array |
| unique | Unique observations in dataset array |
| unstack | Unstack data from single variable into multiple variables |
| vertcat | Vertical concatenation for dataset arrays |
Properties
| description | String describing data set |
| DimNames | Cell array of strings giving units of variables in data
set |
| ObsNames | Cell array of nonempty, distinct strings giving names
of observations in data set |
| units | Units of variables in data set |
| UserData | Variable containing additional information associated
with data set |
| VarNames | Cell array giving names of variables in data set |
Copy Semantics
Value. To learn how this affects your use of the class, see Comparing Handle and Value
Classes in the MATLAB Object-Oriented Programming documentation.
See Also
Dataset Arrays
genvarname, tdfread, textscan, xlsread
 | cvpartition | | dataset |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit