How can i put in matrix data into cell array?
2 views (last 30 days)
Show older comments
This is the matrix data extracted from my csv.
I want to put these data in each row of cell array. How should I write the code?
This is example, I want to make a cell like this.
1 Comment
Stephen23
on 13 Jan 2022
@지원 정: you did not tell us the most important information: how did you get all of these variables into the workspace?
Rather than writing bad code to try and fix that very bad data design (lots of separate numbered variables), by far the best solution is to avoid getting into this situation in the first place. We can help you do that, if you tell us how those variables got into the workspace in the first place: I doubt that you wrote them all by hand.
Accepted Answer
KALYAN ACHARJYA
on 12 Jan 2022
4 Comments
KALYAN ACHARJYA
on 12 Jan 2022
Edited: KALYAN ACHARJYA
on 12 Jan 2022
@Stephen Thanks for detail explanation.
More Answers (0)
See Also
Categories
Find more on Matrix Indexing 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!