Load CSV file to matlab and avoiding word written in csv file for data analysis
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(3 个)
Laura Proctor
2012-8-8
编辑:Laura Proctor
2012-8-8
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 个评论
Khan
2012-9-25
"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
2012-8-8
importdata does a pretty good job of separating header from file information, have you tried that?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Large Files and Big Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!