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!