Load CSV file to matlab and avoiding word written in csv file for data analysis
3 views (last 30 days)
Show older comments
I have a .csv file which has some words and data in it. If I load the file with words, it does not work. i want to know how to avoid the rows of words in the file when i am loading it.
Thanks
0 Comments
Answers (3)
Laura Proctor
on 8 Aug 2012
Edited: Laura Proctor
on 8 Aug 2012
If you tell me about the format of the CSV file (i.e. how many headerlines that you want to avoid, and then a sample row of data), I can tell you more about how to use the function.
3 Comments
Khan
on 25 Sep 2012
"x = csvread('File Name',9,0,[9,0, 209,0]);" you can try this command it will load your data from row 9 till to 209 row of only first column ..
Kevin Claytor
on 8 Aug 2012
importdata does a pretty good job of separating header from file information, have you tried that?
See Also
Categories
Find more on Large Files and Big Data 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!