5 min increments to hrly average
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I have 5 minute intervals of data recordings for a year. I want to loop through it and create hrly averages of my data in an array.
Answers (1)
Walter Roberson
on 5 Nov 2018
0 votes
I would recommend reading the data with readtable. Then use the appropriate columns of the table with datetime() to construct datetime objects. Then use table2timetable() on the remaining columns and tell it that the row times are the datetime objects you constructed.
Now with timetable object on hand, use retime()
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!