Moving average in stateflow
Show older comments
hello,
i need help to find the moving average of signal with 100 samples.
please help with same
Answers (1)
Jesús Zambrano
on 2 Sep 2020
1 vote
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 Stateflow in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!