Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

% Use MATLAB to build a simulation of Quiz 2.3. simulate the transmission % of 10000 packets, each containing 100 bits. Count the number of

image text in transcribed

image text in transcribed

% Use MATLAB to build a simulation of Quiz 2.3. simulate the transmission % of 10000 packets, each containing 100 bits. Count the number of packets % that abilities. Also calculate the probability of a packet is decoded % correctly. Compare your numbers from MATLAB with your theoretical % calculation. (Hint: look at Example 2.25.) -close all -clear all clc x = randi ( [0 1] , 100, 10000) ; numel (X) -nume l (X (find (--1 ) ) ) for i-1 I for i-1 I Quiz 2.3 packets containing 100 bits are transmitted over a communication link. A Data transmitted bit is received in error (either a 0 sent is mistaken for a l, or a is mistaken for a 0) with probability c 0.01, independent of the correctness of any other bit. The packet has been coded in such a way that if three or fewer bits are received in error, then those bits can be corrected. If more than three bits are received in error, then the packet is decoded with errors. 1 sent (a) Let B ,100- denote the event that a received packet has k bits in error and 100 k correctly decoded bits. What is P Ek.100-k for k-0,1,2,3? (b) Let C denote the event that a packet is decoded correctly. What is P[C]

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

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions