How to concatenate lines in cell arrays
6 views (last 30 days)
I have a Cell array, name DATA with 5*50 cells. Each cell has a 1000*30 matrix
I would like to obtain a new matrix that contains the concatenation of the column 1 and all lines (:,1), for all the 50 columns. I need all the lines of all cells in all columns to show up as a resulting matrix, named MR, of dimensions 40000*50.
Right now I have the following code:
However, the code write all the columns with the same values, so definitely there is something wrong with it. Any help is appreciated.