Hi! I have matrix of cells that kind of looks like this:
cell = {[8.456] [] [] [9.456] [6]; [] [] [7.89] [] [6.876]; [] [5.79] [5] [] []}
I would like to convert that int a regular matrix looking like this:
mat = [8.456 0 0 9.456 6; 0 0 7.89 0 6.876; 0 5.79 5 0 0]
I have tried str2double, srt2num, cell2mat in combination with different for loops but i haven't managed to solve it yet. I would really appreciate some help with this one!
Best Answer