I have a cell as below:
5 -3 11
2 3 7
-9 7
-1 3 2 4
-4
I want to convert this to a matrix. I don't know the maximum columns of the data. That means, given a cell, first I need to split the data and see what is the maximum number of columns and then generate the matrix accordingly.
1 Comment
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/648968-converting-a-variable-sized-cell-array-to-a-matrix#comment_1136078
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/648968-converting-a-variable-sized-cell-array-to-a-matrix#comment_1136078
Sign in to comment.