Simulation of the Performance of Binary Antipodal Signals Recall that in a binar
ID: 1810510 • Letter: S
Question
Simulation of the Performance of Binary Antipodal Signals Recall that in a binary antipodal communication system, the transmitted signals are s1 = and s2 = - Hence the demodulated received signal is in the following form: where n is a zero-mean Gaussian random variable with variance sigma2 = no/2. Note that the average signal-to-noise ratio is SNR = No. We assume that the signals are equiprobable. With this assumption, the optimal detector makes a decision by comparing r with the threshold value of zero. Now we will simulate the performance of this communication system using Matlab. Assume that epsilon b = 1 and N0 =1. First generate 107 random bits, i.e., a random sequence of 0's and 1's. You use the random number generator function in Matlab rand which gives a random value chosen form the interval For instance your decide that the binary data is o if rand o, then the decisions is made that the transmitted bit is 1. Check if a wrong decision is made. Perform steps 3 and 4 for each generated bit and count the number of wrong decisions. Divide the total number of wrong decisions (ie.. bit errors) by 107 to obtain an estimate of the probability of error. Note the probability of error obtained above is for the case of 1. Obtain the probability of error estimates at other values of by repeating the same steps for N0 =1/2,1/3,1/4,1/5,1/6,1/7,1/8,1/9,1/10. Plot these values of the probability of error in the logarithmic scale as a function a function of 10 log1 0 epsilon b/No similarly as in Figure 4.2-5 on page 177 of the textbook. Plot also the analytical probability of error expression Q and compare the results.Explanation / Answer
www.hit.ac.il/staff/commEng/Uri_Mahlab/simindigialcomm5.ppt
this will help you