split numbers separated by commas in a sub cell array into their own column
显示 更早的评论
I have a 18x1 cell array filled with numbers. Each cell of the array has a different size. How do I split each cell so there are no longer any subcells. I tried using cell2mat but since each column in the sub cell is of different size it did not work.
This is what the cell array looks like now

and this is what I am attempting to make it look like

2 个评论
the cyclist
2019-11-30
Can you upload the variable in a mat file, using the paper clip icon? An image of the data is not useful for testing.
Ean Hendrickson
2019-11-30
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!