Professional Documents
Culture Documents
Passband transmission using QAM using a correlator receiver with and without
noise. Also generate P e vs SNR curve using code and compare it with the curve
generated using the Q-function.
A random 4000 bits are generated using ‘randn’ inbuilt command. For 16-ary
QAM signal, each symbol has 4 bits is represented in constellation diagram to
know the in-phase and quadrature phase amplitude levels.
For NOISELESS receiver, the bit error rate was found to be zero. In the
presence of AWGN channel, the plot of Simulated BER vs Theoretical BER is
NOT exact in line. There is some deviation observed from the plot.
By this, all the decoded bits are stored under x_cap variable in the code.
When the original x and x_cap is compared , bit error rate was found to
be zero.
For addition of noise,
EbN0 = 10^(EbN0dB/10);
n=(1/sqrt(2))*[randn(1,length(yy))+sqrt(-
1)*randn(1,length(yy))];%Complex gaussian noise
sigma = sqrt(1/((log2(M))*EbN0)); %Noise standard deviation
r = yy+sigma*n; %Received signal
For theoretical BER the following probability of error formula was used
in terms of Q function to plot :