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일

0 개 추천

a = cat(3,yourcell{:})

댓글 수: 3

thanks for your answer, but this is the error coming
"Error using cat
Dimensions of matrices being concatenated are not consistent."
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.
Thanks a lot that solved my querry!

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

질문:

2019년 6월 8일

댓글:

2019년 6월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by