Extract data from CSV files

2 views (last 30 days)
Mar Zah
Mar Zah on 24 May 2019
Edited: KSSV on 24 May 2019
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 Comment
Rik
Rik on 24 May 2019
What have you tried before? Reading from a file must be one of the most common operations.

Sign in to comment.

Answers (1)

KSSV
KSSV on 24 May 2019
Edited: KSSV on 24 May 2019
Read about xlsread, csvread, readtable functions.

Categories

Find more on Data Import and Export in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!