MATLAB: How to merge cells together

merge cells

How do I merge cells together and separate each cell with a ';'?

Best Answer

Two alternatives, since I am not exactly sure what you want.
a = num2cell(randi(10,10,10));
your_mat = cell2mat(a);
your_mat_alt = [a{:}];