HOW TO MERGE CSV FILE?
3 views (last 30 days)
Show older comments
I want to merge csv files with same name but in different subfolder and plot them for my choice of column.
I write this code till now:
addpath(genpath('C:/Users/Arijeet/Downloads/folder_name'));
[v,T,vT]=csvread('*.csv');
t=v(:,1);y=v(:,2);
plot(t,y);
It has 207 columns.
This code read all file but plot only the last one.
1 Comment
Stephen23
on 26 Sep 2018
csvread('*.csv')
Reading the documentation is much more efficient than guessing how MATLAB works.
Answers (1)
See Also
Categories
Find more on Big Data Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!