Load CSV file to matlab and avoiding word written in csv file for data analysis
조회 수: 1 (최근 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에서 Standard File Formats에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!