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