Convolution and Correlation
Convolution and Correlation
Xo) Y*(jo) (1.45)
This is called correlation theorem.
j ai,a Sytets_
n of Periodic or Power Signals
‘The cross-correlation Rl 1) for two periodic gnals x(0) and y(!) may be deh
i tically, the cross-correlati
of average form ‘of correlation. Mathematically, th lon of two, Petggn
“ng
4
7.9.2 Cross-correlatio
tnd y() of time period To is expressed a8
: Ty ‘"
J s@y"@-ndt "
0 72
odie signals is given by mo
Ryy(t)=
Another form of cross-correlation for two peri
Tal
J y@x*@-2)dt
0 ~Ty/2
: %,
Properties of crosscorreation fr periodic signals: The following athe pope
correlation for periodic or power signals. St,
1. If Ry) = 0,
1 We
ive. if — J xy*@dt=0
9 2 (4,
then the two signals are called orthogonal signals over the entire time igen»
The cross-correlation exhibits conjugate symmetry, teva
ie. Ro(t) = Rial) i
Proof: We have the cross-correlation between two signals x(t) and y( a5
Ry(a)= J x) y*(t-1) dt
~ (yy
Letting p = ¢ - 7 in Eq. (7.50), we get 2
Ry(t)= J x(p +7) y*(p) dp
a (15)
Also, we know that
Ry(t)= J y(t)x*(t-2) dt a as
Substituting p = ¢ in Eq, (7.52), we get, :
Ry(0)= J yp) x*(p- 1) dp (3)
R(t) = | y*(p)x(p +2) dp (i)
Comparing Eq, (7.51) with Eg. (7.54), we get
Ry ()=Ri (2) @?
Convolution and Correlation of Sign 303
raion, the ‘orrelation of two periodic signals is not commutative,
cou
Zine ® Ry(t) # Rul) (7.56)
i
* pocORRELATION
jon function gives the measure of similarity, regularity, match or coherence
i
au cand its time-delayed replica, This means that the autocorrelation function is a
i 4 oclaton function tis defined asthe comeaton ofa signal with isl.
jroo" aly the autocorrelation of a signal x(1) is given by
te m
ace '
Ryy(t) or R(t) = tim = S20 x'(t-2)dt (757)
‘
a
an
sion is defined separately for energy signals and for power or periodic signals
oso
correlation for Energy Signals
| energy signal x(). Then the autocorrelation of this signal is obtained by integrating
oe of the signal x(/) and the delayed version of its complex conjugate.
7 tically, it is written as
ol Auto
Pate
RO= j x(t) x" (t= 2) dt (1.58)
see is called the time-delay parameter In Eg. (758), the complex valued signal (0) is
te te postive direction, Ifthe signal) i shied bythe same period, +n negative
ay, the autocorlation is given by
Ra)= J xt+t) x Oat (759)
Froperties of autocorrelation of energy signals: Following are the properties of
‘ujocortelation for energy signals.
1. The autocorrelation exhibits conjugate symmetry,
ie RQ) = RCO (7.60)
‘This means that the real part of R() is an even function of t and the imaginary part of
R(t) is an odd function of 7.
Proof: The autocorrelation of an energy signal x(¢) is given by
R(t) = f x(t) x" (t-4)de (7.61)
Taking the complex conjugate, we have
R= [ *Ox-od (7.62)
P tt diesystems
sis. an
sms
Rene J x (t)a(t+t)dt
et F
= R(t) (using Eq. (7.59)) 4
Ra) = RD)
RS : 5
2, The value of autocorrelation of an energy signal at the origin (7 = © gig 4,
. energy of that signal, .
RO)= J Ix(NPdr=£
i
a (6,
]
Proof: We have,
R(t)= J x(t)x" (t= 1) dt
Putting 7 = 0 gives
RO)= fi x(t)x"(f) dt = j Ix(QP dt=E
. If Tis increased in either directions, the autocorrelation R(
R(q) increases. R(t) is maximum it 7 = 0, Mathematically,
IR(®| < R(0) for all ¢ a0
‘The autocorrelation R(2) and ESD WO) of an energy signal forms a Fourier transfor,
pair,
ie, RO — WO) ot Wf)
7.10.2 Autocorrelation for Periodic Signals
Consider a periodic signal x(0) with period To,
1) decreases. ft dee
=
(167)
The autocorrelation of x(t) over one periods
given by
1”
R@)=— J x()x"(t-2)at
~Ty
If vis in negative direction, then
Tyl2
R@)=— J M(t+7) x" (1) dt
1 siya
For any period 7, R(t) is given by
1a 6)
R)= lim — Jf xa"(e—2) at ce
TT m2
Properties of autocorrelation for
fies of
” periodic signals: Following are the properties
autocorrelation for periodic signals,Convolution and Cortlation of Signals + 305
sation exhibits conjugate symmetry,
: joo R(O) = RC) (7.69)
I
e have
' i; wel 1 72 :
= lim = t)x (t-7) dt
RO) fin | 30 (t-2)
17,
(2) = lim — (t) x(t -
RO jing J Foxe T)dt
1 72
ncn Hae TENS 3
RO = lim tJ ()x(t+ 2) dt= R(2)
R@=R C1)
+e astoconelation ofa power signal at origin gives the average power of that signal
G Tyd
1
ie RO = J Ix@Pat=P (170)
0 Ty
| Proof: Wehave,
Ro) =— J xe ¢-nar
Th ya
Putting t= 0, we get,
ee 1 WP
RO) =— | xX Od=— J jxoPar=P
0 iy Th win
43. The autocorrelation R() is maximum at origin,
ie IR) < RO) (1.71)
‘This means that the value of R(t) reduces as 7 increases from zero.
4, The autocorreation R(t) and PSD S(@) of a power signal forms a Fourier transform pair,
ie. RG) > S(@) of S(f) (172)
5, The autocorrelation is periodic with the same period as the periodic signal itself,
ie. R(@) = R(t + nih), n= 1, 2,3, .. an)
7.41 RELATION BETWEEN AUTOCORRELATION AND SPECTRAL
DENSITIES
The following are the relations between the autocorrelation R(2) and ESD yi f) and PSD S({).
L. The autocorrelation function R(t) of an energy signal (pulse) and its energy spectral
density (ESD), (A) forms 2 Fourier transform pai,
ia RO A)306
rp
signals and Systems
-correlati n of two energy signi (0) and 0 7
Ven
Ry (= J xy (fem df
a
Proo
re same, then the autocorrelation is given by
If both the functions a
xx (nel df= I XCDP ed ap
R= i
=F (FOP)
But ireph= v)
R= Flly(f)) > FRI = YW)
Re) 9 Wh
‘The autocorrelation function R(#) and the power spectral density SD), 5 )
rm a Fourier transform pair. ofa
R@ — SF)
signal fo tn
ie.
Proof: The autocorrelation function of a power (periodic) signal x(t) in = in
mtg
series coefficients is given as:
Riny= YS X,X.,e0"0"
where X,, X., are the exponential Fourier series coefficients.
R= z Ix,P elt?
Taking Fourier transform on both sides, we have
FIR@= | | y een | ie le
Interchanging the order of integration and summation, we get,
AR@I= S| XP J ern) "
=n S| 1X,P 6(@— nay) = 5 IX,P 3g mf)
REL
‘The RLS. is the PSD S(a) or S(f) of the periodic function x(1).
c FIR] = S(f)
, R@ = FUS(f)]
Rt) — Sf)v
Cenwvolution ang Correlation og
ignals
peTWe CONVOLUTION AND -
/ aattON
: \ CORRELATION
and correlation are closely related With the following Minor di
aio * sical time ‘plays the role of a g . ifferences:
vation, phys! Nmmy Variable and i disappears afte
gc e integral Sa :
Mu convolution, delay parameter, ‘7’ plays
ne g(t) is a function of the delay
tion May"
init
¢
fu ‘n arame
Parameter 7, Whereas, Convolution is a
come” of time f-
® the role of a dummy Variable,
jon can be obtained by convolving x(-1) and y*¢y,
A does not depend on which function is be
juti¢
ing shifted, whereas, correla
i i * ', COrre]
‘ conval! convolution is commutative. lation
7 ie
oes
y£CTION OF PERIODIC SIGNALS IN PRESE|
B coRRELATION
siodic signals in presence of random noise/AWGN
el
ce of ran is of great importance in
eres various applications in RADAR, SONAR detection, detection of
ve Cel in brain waves, the detection of cyclic components in ocean wave analysis,
* gc comtpO
NCE OF NOISE BY
etc. . . ‘ .
1 Gon techniques provide a powerful tool in the solution
¢
of the above problems,
al encountered in practice is a signal with random amy
, plitude variations. Such
spenise sign
i iodic signal.
related with any peri .
is une eriodic signal, n(t) represent the noise.
[et s() represent the p 1m
= lim — | s(t)n(t-r)dt=0
Ral) fim 7 J
et =m
184 Detection by Autocorrelation
las{) be the periodic signal mixed with noise n(t).
Signal will be
Tie eceived signal wil Si leenteen
tice the received signal y(t) is also periodic.
= 1
F = lim —fy() t-7) dt
f R@ jin pO
ae tin Jls(e) + n(e)] [se —2) + 00-2) dt
T30T T
RO = RO +R +RO+RO908 + Signals and ‘Systems
As s(f) and n(f) are uncorrelated, We have
RO=RO +R)
he autocorrelation function of a periodic signal is peridic ang that of
for large values of 7.
‘As s(f) is periodic and n(@) is non-periodic,
R,(@) is periodic and Ry (2) is arbitrarily small for large values of ¢,
Therefore, for sufficiently large values of 7, the autocorrelation ofa siven 5
calculated by the numerical techniques used for convolution; even on digital compa ea,
We know that th
function tends to zero
7.13.2 Detection by Cross-correlation 4
The detection of a periodic signal can be carried out by cross correlating the receive «
another periodic signal of the same frequency. Detection by cross-correlation ig “Seta yg
effective than by the autocorrelation, The disadvantage is that it is necessary ae Oi
frequency ofthe signal to be detected, beforehand. In many cases such’ as RADAR, 0
frequency is known beforehand. Let the received signal be re
yt) = 5) +n)
Let the locally generated signal of same frequency as that of s(t) be 1(0)
Seer
Ry = jim = Jo +n(t)] I(t = 7) dt
a eee
eed Ry) = Ry () + Ry (2)
If IG) and n(t) are uncorrelated,
Ry) = 0 oipatad
: : Ry(O)= Ry (2) «a
Itis clear that if the cross-correlatio eee
1 of the corrupted signal y(t) with it) yields a periodic sgn,
(0) must contain a periodic component of the same frequency as that of 1(),
Rome oo oh
y(t) = a
Hence, we can conclude th mt BelO)+ Ra)
. clude that :
cae hae whether a periodic component is present or not, for any vale
RO=R@
IMPORTANT FORMULAE
wy
1. Convolution of x(t) and
O=10 89) = Taerye- aConvolution and Correlation Of Signals * 309
ion 0 an x(t) * y()
con olution theorem: y X(@) Yo)
4 i 2 convolution theorem: 2nx(t) y(t) ——> X(@) * Xo)
0
f
rl energy . .
B= J Iatof ar= f 1xX(pP at
snrmalized POWET
ane OL *
P= x (= lim — J x(n? at
T3“T in
P= EGP
oe
«_parseval's theorems
payeigh’s Energy Theorem: B= J IX(A)P df
paseval’s Power Theorem: P=) [X,°
6, Energy spectral density (ESD)
vif) = KP
W4(A) = HAP wc)
1. Power spectral density (PSD)
s= EL w,P OU =n)
S(@) = 5 1x, 7 5(@—na)
i
Sf) = LHCPP SA)
8, For energy signals, R() <> WW)
For power signals, R() <> Sf)
9. Cross-correlation a
1 wg eaydt= lim & f xte+ayy"Qat
Rat) = lim {ny ana jmz J
Ry) = Rul
: we
x(t) and yt) are orthogonal if and only if Ry)is and §)
310° signal
40, Autocorrelation
RO= paoseona= fatto (oa
Ree RO
ace) ¢ RO) For all &
(0) = P for power signals.
1 signals.
0) = E for onere
SOLVED PROBLEMS
Problem 7.1. Show that the convolution of a function x(¢) with a unit i
the function itself Unit impulse fue
Solution:
Mo x 5) = FFE) FBON
But F(x()} = X@)
7 F(S) = |
x(t) x 6) = F“(X(o)] = wo.
Problem 7.2 Calculate y(0 if
and
Solution
Given
a) ee, —wetce
KM) =t, o