Difference between revisions of "2S2122 Activity 3.1"

From Microlab Classes
Jump to navigation Jump to search
Line 119: Line 119:
 
|}
 
|}
  
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 <math> p </math> and <math> \gamma </math> only. (0.2 pts. each term)
+
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 <math> p </math> and <math> \gamma </math> only. '''Answers should be in 1 <math> \log_2 (\cdot) </math> term only '''. Not following instructions results in -0.05 pts.(0.2 pts. each term)
  
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! scope="col"| Probability Term
+
! scope="col"| Information Term
 
! scope="col"| Function
 
! scope="col"| Function
 
|-
 
|-
Line 148: Line 148:
 
=== Problem 3.b Binary Error and Erasure Channel ===
 
=== 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 🐔
 +
 +
[[File:Binary error erasure channel.PNG|frame|center|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 <math> p </math>, <math> \gamma </math>, and <math> \epsilon </math> only.  (0.2 pts. each term)
 +
 +
{| class="wikitable"
 +
|-
 +
! scope="col"| Probability Term
 +
! scope="col"| Function
 +
|-
 +
| style="text-align:center;" | <math> P(r=0) </math>
 +
| style="text-align:center;" |
 +
|-
 +
| style="text-align:center;" | <math> P(r=1) </math>
 +
| style="text-align:center;" |
 +
|-
 +
| style="text-align:center;" | <math> P(r=*) </math>
 +
| style="text-align:center;" |
 +
|-
 +
|}
 +
 +
2. Determine the following measures of information. Fill up the table below but show your solutions. Answers should be in terms of <math> p </math>, <math> \gamma </math>, and <math> \epsilon </math> only. '''Answers should be programming friendly '''. Not following instructions results in -0.05 pts.(0.3 pts. each term). You can write "let <math> q </math> be ... something" if necessary.
 +
 +
{| class="wikitable"
 +
|-
 +
! scope="col"| Information Term
 +
! scope="col"| Function
 +
|-
 +
| style="text-align:center;" | <math> H(R) </math>
 +
| style="text-align:center;" |
 +
|-
 +
| style="text-align:center;" | <math> H(R|S) </math>
 +
| style="text-align:center;" |
 +
|-
 +
| style="text-align:center;" | <math> I(R,S) </math>
 +
| style="text-align:center;" |
 +
|-
 +
| style="text-align:center;" | <math> H(R,S) </math>
 +
| style="text-align:center;" |
 +
|-
 +
|}
  
 +
3.
  
  

Revision as of 20:45, 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.


Problem 3.c Binary Cascade Channel


Huffman Coding