How can I divide a week of a timetable into hours
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Guillaume
2019-5-15
hourlytimetable = retime(yourtimetable, 'hourly', 'mean')
9 个评论
Guillaume
2019-5-16
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')
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!