Script to make a average on sliding windows time
Show older comments
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.
Answers (0)
Categories
Find more on Smoothing and Denoising in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!