Difference between revisions of "2S2122 Activity 3.1"

From Microlab Classes
Jump to navigation Jump to search
Line 197: Line 197:
 
=== Problem 3.c Binary Cascade Channel ===
 
=== Problem 3.c Binary Cascade Channel ===
  
 +
The figure below shows a '''Binary Cascade Channel (BCC)'''.
 +
 +
[[File:Bsc cascade.PNG|frame|center|Binary Cascade Channel (BCC)]]
 +
 +
A BCC works like an intervening transmitter in between. Think like repeaters for routers. The source sends messages first to the first receiver. Then, the first receiver sends the same message to the second receiver. Assume that the source and the second receiver and independent of each other. Determine the following:
  
 
<math> </math>
 
<math> </math>
  
 
== Huffman Coding ==
 
== Huffman Coding ==

Revision as of 21:37, 2 March 2022

Problem 1 - The Complete Channel Model (2 pts.)

Answer comprehensively and do the following:

1. Draw the complete channel model. (0.2 pts)

2. What is the source? (0.2 pts)

3. What is the channel? (0.2 pts)

4. What is the receiver? (0.2 pts)

5. What are the encoder and decoder? (0.2 pts)

6. What are codebooks? (0.2 pts)

7. What is coding efficiency? (0.2 pts)

8. What is the maximum capacity of a channel? (0.4 pts)

9. What are symbol rates? (0.4 pts)

10. Where is Waldo? (if we like your answer you get 0.2 pts extra)

Problem 2 - Review of BSC (2 pts.)

1. Draw the BSC channel with correct annotations of important parameters and . (0.1 pts) 2. Fill up the probability table in terms of the important parameters: (0.1 pts each entry)

Probability Term Function

3. Fill up the table below with the measures of information. Answer only in terms of and parameters (and of course constants). When necessary you can use "let be ...". Also, answer with equations that are programming friendly. Answering the simplified version merits half points for that part. (0.1 pts per term)

Information Measure Function

4. Explain why when regardless of varying the source probability distribution . (0.2 pts.) 5. Explain what does negative information mean and when can it happen? (0.2 pts.) 6. Explain why means information from the receiver can short-circuit back to the source. (0.1 pts.)

Problem 3 - CRAZY Channels

Problem 3.a Binary Erasure Channel (2 pts.)

A Binary Erasure Channel (BEC) is shown below:

Binary Erasure Channel

BEC is an interesting channel because it has 3 different outputs. The received values , , and . This channel assumes that we can erase or throw unwanted values into the trash bin. It's worth investigating! 😁 Show your complete solutions and box your final answers.


1. Fill up the table below but show your solutions. Solve for each probability first then summarize your results in the table. Answers should be in terms of and only. (0.2 pts. each term)

Probability Term Function

2. Determine the mutual information on a per outcome basis. Fill up the table below but show your solutions. Answers should be in terms of and only. Answers should be in 1 term only . Not following instructions results in -0.05 pts.(0.2 pts. each term)

Information Term Function

3. What is the average mutual information ? (0.2 pts.)

4. What is the maximum channel capacity ? When does it happen? (0.2 pts.)

5. What are the pros and cons of BEC compared to BSC? Let's assume is channel noise. (0.2 pts.)

Problem 3.b Binary Error and Erasure Channel

Below is a Binary Error and Erasure Channel (BEEC) . It's a direct combination of BSC and BEC. Have fun 🐔

Binary Error Erasure Channel (Yikes...)

This channel is pretty much the same. The only difference is that bit flips are now accounted for. Just in case the erasure decoder is not perfect.

1. Fill up the table below but show your solutions. Solve for each probability first then summarize your results in the table. Answers should be in terms of , , and only. (0.2 pts. each term)

Probability Term Function

2. Determine the following measures of information. Fill up the table below but show your solutions. Answers should be in terms of , , and only. Answers should be programming friendly . Not following instructions results in -0.05 pts.(0.3 pts. each term). You can write "let be ... something" if necessary.

Information Term Function

3. Based on your answers in 3b.2, analyze and interpret, what does an erasure channel do with noise?

Problem 3.c Binary Cascade Channel

The figure below shows a Binary Cascade Channel (BCC).

Binary Cascade Channel (BCC)

A BCC works like an intervening transmitter in between. Think like repeaters for routers. The source sends messages first to the first receiver. Then, the first receiver sends the same message to the second receiver. Assume that the source and the second receiver and independent of each other. Determine the following:


Huffman Coding