Extract a Column from a large csv file

how to extract a column from a csv file into matlab?
column is 'AD' or 'field.linear_acceleration.x'
file is 'forward_turn_and_back.csv'

回答 (1 件)

dpb
dpb 2021 年 3 月 30 日

0 投票

data=readmatrix('forward_turn_and_back.csv','range','AD:AD','NumHeaderLines',N);
You'll have to set N for the number of headerlines to skip.

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

製品

リリース

R2020b

質問済み:

2021 年 3 月 30 日

回答済み:

dpb
2021 年 3 月 30 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by