MATLAB Answers

Moving average in stateflow

3 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

  0 Comments

Sign in to comment.

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.

  0 Comments

Sign in to comment.

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by