Assignment:
The nonstationary sequence a of length 500 consists of two parts. The first 20 samples are generated according to a
Gaussian random variable with mean 0 and variance 400 (er = 20), and the next 480 samples are drawn according to a Gaussian random variable with mean 0 and variance 1. This sequence is quantized once using a uniform PCM scheme and once using a nonuniform PCM scheme. Compare the resulting SQNR in the two cases.
Provide complete and step by step solution for the question and show calculations and use formulas.