Merging multiples csv files in Matlab-R2014b
古いコメントを表示
I have 50 csv files without header. Size of each file is 11320x2 with one common column in all files. I would like to merge all of these files in matlab and would like to create a matrix of size (11320x51). Any suggestion is highly appreciated. Thank you!
採用された回答
その他の回答 (2 件)
Brendan Hamm
2015 年 3 月 11 日
Presumably you would want to use the csvread function. If all of the files are in the same directory, then set that as your working directory. This can be accomplished with
cd [directory]
where [directory] is the full path to your directory.
You can get a list of all of the files in the directory with the dir command.
Siach Xavisu
2016 年 12 月 26 日
0 投票
カテゴリ
ヘルプ センター および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!