Hydrology Help Required!!!

3 次查看(过去 30 天)
Rajeev Katwal
Rajeev Katwal 2019-7-16
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
Walter Roberson 2019-7-16
We are not given enough information to know which part is date and which part is time.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Oceanography and Hydrology 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by