How to read multiple text files

I have multiple text files e. g CKLRR12.txt (file attached) having daily rainfall for 365 days and similarly 2013.txt having daily rainfall record for 365 days. I would like to translate information into single file having 2 columns (1st column to represent date, mm/dd/yyyy and 2nd column to represent rainfall. The output file format is shown below Day Rainfall(mm)
1/1/2012 17.8
1/2/2012 16.3
1/3/2012 0
1/4/2012 14.2
1/5/2012 0
1/6/2012 0
1/7/2012 0
1/8/2012 0.1
1/9/2012 0
1/10/2012 0
1/11/2012 0
upto 12/31/2013 0

1 Comment

Do not post duplicate questions. Simply give more information in the original question.

Answers (0)

This question is closed.

Tags

No tags entered yet.

Asked:

on 5 Oct 2015

Closed:

on 5 Oct 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!