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 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!