Convert cell array to table
converts the
contents of an T
= cell2table(C
)m
-by-n
cell array,
C
, to an m
-by-n
table,
T
. Each column of C
provides the data
contained in a variable of T
.
To create variable names in the output table, cell2table
appends column
numbers to the input array name. If the input array has no name, then
cell2table
creates variable names of the form
'Var1',...,'Var
, where
N
'
is the number of columns in
N
C
.
creates
a table from a cell array, T
= cell2table(C
,Name,Value
)C
, with additional options
specified by one or more Name,Value
pair arguments.
For example, you can specify row names or variable names to include in the table.