MATLAB: Combine a cell array of cell arrays to a single cell array

cell array concatenation

Hi,
I have a dynamic cell array of cell arrays of strings and I want to combine it into a single cell array of strings.
Example: Columns 1 through 4
{4x1 cell} {9x1 cell} {8x1 cell} {10x1 cell}
I want to concatenate and the result in one cell array as
{31×1 cell}.
How to concatenate into one cell Array?

Best Answer

NewCellArray = vertcat( ExistingCellArray{:} );