Moving average in stateflow

4 次查看(过去 30 天)
Ashvini Bankar
Ashvini Bankar 2020-5-30
hello,
i need help to find the moving average of signal with 100 samples.
please help with same

回答(1 个)

Jesús Zambrano
Jesús Zambrano 2020-9-2
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.

类别

Help CenterFile Exchange 中查找有关 Complex Logic 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by