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 个评论
Rik
2019-5-24
What have you tried before? Reading from a file must be one of the most common operations.
回答(1 个)
Read about xlsread, csvread, readtable functions.
类别
在 帮助中心 和 File 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!