Quantcast

Documentation Center

  • Trial Software
  • Product Updates

dataset2cell

Class: dataset

Convert dataset array to cell array

The dataset data type might be removed in a future release. To work with heterogeneous data, use the MATLAB® table data type instead. See MATLAB table documentation for more information.

Syntax

C = dataset2cell(D)

Description

C = dataset2cell(D) converts the dataset array D to a cell array C. Each variable of D becomes a column in C. If D is an M-by-N array, then C is (M+1)-by-N, with the variable names of D in the first row. If D contains observation names, then C is (M+1)-by-(N+1), with the observation names in the first column.

See Also

| |

More About

Was this topic helpful?