How to implement weighted moving average in Simulink

3 views (last 30 days)
I'm trying to calculate the average of the last 15 outputs of a signal. The values should be weighted according to their order of appearance: the oldest value should weight less than the new value.
Is there a quick way to accomplish this?

Answers (1)

Ankur
Ankur on 20 Jan 2021

Categories

Find more on Modeling 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!