Help reading data from CSV file?
Show older comments
I have code for data in csv file but do not know how to import and run data through the code.
Answers (1)
Star Strider
on 8 Nov 2018
0 votes
Without knowing more, your best option (if you have R2013b or later) is to use the readtable (link) function.
7 Comments
Kristine McKay
on 8 Nov 2018
Star Strider
on 8 Nov 2018
Use readtable to import your data. It is then straightforward, using the table2array (link) function to bring the data into your workspace as a numeric data matrix, assuming your data are all numeric.
Beyond that, I have no idea what you are doing.
Kristine McKay
on 8 Nov 2018
Kristine McKay
on 8 Nov 2018
Star Strider
on 8 Nov 2018
Unfortunately, that makes two of us!
I have absolutely no idea what you want to do.
Kristine McKay
on 8 Nov 2018
Kristine McKay
on 8 Nov 2018
Categories
Find more on LaTeX 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!