How to combine multiple text files into one with index?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have five output txt files (Apple, Bean, Carrot, Tomato, and Orange) with one column and index as it shown below:

And now I need to combine this single column output file into multiple files as one output file in txt form and have the following output file with the following index and column:

How can I do that?
댓글 수: 0
답변 (1개)
Jan
2015년 9월 28일
At first load the data into cell arrays by reading one file after the other. Then create the output.
Well, a is very general answer. But simply try to start with importing one file and ask a specific question, if problems occur.
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!