# How to calculate an All-Pass filter quantization coefficients

Given

$$H(z) = \frac{z^{-1}-0.8}{1-0.8z^{-1}}\text,$$

does the filter stay an All-Pass filter after quantization of coefficients?

If so, how can I prove it mathematically?

• I think this one is pretty easy: What's the requirement for all-passyness? Jan 29 '19 at 16:46
• That there is an equal number of zeros and poles and that each zero will be equal to its inverse complex conjugate. The thing is, will the single pole and single zero remain the same after quantization? Jan 29 '19 at 18:18
• Try it: quantize the coefficients to a, say, 3 bits, calculate pole and zero and see of they still match. Jan 29 '19 at 18:40

## 1 Answer

Hint:

1. Write the transfer with a general coefficient $$a$$ (instead of the value $$0.8$$) in the numerator as well as in the denominator.
2. Compute the magnitude of the numerator for $$z=e^{j\omega}$$.
3. Compute the magnitude of the denominator for $$z=e^{j\omega}$$.
4. Show that both magnitudes are equal, regardless of the value of the coefficient $$a$$, hence $$H(e^{j\omega})=1$$, i.e., the system is an allpass, even after coefficient quantization.