Moving average in stateflow

hello,
i need help to find the moving average of signal with 100 samples.
please help with same

Answers (1)

Jesús Zambrano
Jesús Zambrano on 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.

Categories

Products

Release

R2020a

Asked:

on 30 May 2020

Answered:

on 2 Sep 2020

Community Treasure Hunt

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

Start Hunting!