PCM Using Matlab
Communication Systems
Laboratory 1. PCM using Matlab
1. Download the PCM.m file given in Blackboard.
2. Run the m-file in Matlab.
3. Insert the value of 1 as the Quantization Interval.
4. Note on any erroneous output or process and correct them, if any.
5. Take the screenshot of the plot and put it inside your report. This would be your reference
plot to compare with the other plots.
6. Re-run the m-file in Matlab and insert the value of 0.5 as the Quantization Interval.
7. Take the screenshot of the plot and put it inside your report.
8. Edit the PCM.m file by changing the sample interval to 0.2. Re-run the m-file and insert
value 1 as the Quantization Interval.
9. Take the screenshot of the plot and put it inside your report.
10. You are required to produce a report that addresses Question 1 until Question 4.
Discussion and justification must be given in each question.
Question 1:
Explain your understanding on quantization and PCM by comparing the plots
for Quantization Interval 1 and 0.5.
Question 2:
Explain the source code provided. You must be able to relate the output with
the respective code.
Question 4:
Design a PCM transmitter system using Matlab-Simulink. Show simulated
results to validate your design. From your design, explain the step by step
process of the block/module to generate the PCM signal.
Question 3:
Create an m-file code for implementing mu-law PCM. Explain the difference
between mu-law and uniform quantization.