Clear Filters
Clear Filters

Hydrology Help Required!!!

3 views (last 30 days)
Rajeev Katwal
Rajeev Katwal on 16 Jul 2019
Commented: Walter Roberson on 16 Jul 2019
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 Comment
Walter Roberson
Walter Roberson on 16 Jul 2019
We are not given enough information to know which part is date and which part is time.

Sign in to comment.

Answers (0)

Categories

Find more on Oceanography and Hydrology in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!