Moving average in stateflow

10 views (last 30 days)
Ashvini Bankar
Ashvini Bankar on 30 May 2020
Answered: Jesús Zambrano on 2 Sep 2020
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

Find more on Complex Logic in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!