How to convert hourly data to monthly average?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ali Saremi
le 16 Août 2017
Commenté : Ali Saremi
le 17 Août 2017
Hi, I made a table which its first column shows date and time(every 3 hours) and its second column shows Wave Height collected on that day and time. I need to convert it to monthly data and take the average. I have attached a screen shot. If you could take a look and help me with that, I would really appreciate it.
Regards Ali
0 commentaires
Réponse acceptée
Sean de Wolski
le 16 Août 2017
tt = table2timetable(wavetable);
retime(tt,'monthly','mean')
Time tables make this type of work super straightforward.
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!