Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

extracting data from multiple text files

1 Ansicht (letzte 30 Tage)
Saleem Sarwar
Saleem Sarwar am 6 Okt. 2015
Bearbeitet: per isakson am 6 Okt. 2015
I am very thankful to mathwork community to promptly answers the queries asked by me. I am very new to matlab, wrote my first code to compute runoff using antecedent Soil Moisture Method and it is working well.
The only problem that I am facing now, is to extract data from text files. I asked the same question previously but was not able to solve the problem. My input data is in the form of text files, each file having daily rainfall data of specific year. I simply need to translate information into single file having 2 columns (1st column to represent date, mm/dd/yyyy and 2nd column to represent rainfall. I have 50 text files of a gauging station and requires to create a single output file from all these text files. The input file is attached for your reference.
Thanks for your cooperation
  2 Kommentare
per isakson
per isakson am 6 Okt. 2015
Bearbeitet: per isakson am 6 Okt. 2015
How to distinguish those 50 files from other files on the hard disk? Are they the only txt-files in a special folder? Are they named JHMRRRnm.txt where n and m are digits? Or what?

Antworten (0)

Diese Frage ist geschlossen.

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by