フィルターのクリア

How to convert hourly data to monthly average?

1 回表示 (過去 30 日間)
Ali Saremi
Ali Saremi 2017 年 8 月 16 日
コメント済み: Ali Saremi 2017 年 8 月 17 日
Hi, I made a table which its first column shows date and time(every 3 hours) and its second column shows Wave Height collected on that day and time. I need to convert it to monthly data and take the average. I have attached a screen shot. If you could take a look and help me with that, I would really appreciate it.
Regards Ali

採用された回答

Sean de Wolski
Sean de Wolski 2017 年 8 月 16 日
tt = table2timetable(wavetable);
retime(tt,'monthly','mean')
Time tables make this type of work super straightforward.
  1 件のコメント
Ali Saremi
Ali Saremi 2017 年 8 月 17 日
IT worked. Thank you so much. I appreciate it. Regards Ali

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Type Conversion についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by