Problem merging csv files.
이전 댓글 표시
I have 2 csv files and have read them successfully using the dlmread command. However, now I need to merge them using the common dates and then perform descriptive statistics.
R=dlmread('ff3all.csv',',',1,0);
A=dlmread('assignment4.csv',';',1,0);
I tried to do A+R; but I get the error that they must be in same dimensions.Can someone please help.
I have attached the files.
답변 (1개)
Walter Roberson
2017년 10월 25일
0 개 추천
read them with readtable(), convert them to timetable() objects. Then you can synchronize() the entries
카테고리
도움말 센터 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!