5 min increments to hrly average

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.

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 11 月 5 日

0 投票

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()

この質問は閉じられています。

質問済み:

2018 年 11 月 5 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by