- Simulation You Must Use Matlab To Quantize A Sinewave Signal Message And Encode It To Binary Bits You Will Reconstru 1 (92.18 KiB) Viewed 24 times
Simulation: You must use Matlab to quantize a sinewave signal (message) and encode it to binary bits. You will reconstru
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Simulation: You must use Matlab to quantize a sinewave signal (message) and encode it to binary bits. You will reconstru
Simulation: You must use Matlab to quantize a sinewave signal (message) and encode it to binary bits. You will reconstruct the sinewave from binary bits. It would help if you calculated the signal to quantization noise ratio (SQNR) for the 8-level and 16-level quantization. For the simulation, generate a sinusoidal signal with amplitude 1, and w=1. Using a uniform PCM scheme, quantize it once to 8 and 16 levels. Plot the original signal and the quantized signals on the same axis. Compare the resulting SQNR in the two cases. You can arbitrarily choose the duration of the signal to be 10s. The resulting SQNRS are 18.90 dB for the 8-level PCM and 25.13 dB for the 16-level PCM; compare these values with the results that you get from your simulation. The plots are shown in the figure below. 8 level quantized signal 16 level quantized signal 0.8 Signal 0.6 0.4 0.2 0 1 2 5 6 7 10 Time Figure 1. Sinusoidal signal before and after quantization O -0.2 -0.4 -0.6 -0.8