Storing Cell elements in a single matrix
2 ビュー (過去 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!