필터 지우기
필터 지우기

Storing Cell elements in a single matrix

조회 수: 1 (최근 30일)
Aniket Kumar
Aniket Kumar 2019년 6월 8일
댓글: Aniket Kumar 2019년 6월 8일
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!

채택된 답변

madhan ravi
madhan ravi 2019년 6월 8일
편집: madhan ravi 2019년 6월 8일
a = cat(3,yourcell{:})
  댓글 수: 3
madhan ravi
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.
Aniket Kumar
Aniket Kumar 2019년 6월 8일
Thanks a lot that solved my querry!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by