matrix to cell conversion
Show older comments
how to convert 768*8 matrix into 768 number of 8*1 cells using matlab
1 Comment
Fangjun Jiang
on 13 Aug 2020
couldn't figure it out using the examples in "doc mat2cell"?
Answers (2)
David Hill
on 13 Aug 2020
newCell=mat2cell(yourMatrix,ones(size(yourMatrix,1),1));
madhan ravi
on 13 Aug 2020
num2cell(matrix, 1).'
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!