Moving average in stateflow

10 visualizzazioni (ultimi 30 giorni)
Ashvini Bankar
Ashvini Bankar il 30 Mag 2020
Risposto: Jesús Zambrano il 2 Set 2020
hello,
i need help to find the moving average of signal with 100 samples.
please help with same

Risposte (1)

Jesús Zambrano
Jesús Zambrano il 2 Set 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.

Categorie

Scopri di più su Stateflow in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by