Script to make a average on sliding windows time

Hello,
I have a timeseries (recorded from simulation) and a need to make this calculation :
I need to set a sliding windows time (for ex 10ms) and each 1 ms this windows move forward and calculate the average of the sample.
This calculation is meant to smooth a ramp signal
i made it with simulink , but the windows need to be a parameter, so its not userfriendly
Thank a lot for answers.

回答 (0 件)

タグ

質問済み:

2018 年 4 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by