Can I average a retime?
4 ビュー (過去 30 日間)
古いコメントを表示
I have data that is measured every second for 60 minutes.
My current code is
newtimetable3 = retime(TT3,'regular','nearest','TimeStep',seconds(60))
This code retimes the data to every minute which is nice, but I am trying to retime the data to where it averages within the minute for 20 minutes.
Alll in all, I need help making the code averge the times within the 60 seconds and marks that number per minute.
3 件のコメント
回答 (1 件)
Walter Roberson
2020 年 7 月 16 日
TT3_20 = TT3(1:60*20);
newtimetable3_20 = retime(TT3_20, 'regular', 'minutely', 'TimeStep', 1);
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Multirate Signal Processing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!