[Solved] EE5390 Homework1

$25

File Name: EE5390_Homework1.zip
File Size: 150.72 KB

SKU: [Solved] EE5390 Homework1 Category: Tag:
5/5 - (1 vote)

The following videos might be useful for problem 1: https://www.youtube.com/watch?v=ew_CbNkxzYg and https://www.youtube.com/watch?v=ywduYSla88k.

Exercise 1.1 (Jointly typical sets). Let pXY be any joint distribution on X Y. For any 0 and positive integer n, define the jointly typical set q !

where xnynpa,bq is the number of locations i P t1,2,,nu for which xi a and yi b.

Let Xn,Y n be jointly distributed such that Xi,Yi pXY for all i whereas pXi,Yiq is independent of all other pXj,Yjq for all j i.

  1. Prove that limn8 Prrpqs 0
  2. Show that for all g : X Y R and all pxn,yn T pnq pXY q,

q

  1. Use the above to obtain upper and lower bounds on |.

Exercise 1.2 (Implementing compression). The shared folder contains files with characters randomly drawn from the set ta,b,c,d,eu. You must write a program to compress and decompress this file.

  1. Write a program to compute the empirical type of the file, i.e., the fraction of occurrence of various symbols in the file. Also compute the entropy.
  2. Using the above type, design the Shannon, Huffman and Shannon-Fano-Elias codes for this file. You can compute these on paper. Show all the steps.
  3. Use the designed codes to compress the attached file.
  1. Decode the compressed file, and verify that you get back the original file
  2. Find the length of the compressed sequence, and compare this with the entropy.

Exercise 1.3. Repeat the same as in Problem 2 for the corresponding file in the folder for problem 3.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] EE5390 Homework1[Solved] EE5390 Homework1
$25