I am trying to write a code for an IIR filter. And for that purpose i need to implement the below funtion in C :-
out[n] = in[n] - ((b1 * e^jw * out[n-1]) + (b2 * e^2jw * out[n-2]))
It would be great if anyone could help me out.
Thanks a lot !!