Hydrology Help Required!!!

3 visualizzazioni (ultimi 30 giorni)
Rajeev Katwal
Rajeev Katwal il 16 Lug 2019
Commentato: Walter Roberson il 16 Lug 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 Commento
Walter Roberson
Walter Roberson il 16 Lug 2019
We are not given enough information to know which part is date and which part is time.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Oceanography and Hydrology in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by