Move to MxN cell array to 1xN cell array
이전 댓글 표시
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.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!