Quantization error in A/D conversion of a sinusoidal signal ? Let x q (n) be the signal
Question:
Quantization error in A/D conversion of a sinusoidal signal?Let xq (n) be the signal obtained by quantizing the signals x(n) = sin 2?f0n.?The quantization error power Pq is defined by
The ?quantity? of the quantized signal can be measured by the signal-to=quantization noise ratio (SQNR) defined by SQNR = 10log10?Px/Pq?where Px is the power of the unquantized signal x(n).
(a) For f0 = 1/50 and N = 200, write a program to quantize the signal x(n), using truncation, to 64, 128, and 256 quantization levels. In each case plot the signals x(n), xq(n), and e(n) and compute the corresponding SQNR.
(b) Repeat part (a) by using rounding instead of truncation.
(c) Comment on the result obtained in parts (a) and (b).
(d) Compare the experimentally measured SQNR with the theoretical SQNR predicted by formula (1.4.32) and comment on the differences and similarities.
Step by Step Answer:
Digital Signal Processing
ISBN: ?978-0133737622
3rd Edition
Authors: Jonh G. Proakis, Dimitris G.Manolakis