I am using an FIR block to perform moving average processing by setting all elements of the array to 1.
However, I want to change the length of the moving average processing dynamically by modifying the numTaps property, but it cannot be changed because it is constant.
If there are any alternative methods or different implementations for dynamically changing the length of the moving average processing, please let me know.
Moving average
#1
Moving average
7:14pm
Hi Koike san,
Would it work to set the taps to 0 or 1 depending on the length of the moving average?
e.g.
FIR length is 10
average 5 samples
1 1 1 1 1 0 0 0 0 0
average 3 samples
1 1 1 0 0 0 0 0 0 0
---------
Gary