QAM Modulation
QAM Modulation
ASSIGNMENT-1
BY,
PALANIKUMAR S
B.E.ECE(YEAR 3)
clear
clc
% Convert the bit stream into symbols using binary to decimal conversion
% Reshape the binary stream into a matrix with each column representing a symbol
% 'left-msb' indicates that the most significant bit (MSB) is on the left side
xsym = bi2de(reshape(x, k, length(x)/k).', 'left-msb'); % convert the bit stream into symbol stream
Tx_x = xmod;
SNR = 5;
% Calculate the Bit Error Rate (BER) by comparing the transmitted and received bits
OUTPUT;
1.Explore the multiple in QAM.
Program;
clear
clc
% Convert the bit stream into symbols using binary to decimal conversion
% Reshape the binary stream into a matrix with each column representing a symbol
% 'left-msb' indicates that the most significant bit (MSB) is on the left side
xsym = bi2de(reshape(x, k, length(x)/k).', 'left-msb'); % convert the bit stream into symbol stream
Tx_x = xmod;
SNR = 5;
% Calculate the Bit Error Rate (BER) by comparing the transmitted and received bits
OUTPUT;
2.Explore the impact of mlevel on BER.
Program;
clear
clc
% Convert the bit stream into symbols using binary to decimal conversion
% Reshape the binary stream into a matrix with each column representing a symbol
% 'left-msb' indicates that the most significant bit (MSB) is on the left side
xsym = bi2de(reshape(x, k, length(x)/k).', 'left-msb'); % convert the bit stream into symbol stream
Tx_x = xmod;
SNR = 5;
OUTPUT;
3. Explore how Noise immunity differs with different mlevel values
Program;
clear
clc
% Convert the bit stream into symbols using binary to decimal conversion
% Reshape the binary stream into a matrix with each column representing a symbol
% 'left-msb' indicates that the most significant bit (MSB) is on the left side
xsym = bi2de(reshape(x, k, length(x)/k).', 'left-msb'); % convert the bit stream into symbol stream
Tx_x = xmod;
SNR = 3;
% Calculate the Bit Error Rate (BER) by comparing the transmitted and received bits
OUTPUT;