HOW TO MERGE CSV FILE?
조회 수: 3 (최근 30일)
이전 댓글 표시
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
Stephen23
2018년 9월 26일
csvread('*.csv')
Reading the documentation is much more efficient than guessing how MATLAB works.
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Big Data Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!