Move to MxN cell array to 1xN cell array
Mostra commenti meno recenti
I have a 15x20 cell matrix, and I would to concatenate all the elements of each cell along the columns. That is, I want to move from the 15x20 cell matrix to 1x20 cell array. I attach a file as an example. To be clear, in my case the resulting CELL{2} mu to have 101 elements, CELL{3} 119 elements and so on.
Is there a way to do this without a for loop? Thanks and I hope I was clear.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Creating and Concatenating Matrices in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!