Question: Simulate the binary communication channel described in Problem 2 for 100000 transmitted bits. For each bit, first use the uniform random number generator above to
Simulate the binary communication channel described in Problem 2 for 100000 transmitted bits. For each bit, first use the uniform random number generator above to determine whether the transmitted bit is a 0 or a 1, then use the uniform random number generator to determine whether the transmitted bit is received correctly or incorrectly. The program should output the probability that a 0 is received, the probability that a 1 was transmitted given that a 1 was received, and the probability of an error. Submit a printout of your code and the output of the program.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
