Extract data from CSV files

조회 수: 4 (최근 30일)
Mar Zah
Mar Zah 2019년 5월 24일
편집: KSSV 2019년 5월 24일
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
Rik
Rik 2019년 5월 24일
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일
Read about xlsread, csvread, readtable functions.

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by