You are on page 1of 7

DIGITALCOMMUNICATIONASSIGNMENT

BY DEBNATHMAJI(08EC3026) SRINJOYCHATTOPADHYAY(08EC3012) ANURAGGUPTA(08EC3009) ARIJITMUKHERJEE(08EC3008) QUESTION: Proposeanovelschemewhichperformsbetterthanselectioncombining. Developadecisionrulebasedon(6),whichperformsbetterthan(6).(8marks) WriteaMATLABcodetostudyerrorperformance.Thatmeans,generate SymbolErrorProbability(SEP)VsAverageSNR(indB)plot.Inthatplot, comparenoncooperation(explainedintheclass),selectioncombining,and yourproposedschemes.(8marks) WriteaMATLABcodetostudytheerrorofthedigitalcommunicationsystem. TransmitMPSKsymbolsoveraAWGNchannelandgenerateanSEPVsaverage SNR(indB)plotwhichcomparesBPSK,QPSKand8PSKschemes.(4marks) SOLUTION:

MATLAB CODE IMPLEMENTATION


for j= 1 :7 snr(j)= 5+(j-1)*5; r= 10^(snr(j)/20); %Source to Noise Ratio %Ratio % Error in BPSK % Error in

error_b(j)= qfunc(sqrt(2*r));

error_q(j)= 2*qfunc(sqrt(2*r)) - (qfunc(sqrt(2*r)))^2; QPSK error_m(j)= 2*qfunc(sqrt(6*(sin(pi/8))^2*r)); end semilogy(snr,error_b,'color','blue'); ylim([10^(-8) 1]); hold on semilogy(snr,error_q,'color','black'); hold on semilogy(snr,error_m,'color','yellow');

% Error in MPSK

You might also like