Hydrology Help Required!!!

3 vues (au cours des 30 derniers jours)
Rajeev Katwal
Rajeev Katwal le 16 Juil 2019
Commenté : Walter Roberson le 16 Juil 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 commentaire
Walter Roberson
Walter Roberson le 16 Juil 2019
We are not given enough information to know which part is date and which part is time.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Oceanography and Hydrology dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by