Unable to use dsp.MovingAverage()
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Walter Roberson
am 20 Jul. 2020
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?
Antworten (0)
Siehe auch
Kategorien
Mehr zu C Code Generation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!