How can i save data by date from a single text file?
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
I have data in text document as below:
Year Month Day Hour Minute Observation1 Observation2
2014 01 01 00 00 89050 -62.2
2014 01 01 06 00 89050 -62.2
2014 01 02 06 00 89050 -62.2
2014 01 02 12 00 89050 -62.2
2014 01 03 12 00 89050 -62.2
2014 01 03 18 00 89050 -62.2
How can I save them into 1 file according to their date?
Thank.
1 Kommentar
KSSV
am 26 Sep. 2016
How you have the data? Which format? Which class they are in?
Antworten (1)
Mallavarapu Rama Ashwin Kumar
am 26 Sep. 2016
0 Stimmen
I would suggest to read the data in formatted pattern using fscanf, textread or Reading Data in a Formatted Pattern.
You just have to match the exact position and try to use that to save.
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!