Storing Cell elements in a single matrix
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a cell of size (8*11) and each element of this cell is of size (32*32).
Now I have to store all elements of the cell in a single matrix of size
(32*8*11 , 32),
means stacking all the (11*8 = 88) elements of the cell (each of size 32*32) one after other.
Someone please help!
댓글 수: 0
채택된 답변
madhan ravi
2019년 6월 8일
편집: madhan ravi
2019년 6월 8일
a = cat(3,yourcell{:})
댓글 수: 3
madhan ravi
2019년 6월 8일
편집: madhan ravi
2019년 6월 8일
When yourcell is of size 8 x 11 each containing 32 x 32 double , haven’t got an error unless you’re doing something strange.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!