Académique Documents
Professionnel Documents
Culture Documents
COMS4100/7105:
Digital Communications
Mandar Gujrathi
August 2, 2011
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
Overview
• Random Variables
• Random Processes
• Noise
• Digital Communications.
Random Variables
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
denoted by X (.)
X (s2 )
s 2 Tail
x1 1
x2 0
s1 Head
S X {1,0}
X (s1)
Sample Space S
• In one to one mapping its basically the same event with different
names.
Hence, P[X (s) = xi ] = P[sj : X (sj ) = xi ] = P{si }
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
exponential distribution
0.35
0.3
0.25
0.2
px(x)
0.15
0.1
0.05
0
0 a 5 10 15 20 25 30
b x
Z b
P[a ≤ X ≤ b] = fX (x)dx
a
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
• Properties
• PDF/ PMF must be non negative
fX (x) ≥ 0
Expectation
• Expectation E [X ], Mean µ
X
E [X ] = xi fX [xi ]
i
Z ∞
= xfX (x)dx
−∞
Z ∞
= g (x)fX (x)dx
−∞
• Expectation is linear
nth moment
• Expectation E [X n ].
X
E [X ] = xin fX [xi ]
i
Z ∞
= x n fX (x)dx
−∞
• Variance, σ 2
σ 2 = E [(X − E [X ])2 ]
Z ∞
= (X − E [X ])2 fX (x)dx
−∞
HH
1
TH
TT
1
HT x
S XY
S
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
• But
we are
mapping
from the same sample space
X (si ) x
S = i
Y (si ) yi
• Two random variables defined on the same sample space are Jointly
distributed.
1 0 0 1
• SX ,Y = , , ,
0 1 0 1
• These are discrete events, so joint PMF
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
Joint PMF
j = 1, . . . , Ny
0 ≤ fX ,Y [xi , yj ] ≤ 1
Ny
Nx X
X
fX ,Y [xi , yj ] = 1
i=1 j=1
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
Joint distributions
r =1
Sample Space S
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
Joint distributions
r =1 (r , θ)
Sr ,θ = {(r , θ) : 0 ≤ r ≤ 1, 0 ≤ θ ≤ 2π}
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
Random Processes
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
• Random Variables
X (s2 )
s 2 Tail
x1 1
x2 0
s1 Head
S X {1,0}
X (s1)
Sample Space S
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
S = {(H, H, T , . . . ), (H, T , H, . . . ), (T , T , H, . . . ), . . . }
= {x1 , x2 , x3 , . . . }
x1 = (x[0], x[1], . . . )
Random process
1.5
X[n,s1] = x1[n]
x1[n] 1
0.5
0
0 2 4 6 8 10 12 14 16 18 20
n
1.5
X[n,s2] = x2[n]
1
x2[n]
0.5
0
0 2 4 6 8 10 12 14 16 18 20
n
1.5
X[n,s3] = x3[n]
1
x3[n]
0.5
0
0 2 4 6 8 10 12 14 16 18 20
n
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
Random process
• A sample space or ensemble composed of functions of time is called
X (t, s), − T ≤ t ≤ T
xj (t) = X (t, sj )
x1 ( t )
x1 ( t k )
s1
s2 x 2 (t ) x 2 (t k )
s3
Sample Space x3 (t )
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
Random process
time t is defined as
X (t) = E [X (t)]
process
Ergodic Process
E [X (t)] = hx(t)i = µx
2
= (x(t) − µx )2 = σx2
E X (t) − µx Variance
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
• Autocorrelation
• Autocovariance
• Crosscorrelation
• Cross covariance
Operations
stationary.
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
• Using joint p.d.f, first order distribution function, i.e. for n = 1 will
be
fX (t1 +τ ) (x) = fX (t1 ) (x)
• If t1 = 0, then
fX (τ ) = fX (0) (x) ∀τ
• Since the PDF does not depend on a particular time, so should not
mean/expectation. Therefore
Z ∞
E [X (t)] = xfX (x)dx = µx = constant
−∞
• If τ = −t1 we have,
• This leads to
RX (t1 , t2 ) = RX (t2 − t1 )
Covariance
• If it is WSS,
To summarise
• A second order stationary process can be wide-sense stationary but
RX (τ ) = E [X (t + τ )X (t)] ∀t
Properties
• Autocorrelation is an even function
RX (τ ) = RX∗ (−τ )
100
80
60
autocorrelation
40
20
−20
−40
−100 −80 −60 −40 −20 0 20 40 60 80 100
shift
>> x = randn(1,101);
>> [a, shift] = xcorr(x);
>> plot(shifts,a);
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
Properties of correlation
τ =0
E [(X (t + τ ) + X (t))2 ] ≥ 0
E [X 2 (t + τ )] + E [X 2 (t)] + 2E [X (t + τ )X (t)] ≥ 0
RX (0) ≥ |RX (τ )|
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
Joint stationary
∗
RXY (τ ) = RYX (−τ )
Example
Homework
stationary process as
Rvz (τ ) = v (τ ) ∗ z(−τ )
Quadrature Filters
Quadrature Filters
• The transfer function of a Quadrature filter can be written as
HQ (f ) = −jsgn(f ) = −j f >0
= +j f <0
• Hence,
HQ ( f )
j
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
Quadrature Filters
1
F[sgn(t)] =
jπf
1
F[] = sgn(−f ) = −sgn(f )
jπt
j 1
F −1 [−jsgn(f )] = =
jπt πt
If F(x(t)) = X (f ) then F(X (t)) = x(−f ) Duality
1
hQ (t) = .
πt
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
• The integral formula is known as the Hilbert transform and g (t) and
transform of ĝ (t).
orthogonal: Z ∞
g (t)ĝ (t)dt = 0.
−∞
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
Noise
Thermal Noise
• Produced by random motion of charged particles in conducting
media.
• In 1928, Johnson & Nyquist studied noise observed in resistors
Thermal Noise
GV (f ) = 2RkT V 2 /Hz.
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
N0
RW (τ ) = δ(τ )
2
N0
GW (f ) =
2
RW (τ ) = 0 t 6= 0
average power.
• Filtered white noise is called coloured noise.
RV PMF Cont. RV PDF Operations MRV Joint Dist. Process Operations Types Quad filts Noise DC DC
Coloured Noise
N0
• Suppose we pass a Gaussian white noise with SD 2 through an LTI
filter with transfer function H(f ).
• Resulting output is
N0
Gy (f ) = |H(f )|2
2
N0 −1
Ry (τ ) = F [|H(f )|2 ]
2
Signal-to-Noise Ratio
S(t) is the noise-free signal (or process) and N(t) is the noise.
• We usually assume that:
Signal-to-Noise Ratio
E [|Y (t)|2 ] = PS + PN
• so the signal and noise power add also in the received signal.