EE422
Solution to HW#18
1a) Note: the Dynamic range is D=9-(-5)=14 volts. N=8 bits. MSE = (D2/12)2-2N = ((14)2/12)2-16 = 2.4923x10-4 Watts
x(t) = 2 + 7cos1000t
Pave = A02+A12/2 + A22/2 + ... = (2)2 + (7)2/2 = 28.5 Watts
SNR = Pave/MSE = (28.5)/(2.4923x10-4) = 1.1435x105 = 50.58 dB
b) x(t) = 0.5 + (1/4)cos1000t + (1/3)sin1000t = 0.5 + (5/12)cos2(1000t - 53.13
° )Therefore, the Dynamic range is D=11/12 - 1/12 = 5/6. MSE = (D2/12)2-2N = ((5/6)2/12)2-16 = 8.83x10-7 Watts
Pave = (0.5)2 + (1/2)(5/12)2 = 0.337 Watts
SNR = Pave/MSE = (0.337)/(8.83x10-7) = 3.814x105 = 55.8 dB
c) Montavani's has the higher SNR (as you would expect if you ever listened to Heavy Metal!)
d) Minimum fs = 2*16kHz = 32 kHz
e) An ideal low pass filter does not exist!! We need to sample slightly faster to enable us to recover the original signal with a non-ideal low pass filter!!
2a) Sketch of the probability density function:

b)
Mean of x:![]()
c) Mean of x2:
![]()
d)
MSE due to quantization (using midpoint):
e)
MSE due to quantization (using arbitrary value k):
f)
Take derivative with respect to k:
. Thus, without any other information we should chose the midpoint of the quantizing region to represent our signal in order to minimize the mean square error!