cell2mat — convert a cell array into a matrix
x=cell2mat(c)
Returns a matrix which is the concatenation of all components of the cell c.
all components of c must have the same data type (strings or
doubles or integers or booleans). For each row i
of
c,
cell2mat
concatenates all the components
of the ith
row of the cell c
Note that if the components of the cell input c
are
strings then cell2mat(c)
returns a column vector of strings
concatenation