How can I divide a week of a timetable into hours
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Antonio Melieni
il 15 Mag 2019
Commentato: Peter Perkins
il 20 Mag 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 Commenti
Risposta accettata
Guillaume
il 15 Mag 2019
hourlytimetable = retime(yourtimetable, 'hourly', 'mean')
9 Commenti
Guillaume
il 16 Mag 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')
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Data Type Conversion 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!