How to implement weighted moving average in Simulink

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?

Categorie

Scopri di più su Simulink in Centro assistenza e File Exchange

Richiesto:

il 20 Apr 2018

Risposto:

il 20 Gen 2021

Community Treasure Hunt

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

Start Hunting!

Translated by