Reading CSV file with header and other data
160 ビュー (過去 30 日間)
古いコメントを表示
Sk Faisal Kabir
2022 年 4 月 26 日
回答済み: Johannes Hougaard
2022 年 4 月 26 日
Hi,
I need help to read the file, I am trying to extract the columns for plotting, but I do not know how to get read of the headers and other information out there in the CSV.
0 件のコメント
採用された回答
Johannes Hougaard
2022 年 4 月 26 日
If your header is always the same size you can simply hard code which lines are header lines (in this case 19)
datatable = readtable('UC-SR 58-28 300 S3.csv','NumHeaderLines',19);
plot(datatable.Time_s_,datatable.AxialForce,'-.')
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Import and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!