In the old answers to this question, which was
posted on the site before, the codes give an error. Please write
the code for each question separately and send it in an error-free
manner. Do not copy-paste from old answers !!!
- 2. [45 points] MATLAB Simulation: The continuous-time signal x(t) = 4sin(2nt + 31t?) is sampled with T. The = 0.01 s. Then the sampled signal is applied to the PCM system. In the PCM system, n-bit uniform quantization method is utilized and the quantization levels are chosen in the middle of the quantization steps. a) Plot x(t), and sampled signal xs(t) for the interval 0 st 52. b) Plot the quantization function with the range [-4 4] for n = 3. c) Plot the quantized signal xq(t). d) Plot quantization error (ng(t) = x(t) – xq(t)). e) Plot normalized histogram of the quantization error. f) Write the encoded bits for the first 10 samples. g) Calculate the signal-to-quantization noise ratio. h) Repeat from (b) to (g) for n = 6.
In the old answers to this question, which was posted on the site before, the codes give an error. Please write the code
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
In the old answers to this question, which was posted on the site before, the codes give an error. Please write the code
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!