How can i save data by date from a single text file?
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
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
KSSV
2016년 9월 26일
How you have the data? Which format? Which class they are in?
답변 (1개)
Mallavarapu Rama Ashwin Kumar
2016년 9월 26일
0 개 추천
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.
댓글 수: 0
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!