How to store the column names for each numerical values for respective rows in an array
Show older comments
I'd like to get from a raw matrix like this:

several cell arrays of strings like this:
One = 'A' 'C' 'D' 'F'
Two = 'B' 'G'
How could I do this?
2 Comments
Jan
on 6 Jun 2018
What are your input data? The screen shot is not clear. Prefer to post code, which produces the input.
What is the relation between the array and the output? Why is
One = 'A' 'C' 'D' 'F'
wanted and what class is this? A cell string? Does the first column have a meaning?
Pi Height
on 6 Jun 2018
Accepted Answer
More Answers (0)
Categories
Find more on Tables 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!