split comma-separated rows into separate columns
3 views (last 30 days)
Show older comments
hey i want to know how to split comma-separated rows into separate columns in cell array elements e.g.
x{4x1 cell}
x{1,1}{1,1}=[2,1,2,3]
& all other elements in this form.
result should be like this:
result{1,1}{1,1}=[2;1;2;3]
thanks in advance
2 Comments
Stephen23
on 14 Apr 2017
Are these "comma-separated rows" numeric vectors, or strings? From your description it is not clear what form or type the data has.
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Matrices and Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!