Convert data from minutes to hourly average
7 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
My data has time set up as dd-month-yyyy hh:mm:ss How do I average my data from minutes to hours
0 Commenti
Risposte (1)
Mohammad Sami
il 8 Ott 2020
If your data is in timetable / table format. You can use the groupsummary to summarise your data into any intervals.
a = groupsummary(TT,"Column_w_datetime","hour","mean");
2 Commenti
Mohammad Sami
il 8 Ott 2020
Yes hour will provide hourly average. There are also other options if you want to change the interval.
Vedere anche
Categorie
Scopri di più su Get Started with MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!