Convert cells from cell array to matrices
显示 更早的评论
Hi! I have a cell array A{ 80 x 1 } cells of different dimensions i.e cell1=18x2 , cell2=20x2, cell3=34x2 etc.I want to extract each cell from the cell array A and convert each of them to a matrix. i.e Answer shpold be :A1=the 18 X2 matrix of cell1 A2= the 20x2 matrix of cell 2 etc or A(:,:1)=18x2 A(:,:2)=2-x2 etc. I would prefer if possible to have 80 matrices A1,A2,A3......A80. Thank you.
3 个评论
Andrei Bobrov
2016-12-13
Very bad idea.
Dimitris Pasias
2016-12-13
编辑:Dimitris Pasias
2016-12-13
@Dimitris Pasias: read and understand this:
Then learn to use indexing, and/or cell arrays.
回答(2 个)
the cyclist
2016-12-13
2 个投票
类别
在 帮助中心 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!