If I have a 20x1 cell matrix where each cell is a 1x50 cell matrix, what would be the best way to form a 20x50 cell matrix?
Thanks!
If your cell array is stored in the variable cellArray
, you can use the function VERTCAT like so:
cellMatrix = vertcat(cellArray{:});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With