matrix to cell conversion
显示 更早的评论
how to convert 768*8 matrix into 768 number of 8*1 cells using matlab
1 个评论
Fangjun Jiang
2020-8-13
couldn't figure it out using the examples in "doc mat2cell"?
回答(2 个)
David Hill
2020-8-13
newCell=mat2cell(yourMatrix,ones(size(yourMatrix,1),1));
madhan ravi
2020-8-13
num2cell(matrix, 1).'
类别
在 帮助中心 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!