How can I divide a week of a timetable into hours
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Antonio Melieni
le 15 Mai 2019
Commenté : Peter Perkins
le 20 Mai 2019
Hi,
is it possible to devide a week of a timetable into 168 hours?
I would need the means of a timetable from monday to sunday on an hourly basis so I can show how its behaving of the week
Thx :)
2 commentaires
Réponse acceptée
Guillaume
le 15 Mai 2019
hourlytimetable = retime(yourtimetable, 'hourly', 'mean')
9 commentaires
Guillaume
le 16 Mai 2019
Peter, a suggestion: an option to specify bin indices instead of bin intervals for groupsummary at least. That would avoid having to create the binning variable:
hourofweek = ...
groupsummary(Volatility, 'BinNumbers', hourofweek, 'mean')
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Type Conversion dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!