I have a doubt in filter implementation!
I wish to include the effect of quantization after multiplication with the
filter coefficients. Eg. I need,
y[n] = Q(x[n] b0) + Q(x[n -1] b1) -Q(y[n -1] a1) ; where Q(.) is a quantization
How do I make it work like the MATLAB function filter.m? i.e. I need the filter
outputs as well as the states.
I will be glad to receive your help/hints/tips.