I am having difficulty with MATLAB. I have 106 columns and 1 row. Each cell in each row contains a different amount of numbers. If I type result{1} I get 7. If I type result{2}, I get 3 numbers, etc... How can I list all the numbers out in the column instead of having individual cells. I know I need to make a zeros matrix but I am not sure about the syntax.
2026-04-08 19:15:26.1775675726
matlab cell convert to columns
1.1k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
Maybe you could 1) Find the maximal number of numbers. 2) Append the missing number of numbers (zeros) to each cell. 3) Use cell2mat.
This may be wasteful, of course, if there are lots of zeros.