how to take monthly mean of hourly data set ?

1 回表示 (過去 30 日間)
pruth
pruth 2022 年 2 月 10 日
コメント済み: Star Strider 2022 年 2 月 10 日
hi,
I am having a problem with timetable.
I have an hourly data for 1 year.
I want take an average of each month and make hourly timeseries of the data.
what i mean to say; I will have 12 time series with hours. each month will have 24 hours time series.

回答 (1 件)

Star Strider
Star Strider 2022 年 2 月 10 日
The groupsummary function could be helpful here. See Grouped Calculations in Tables and Timetables for a detailed discussion. The retime function could also be an option.
  2 件のコメント
pruth
pruth 2022 年 2 月 10 日
can you tell me how to use the retime here ?
Star Strider
Star Strider 2022 年 2 月 10 日
The documentation gives clear examples. I recently did something similar in Averaging hourly time series data to daily time series so you can use that as a guide.
I would have to have a representative sample of your data to see if groupsummary would be appropriate for it, so I did not even attempt to sketch the approach here. I cannot be certain that approach would work without having your data to experiment with (and even then it might not be possible).

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeTimetables についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by