Move to MxN cell array to 1xN cell array
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!