Extract data from CSV files

hi everyone,
i need to extract a specific data from a csv file.
my csv file contains 15 columns with around 5000 rows, i want to extract the x and y position at a specific time points.
the structure of my csv is the following
comlumn 1: time comlumn 2: x position column 3: y position etc.....
i have 35 trials so there will be 35 time points to extract.
thank you

1 个评论

What have you tried before? Reading from a file must be one of the most common operations.

请先登录,再进行评论。

回答(1 个)

KSSV
KSSV 2019-5-24
编辑:KSSV 2019-5-24

0 个投票

Read about xlsread, csvread, readtable functions.

类别

帮助中心File Exchange 中查找有关 Workspace Variables and MAT Files 的更多信息

标签

提问:

2019-5-24

编辑:

2019-5-24

Community Treasure Hunt

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

Start Hunting!

Translated by