Professional Documents
Culture Documents
LAB 4 ASSIGNMENT Friday
LAB 4 ASSIGNMENT Friday
KULLIYYAH OF ENGINEERING
LAB 4
INTRODUCTION TO M-QAM
MODULATION/DEMODULATION
Dr. Akhmad Unggul
SEMESTER 2 2009/2010
GROUP MEMBERS:
NO NAME MATRIC
2. Monte Carlo simulation for 16QAM with and without gray mapping [25 marks]
a. Create a modulator object and demodulator object with the following properties
Input/Output type : Bit
Symbol Order : no gray mapping (default)
Perform Monte Carlo simulation with 106 bits and EbN0 range 0,3,6,9,12,15
[5 marks]
b. Create a modulator object and demodulator object with the following properties
Input/Output type : bit
Symbol Order : gray mapping
Perform Monte Carlo simulation with 106 bits and EbN0 range 0,3,6,9,12,15
[5 marks]
c. Plot your BER curves from your simulation in a and b in the same graph. [5 marks]
d. What do you observe? What is your observation on your results? Discuss about the
results, and the gap between the two curves.
(10 marks)
Useful commands
~= compares two vectors to find out elements in disagreement.
a=[0 1 1 0 0 1] b=[0 0 1 0 1 1]
a~=b [0 1 0 0 1 0] since the 2nd and 4th elements of a and b are different.
You are required to submit matlab scripts, figures and answers to questions in this lab assignment
before you finish your lab. Prepare your reports using MS words and print it using the designated
printer.