Extract a Column from a large csv file
Show older comments
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'
Answers (1)
dpb
on 30 Mar 2021
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.
Categories
Find more on MATLAB 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!