I have two cell arrays, cellarray1
(m x n) and cellarray2
(m x 1), and want to take cellarray2
and input this in cellarray1
. However, I would like to input this in the second column, thus pushing the existing cells in cellarray1
to the right, so that the final result is a cell array with n+1 columns with the new column having pushed all columns to the right, taking place at column 2 in cellarray1
. Maybe this is a strange problem, I don't know. There is no straight forward solution as I have found.
Best, Granit