Hello everybody,
I'm trying to vectorize my code to avoid using for-loop operator.
as far as i understand - this kind of recurrent relation is very common in DSP
and corresponds to one-pole IIR filter.
If 'gain' is a constant scalar value then I can rewrite it using
standard built-in matlab function:
but what if 'gain' is represented by 1xN vector? Is there any way it
can be rewritten without for-loop statement?
Thank you.