Solutions To Selected Problems
Solutions To Selected Problems
Saif K. Mohammed
Revision history:
2012-02-01: Tasks from Tutorial 1.
Linkoping 2012
Note: This material is prepared for the 2012 version of the Master course TSKS04 Digital
Communication Continuation Course. Most of it is however borrowed from the 2011 version
prepared by Mikael Olofsson.
For almost every task planned for tutorials you find either hints and answers or complete
solutions. For the tasks where we give complete solutions, we have chosen to adjust the
notations to concur with the notation that has been used in the lectures.
This document will evolve during the course as the tutorials go by.
This version of the document was compiled February 1, 2012.
This document was prepared using LATEX2 with the aid of TeXnicCenter on an Dell PC
running CentOS 5. The figures were produced using Xfig (from xfig.org). Finally, the plots
were produced using Matlab (from MathWorks, Inc.).
Contents
Tutorial 1 1
Task 2.7 (Solution) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Task 2.8 (Hints and answer) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Task 2.10 (Hints and answer) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Task 2.11 (Solution) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Task 2.12 (Hints) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Task 2.13 (Solution) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Task 2.14 (Hints) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
i
ii
1
Tutorial 1
Task 2.7
Task
Let v(t) denote a real passband signal, with Fourier transform V (f ), specified as follows
for negative frequencies:
(
f + 101, 101 f 99,
V (f ) =
0, f < 101 and 99 < f 0.
holds.
d. Repeat c for f0 = 101 Hz.
Solution
a. The passband signal is real. Therefore we have
V (f ) = V (f ) (conjugate symmetric)
And totally
(
101 |f |, 99 |f | 101,
V (f ) =
0, else.
101 99 99 101
b. We use the following property of the Fourier transform, which holds regardless of
if v(t) is real or complex:
v(t) = v(t) V (f ) = V (f ).
Obviously, the second relation holds (known from a.) in this case, and therefore
the first does as well.
2
c. We want the determine vI (t) and vQ (t). For these signals, we have
2v(t) cos(2f0 t) = vI (t) + vI (t) cos(4f0 t) vQ (t) sin(4f0 t),
2v(t) sin(2f0 t) = vQ (t) vI (t) sin(4f0 t) vQ (t) cos(4f0 t),
which corresponds to
1
V (f + f0 ) + V (f f0 ) = VI (f ) + passband signal around 2f0 ,
2
j
V (f + f0 ) V (f f0 ) = VQ (f ) + passband signal around 2f0
2
in the frequency domain. By filtering through ideal lowpass filters with cutoff
frequency 1, we get
1
VI (f ) = V (f f0 ) + V (f + f0 ) I{|f |1} (f ) = 2I{|f |1} (f ),
2
j
VQ (f ) = V (f f0 ) V (f + f0 ) I{|f |1} (f ) = j 2f I{|f |1} (f ) = jf VI (f ).
2
We inverse transform and get
vI (t) = 8 sinc(2t),
(
2 cos(2t)sinc(2t)
8 d , t 6= 0,
vQ (t) = sinc(2t) = t
2 dt 0, t = 0.
As a comment: Sometimes people define the function
(
cos(x)sinc(x)
d x , x 6= 0,
cosc(x) = sinc(x) =
dx 0, x = 0.
Here is a graph of the sinc and cosc functions for those interested:
1.5
sinc(x)
cosc(x)
1
0.5
0.5
1.5
10 8 6 4 2 0 2 4 6 8 10
d. Here we have the carrier frequency 101 Hz instead of 100 Hz. Denote the baseband
representation w.r.t reference frequency of 100 as
We have
v(t) = Re{ 2v (t)ej202t } = Re{ 2v(t)ej200t }.
Thus, we get
v (t) = v(t)ej(t) ,
a few times.
4
Task 2.8
Hints
a. One of the signals is (purely real baseband representation), and the other one can
be interpreted using a time dependent phase, in the same way as in Task 2.7d. Alter-
natively, it is possible to take the problem to the frequency domain and to use known
transform relations and then inverse transform.
b. You should definitely solve the problem in the frequency domain. (Consider the
complex baseband signal u(t) and v(t). )
c. You can use Parsevals relation and determine the inner product in the frequency
domain.
Z +
< up , vp >= Re{< u, v >} = Re{ U (f )V (f )df }.
Answer
a. Baseband representation: u(t) = sinc(2t), v(t) = sinc(t)ej(t1/4) .
b. up has bandwidth 2 Hz and vp has bandwidth 1 Hz.
c. The inner product is 1/ 8.
d. yp = 21 sinc(t) sin(101t + /4)
Task 2.10
Hints
The input to the baseband box are the I and Q components of up (t) w.r.t f1 (plus
double frequency terms that get filtered out by the baseband filters used in the box.)
The output of the box should be the I and Q components of yp (t) w.r.t f2 .
a. The baseband box is just the complex baseband filtering operation (see page 26-27
in the textbook).
b. Note that the difference between carrier frequencies can be interpreted as a time
dependent phase, in the same way as in Tasks 2.7d and 2.8a. This means that it is
not enough to filter. You need to modulate as well. There are several solutions to this
problem.
5
Answer
a. yc = 1/ 2(uc hc us hs ) and ys = 1/ 2(uc hs + us hc ).
b. First modulate by ejt to convert the reference frequency from fc + 1/2 to fc . Then
filter as in a. Then modulate by ejt to convert the reference frequency from fc to
fc 1/2.
Task 2.11
Task
Consider a pure sinusoid s(t) = cos(2fc t), which is the simplest possible example of a
passband signal with finite power.
a. Find the time-averaged PSD Rs (f ) and ACF rs ( ) proceeding from the definitions.
b. Find the complex envelope s(t), and its time-averaged PSD and ACF. Check that
Equation 2.70 holds for the passband and baseband PSDs.
Solution
We consider the deterministic signal as a stochastic process S(t) with only one realiza-
tion, s(t).
b. Using the obvious carrier frequency fc , the complex envelope S(t) has the only
realization
1
s(t) = .
2
This gives us the averaged ACF
1
rS ( ) = ,
2
6
Task 2.12
Hints
a. See Section 2.3.1.
c. Recall that WSS means constant mean, and ACF being only a function of the time
difference.
Task 2.13
Task
Notice that the given PSD is for the passband signal. The formulation of this task in
the course book does not follow the otherwise used notation of the book.
N0
RN (f ) = I W W ,
2 {fc 2 |f |fc + 2 }
where NI (t) and NQ (t) are i.i.d. processes with mean zero.
Solution
+
a. Let RN (f ) denote the PSD RN (f ) for positive frequencies, i.e.
+
RN (f ) = RN (f )I{f >0} (f ).
rN (t1 , t2 ) = C(t1 t2 ).
rN ( ) = E{N (t + )N (t)}
= rNI (t + , t) + rNQ (t + , t) cos(2fc )
+ rNI ,NQ (t + , t) rNQ ,NI (t + , t) sin(2fc )
+ rNI (t + , t) rNQ (t + , t) cos(2fc (2t + ))
rNI ,NQ (t + , t) + rNQ ,NI (t + , t) sin(2fc (2t + ))
The two component processes are independent and identically distributed with
mean zero. Then we can immediately draw the conclusion that we have
rN ( ) = 2rNI (, t) cos(2fc ) = C( ),
rN (, t) = E{N (t + )N (t)}
= rNI ( ) + rNQ ( ) + j rNQ ,NI ( ) rNI ,NQ ( )
= 2rNI ( ) = 2rNQ ( ),
1 N0
RNI (f ) = RNQ (f ) = RN (f ) = I W .
2 2 {|f | 2 }
Task 2.14
Hints
a. Follow the instructions given in the task.
9
c. Change the problem formulation in i) as follows: s(t)s (t ) has the same statistics
as s(t + T )s (t + T ) w.r.t mean function.