Lab COE-II List of Experiments
Lab COE-II List of Experiments
Lab COE-II List of Experiments
C. To be performed on MATLAB
1. Write a MATLAB program that does Huffman encoding for the given source symbols. The user needs only supply a probability vector that consists of all source symbol probabilities. The probability entries do not need to be ordered. Also write program to compute the entropy of the source and compare against the average Huffman codeword length. 2. Repeat the above exercise for Shannon Fano encoding. 3. Write a MATLAB program to compare the single input single output channel capacity under AWGN. 4. Write a program to illustrate encoding and decoding of Linear Block Code (LBC). Execute the MATLAB program to generate syndrome for erroneous codeword, the error pattern, and the corrected codeword. 5. A long binary message bit sequence is encoded using Hamming (7, 4) LBC. The coded bits are transmitted in polar signaling over an AWGN channel. The decoded result at the receiver is compared against the uncoded polar transmission. Write a MATLAB program to show the Bit Error Rate (BER) performance. 6. Write MATLAB programs and simulate following using Simulink in MATLAB (Plot the resulting waveforms using Scope): a. b. c. d. e. f. ASK FSK PSK QAM TDM PCM