


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Name: _______________________________
UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences
Professor David Tse Spring 2000
(7:00-9:00 p.m., 8 Wednesday 2000)
Please explain your answers carefully. There are 100 total points and Question 4, part c) is a bonus.
Problem 1 (30 points)
[8 pts.] 1a) Argue that for any binary code satisfying the prefix-free condition, the codeword lengths must
satisfy the Kraft’s inequality:
.
[6 pts.] b) Is it true that for any source, the codeword lengths for the binary Huffman code must satisfy Kraft’s inequality with equality? Explain.
[6 pts.] c) Suppose now the coded symbols are from a general alphabet of size. The Kraft inequality becomes:
.
Is it true that the Huffman code must satisfy Kraft’s inequality with equality? Explain.
[10 pts.] d) Consider a source for which the letter probabilities are of the form , where is an integer. Con- struct the Huffman code and give the corresponding codeword lengths. Justify that the code is opti- mal.
{ li }
2 – l^ i ≤ 1 i
D – li i
2 – k^ k
Let be a zero-mean WSS Gaussian process with autocorrelation function.
[6 pts.] a) Find its power spectral density.
[8 pts.] b) Suppose we sample this process every seconds. Is the resulting discrete-time process Gaussian? WSS? If so, compute its autocorrelation function.
[8 pts.] c) Let be the sampled process. We perform DPCM quantization by LLSE prediction of from
. Find the distribution of the residual error.
[8 pts.] d) The residual error is quantized by a single bit quantizer to values. Find the optimal choice of
as a function of. What happens when?
{ X t ( )} Rx ( )τ = e – τ
{ Yn } Yn
Yn – 1 Yn – Y ˆ^ n
± ∆ ∆ T T → 0
A data stream is partitioned into blocks of two bits. A block is modulated onto a signal waveform, say on. Consider two modulation schemes:
The waveform for the first bit is on , and the one for the second bit on. The levels are
symmetric about 0.
[6 pts.] a) Sketch the possible signal waveforms for both schemes.
[14 pts.] b) Find an orthonormal basis for each scheme (on ). What are the dimensions of the signal space? Sketch a geometric representation of the signal constellation.
[6 pts.] c) BONUS: An important measure of a modulation scheme is the minimum distance between the con- stellation points. For a given minimum distance , find the average energies required in both schemes. Which scheme is better in this respect? (You can assume that each of the four possible messages is equally likely.)
d