Hi all,
I have a cell array 'cellA' which contains cell:
cellA = {2x1 cell} {2x1 cell} {2x1 cell} {2x1 cell} {2x1 cell} {2x1 cell}cellA{1}ans = [12x2 double] [30x2 double]
All arrays in cellA are same size. Now what I want is to extract each double array and put them in a new cell, so I will have 2 new cells:
cellB = [12x6 double] [12x6 double]cellC = [30x6 double] [30x6 double]
I know I can probably write a for loop to do this, but is there a faster, vectorized way?
Thanks!
Best Answer