Hi,

I’m trying to implement the following difference equation (an antiresonator) as a max external

y(n) = (1/A)*x(n) – (B/A)*x(n-2) – (C/A)*x(n-3)

My question is how do I access the previous samples required for this. I have done this many times in non real-time situations (in Matlab) but I’m a little unsure of how to deal with the input vector.

Is it a matter of simply subtracting 1 from the *in pointer for each previous sample or is it necessary to store the values somewhere?

Thanks!