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 comentario

Rik
Rik el 24 de Mayo de 2019
What have you tried before? Reading from a file must be one of the most common operations.

Iniciar sesión para comentar.

Respuestas (1)

KSSV
KSSV el 24 de Mayo de 2019
Editada: KSSV el 24 de Mayo de 2019

0 votos

Read about xlsread, csvread, readtable functions.

Categorías

Etiquetas

Preguntada:

el 24 de Mayo de 2019

Editada:

el 24 de Mayo de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by