Reputation: 79
I have a 1x6 cell array. Each of the cells arrays contains a 5000x1 cell array comprising either strings or numbers. I would like to export that with fprintf
in six columns separated by e.g. a backslash. I could use some help with that or, alternatively, on how to combine the data into a single 5000x6 cell array (I can manage to export this with a fairly simple loop).
Thanks in advance.
Upvotes: 1
Views: 60
Reputation: 114966
How about
[ my6Cell{:} ]
It should return a single cell array of size 5000x6
Upvotes: 2