Convert the cell array c into a matrix by concatenating all elements of c into a hyperrectangle. Elements of c must be numeric, logical or char, and
catmust be able to concatenate them together.
The following code
C = {[1], [2 3 4]; [5; 9], [6 7 8; 10 11 12]};
cell2mat (C)
Produces the following output
ans =
1 2 3 4
5 6 7 8
9 10 11 12