Import CSV file and calculate
2 views (last 30 days)
Show older comments
Hello,
I got a CSV file with more than one heading, numbers and text cells. How can I import them into a Matlab matrix or array to be able to calculate?
I tried readmatrix(filename) but then the data is stored as text in matlab and I can't calculate anything.
Is there another command? Or how can I convert the data?
Thanks!
Johanna
0 Comments
Accepted Answer
madhan ravi
on 9 Jul 2020
doc readtable
2 Comments
madhan ravi
on 9 Jul 2020
format longg % i can’t help further without knowing how the data looks like
More Answers (0)
See Also
Categories
Find more on Text Files 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!