Tut10 2
Tut10 2
Tutorial 10
Date: 13th Oct. 2023
X(t) = sin(2πF t)
Is X(t) WSS?
2. A random process X(t) is defined by
X(t) = A cos(2πfc t)
x(t)
T0 /2
T0
td
3. The square wave x(t) of constant amplitude A, period T0 and delay td rep-
resents the sample function of a random process X(t). This is illustrated
in Figure 1. The delay is random and is described by the pdf
1/T0 for 0 ≤ td < T0
fTd (td ) =
0 otherwise.
K Vasudevan Faculty of EE IIT Kanpur ([email protected]) 2
(a) Determine the mean and autocorrelation of X(t) using ensemble av-
eraging.
(b) Determine the mean and autocorrelation of X(t) using time averag-
ing.
(c) Is X(t) WSS?
(d) Is X(t) ergodic in the mean and the autocorrelation?
SX (f )
δ(f )
1
f
−f0 f0
T0 ∞
1
Z X
= p(t − kT0 − td ) dtd . (5)
T0 td =0 k=−∞
t − kT0 − td = x (6)
we get
∞ Z t−kT0
1 X
E[X(t)] = p(x) dx. (7)
T0 x=t−kT0 −T0
k=−∞
Substituting
t − kT0 − td = x (11)
we get
∞ ∞
1 X X
E[X(t)X(t − τ )] =
T0
k=−∞ j=−∞
Z t−kT0
p(x)p(x + kT0 − τ − jT0 ) dx.
x=t−kT0 −T0
(12)
K Vasudevan Faculty of EE IIT Kanpur ([email protected]) 5
Let
kT0 − jT0 = mT0 (13)
Substituting for j we get
∞ ∞
1 X X
E[X(t)X(t − τ )] =
T0
k=−∞ m=−∞
Z t−kT0
p(x)p(x + mT0 − τ ) dx. (14)
x=t−kT0 −T0
p(t)
(a)
A
T0 /2 T0
Rp (τ )
(b)
A2 T0 /2
−T0 /2 T0 /2
RX (τ )
(c)
A2 /2
−T0 /2 T0 /2
Since the random process is periodic, the time-averaged mean is given by:
Z td +T0
1
< x(t) > = x(t) dt
T0 t=td
K Vasudevan Faculty of EE IIT Kanpur ([email protected]) 6
A
= (16)
2
independent of td . Comparing (9) and (16) we find that X(t) is ergodic
in the mean.
The time-averaged autocorrelation is given by:
T0 /2
1
Z
< x(t)x(t − τ ) > = x(t)x(t − τ ) dt
T0 t=−T0 /2
∞
1 X
= Rg (τ − mT0 ) (17)
T0 m=−∞
↽ |P (f )|2 ⇀
Rg (τ ) = g(t) ⋆ g(−t) ⇀ ↽ p(t) ⋆ p(−t) = Rp (τ ). (19)
Therefore, comparing (15) and (17) we find that X(t) is ergodic in the
autocorrelation.
4. Solution: The psd of X(t) can be written as:
|f |
SX (f ) = δ(f ) + 1 − . (20)
f0
We know that
A rect (t/T0 ) ⇀
↽ AT0 sinc (f T0 )
⇀ A2 T02 sinc2 (f T0 )
⇒ A rect (t/T0 ) ⋆ A rect (−t/T0 ) ↽
|t|
⇒ A2 T0 1 − ⇀
↽ A2 T02 sinc2 (f T0 ). (21)
T0
Applying duality
|f |
2
A f0 1− ⇀
↽ A2 f02 sinc2 (tf0 ). (22)
f0
Thus
E[Z(t)] = A
RZ (τ ) = E[Z(t)Z(t − τ )] = A2 + RY (τ ). (26)
E[X(t)] = 1. (27)
Hence the dc power (contributed by the delta function of the psd) is unity.
The ac power (contributed by the triangular part of the psd) is f0 .
The covariance of X(t) is
It is clear that
f0 for τ = 0
KX (τ ) = (29)
0 for τ = n(k/f0 ), n, k 6= 0
where n and k are positive integers. Thus, when X(t) is sampled at a rate
equal to f0 /k, the samples are uncorrelated. However the samples may
not be statistically independent.
5. Solution: Since Sk and α are independent:
∞
X
E[X(t)] = E[Sk ]E[p(t − kT − α)]
k=−∞
= 0 (30)
where, for the given binary phase shift keying (BPSK) constellation
RX (τ ) = E[X(t)X(t − τ )]
∞
X ∞
X
= E Sk p(t − kT − α) Sj p(t − τ − jT − α)
k=−∞ j=−∞
∞
X ∞
X
= E[Sk Sj ]E[p(t − kT − α)p(t − τ − jT − α)]
k=−∞ j=−∞
X∞ X∞
= A2 δK (k − j)
k=−∞ j=−∞
1 T
Z
× p(t − kT − α)p(t − τ − jT − α) dα
T α=0
A2 T
∞
X Z
= p(t − kT − α)p(t − τ − kT − α) dα (32)
T α=0
k=−∞
x = t − kT − α. (34)
A2 t−kT
∞
X Z
RX (τ ) = p(x)p(x − τ ) dx. (35)
T x=t−kT −T
k=−∞
A2 ∞
Z
RX (τ ) = p(x)p(x − τ ) dx
T x=−∞
A2
= Rp (τ ) (36)
T
where Rp (·) is the autocorrelation of p(·).