Suppose that each bit is transmitted three times, with independent noise added on each transmission. Make your "overall" decision for each bit as the majority of the three individual decisions. What is the probability of a bit error for this system? For some hints on the analysis of this system, refer to Section 1.9, and Example 1.36 in particular. Or, you can just look at the sample space of repeating the experiment three independent times. What are the probabilities of the outcomes in this sample space? Which outcomes correspond to an error? From this, you should be able to compute the probability of an error.
Chapter 1: 1.8.2, 1.9.1, and 1.9.6.
(We will have a short quiz on February 14.)
Recall that the observations at the receiver are modeled as
x = s + n ,
where the signal (s) and noise (n) are independent, and where s, n take on values with the following probabilities:
n P[n] s P[s] -- ---- -- ---- -2 0.1 -1 0.5 -1 0.2 +1 0.5 0 0.4 +1 0.2 +2 0.1
We discussed various "decision rules" in class, where the purpose of a decision rule is to decide whether a -1 or a +1 was transmitted based on the observation of the "noisy received signal," x = s + n. In class, we also calculated the probability of a bit error (also called bit error rate or BER) using mathematical analysis. Now we will use MATLAB to simulate the digital communication system and evaluate the BER for three situations, as described below.
Sample MATLAB programs digcom1.m and digcom2.m are available to help you get started. These are the programs that we discussed in class on February 7.
What is the simulated BER for this system, for the cases of r = 1,
0.5, and 0 in your randomized decision rule?
Does the BER vary with r?
Compare your simulated BER with the analytical BER that you
derive in item 5 below.
Be sure to do enough runs in your simulation so that you can
accurately compare the simulated and analytical BERs.
Optional: If you would like, repeat this exercise using five transmissions of each bit, with majority decisions, and compare simulated and analytical BERs. (This is not required.)
For each of these three simulation cases, please submit printouts of your MATLAB programs, BER results from running your programs (including a listing of the number of "trials" or runs that were performed), and compare your simulated BER with the analytical BER. You should explain clearly and completely how the analytical BER is calculated for each case. If you do things correctly, you should obtain excellent agreement between the simulated and analytical BERs!
Hint: Derive the conditional probability of a bit error given that s = -1 was transmitted (as a function of r), and do the same given that s = +1 was transmitted. Then you should be able to combine these two conditional BERs to obtain the "total" BER, which will be a function of r.