Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help with the Matlab code for this HW assignment. I know I can generate a binary random number using the x=rand(1) 2.5.1 The binary

Please help with the Matlab code for this HW assignment. I know I can generate a binary random number using the x=rand(1)

imageimage

2.5.1 The binary communication channel A number of problems naturally involve the use of conditional probability and/or Bayes' rule. The binary communication channel, which is an abstraction for a com- munication system involving binary data, uses these concepts extensively. The idea is illustrated in the following example. Example 2.12: The transmission of bits over a binary communication channel is repre- sented in the drawing below, where notation like OS, OR ... is used to denote events "0 Pr[OR0S] = 0.95 Os Pr[0] = 0.5 Pr[15] = 0.5 Transmitter = Pr[1R1s] = 0.90 = Channel = Pr[0R1s] = 0.10 Pr[1R 0s] = 0.05 OR sent," "O received," etc. When a 0 is transmitted, it is correctly received with proba- bility 0.95 or incorrectly received with probability 0.05. That is Pr[0r|0s] = 0.95 and Pr[1R|0S] 0.05. When a 1 is transmitted, it it is correctly received with probability 0.90 and incorrectly received with probability 0.10. The probabilities of sending a 0 or a 1 are denoted by Pr[0s] and Pr[1s] and are known as the prior probabilities. It is desired to compute the probability of error for the system. 1R Receiver This is an application of the principle of total probability. If two events A and A2 form a partition, then (2.15) can be written as Pr[B] = Pr[B|A] Pr[A1] + Pr[B|A2] Pr[A2] Since the two events 0s and 1s are mutually exclusive and collectively exhaustive, they can be identified with the events A and A2 and the event B can be taken to be the event that an error occurs. It then follows that Pr[error] Pr[error|0s] Pr[0s] + Pr[error|1s] Pr[1s] Pr[1R|0s] Pr[OS] + Pr[OR 1s] Pr[1s] (0.05) (0.5) + (0.10) (0.5) = 0.075

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Principles Of Information Security

Authors: Michael E. Whitman, Herbert J. Mattord

7th Edition

035750643X, 978-0357506431

More Books

Students also viewed these Databases questions

Question

Find the derivative of the function. y = e x-4

Answered: 1 week ago

Question

If X has distribution function F(t) = 0, t Answered: 1 week ago

Answered: 1 week ago

Question

Describe ERP and how it can create efficiency within a business

Answered: 1 week ago