Hydrology Help Required!!!
조회 수: 3 (최근 30일)
이전 댓글 표시
s=fliename;
pat='[0-9]*';
matches=regexp(s,pat,'match');
timedate=matches(1,3);timeh=matches(1,4);
ftime=strcat(timedate,timeh);
Msm10=0.343896689*sm85+0.284798502*sm86+0.087143753*sm87+0.126204028*sm40+0.157957028*sm41;
SM10=[sm85,sm86,sm87,sm40,sm41,ftime];
Msm10f=[Msm10,ftime];
AARes(j,:)=SM10;
AAResf(j,:)=Msm10f;
Dear Aulturists,
I am having trouble to understand this portion of my code. Can you please help me to find date and time from this variable file. Thanks in advance for your help. Have a nice day.
댓글 수: 1
Walter Roberson
2019년 7월 16일
We are not given enough information to know which part is date and which part is time.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Oceanography and Hydrology에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!