Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Coding & Information Theory 4. (18%) (Entropy and Shannon-Fano Code) Given a sources with probabilities P: = 0.3, 0.2, 0.15, 0.15, 0.1, 0.1. (1) Calculate

Coding & Information Theory

image text in transcribed

4. (18%) (Entropy and Shannon-Fano Code) Given a sources with probabilities P: = 0.3, 0.2, 0.15, 0.15, 0.1, 0.1. (1) Calculate the entropy of S. (2) Find the word-lengths, average word-length, and efficiency of a binary Shannon-Fano code for S. (3) Let S have q equiprobable symbols. Find the average word-length L, of an r-ary Shannon- Fano code for 5", and verify that -n - H,() as n . 5. (18%) (Binary Symmetric Cannel) Let I be the BSC. Its input alphabet A = Z2 ={0,1} and its output alphabet B = Z2 ={0,1}. Its probabilities have the form Po = Pr(a = 0) = p and p. = Pr(a = 1) = p =1-p for some p such that 0 sp $ 1. Its channel matrix has the form Poo Po1 M= PLO PL for some p where 0 SPS 1, where Pij is forward probability. 4. (18%) (Entropy and Shannon-Fano Code) Given a sources with probabilities P: = 0.3, 0.2, 0.15, 0.15, 0.1, 0.1. (1) Calculate the entropy of S. (2) Find the word-lengths, average word-length, and efficiency of a binary Shannon-Fano code for S. (3) Let S have q equiprobable symbols. Find the average word-length L, of an r-ary Shannon- Fano code for 5", and verify that -n - H,() as n . 5. (18%) (Binary Symmetric Cannel) Let I be the BSC. Its input alphabet A = Z2 ={0,1} and its output alphabet B = Z2 ={0,1}. Its probabilities have the form Po = Pr(a = 0) = p and p. = Pr(a = 1) = p =1-p for some p such that 0 sp $ 1. Its channel matrix has the form Poo Po1 M= PLO PL for some p where 0 SPS 1, where Pij is forward probability

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

Step: 3

blur-text-image

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

Professional Visual Basic 6 Databases

Authors: Charles Williams

1st Edition

1861002025, 978-1861002020

More Books

Students also viewed these Databases questions