Moving average in stateflow

2 vues (au cours des 30 derniers jours)
Ashvini Bankar
Ashvini Bankar le 30 Mai 2020
hello,
i need help to find the moving average of signal with 100 samples.
please help with same

Réponses (1)

Jesús Zambrano
Jesús Zambrano le 2 Sep 2020
Is it mandatory a Stateflow implementation? Otherwise, a simple way is to use a tapped Delay block to delay the incoming signal 100 samples, and the use a MATLAB function block that calculates the mean value.

Catégories

En savoir plus sur Stateflow dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by