Unable to use dsp.MovingAverage()
3 次查看(过去 30 天)
显示 更早的评论
I'm trying to implement the Moving Average Filter using 'dsp.MovingAverage()'
----My input----
%define the filter with properties
movavg = dsp.MovingAverage(10)
-----Error Output ------
' Unable to resolve the name dsp.MovingAverage.'
Please help me resolve this.
Thanks.
2 个评论
Walter Roberson
2020-7-20
Do you have DSP toolbox installed?
Are you trying to do this within a MATLAB Function Block in Simulink?
Are you trying to do this in the context of code generation?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 C Code Generation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!