Moving average in stateflow

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

1 个投票

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.

类别

帮助中心File Exchange 中查找有关 Stateflow 的更多信息

产品

版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by