This question is closed. Reopen it to edit or answer.
Converting a variable sized cell array to a matrix
1 view (last 30 days)
Jay Vaidya on 16 Nov 2020
Closed: MATLAB Answer Bot on 20 Aug 2021
I have a cell as below:
5 -3 11
2 3 7
-1 3 2 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.