Docsity

The Convolution Integral - Digital Signal Processing - Lecture Slides, Slides of Computer Fundamentals

Partial preview of the text

Download The Convolution Integral - Digital Signal Processing - Lecture Slides and more Slides Computer Fundamentals in PDF only on Docsity!

The Convolution Integral

• Convolution operation given symbol ‘*’

∞

−∞

y ( t ) = x t * h ( t ) = x τ h t −τ d τ

“y” equals “x” convolved with “h”

The Convolution Integral

  • The time domain output of an LTI system is

equal to the convolution of the impulse

response of the system with the input signal

  • Much simpler relationship between frequency

domain input and output

  • First look at graphical interpretation of

convolution integral

Graphical Interpretation of

Convolution Integral

τ

h( τ)

τ

h(- τ)

Take impulse response and reverse it in time

Graphical Interpretation of

Convolution Integral

τ

h(- τ)

Then shift it by time t

τ

h(t- τ)

t

Graphical Interpretation of the

Convolution Integral

  • Convolving two functions involves
    • flipping or reversing one function in time
    • sliding this reversed or flipped function over the other and
    • integrating between the times when BOTH functions overlap

Example

  • Convolution of two gate pulses each of height

0 1 τ

x1 (τ)

0 2 τ

x2 (τ)

∫^ ( )^ (^ )

∞

−∞

y = x 1 * x 2 = x 1 τ x 2 t −τ d τ

Example

-1 0 1 τ

x2 (-τ) x1 (τ)

Reverse function, slide x 2 over x 1 and evaluate integral

t

Example

0 1 τ

x2 (t-τ) x1 (τ)

t

y x x dt t

t t = = =

< <

∫ 0

1 * 2 1

for 0 1

Area of overlap is increasing linearly

Example

( ) d ( t ) t

t t^ ∫ × = = − − = − − −^

1

2

2 τ τ 2

0 1 τ

x1 (τ)

x2 (t-τ)

t

y x x t

t = = −

< <

  • 3

for 2 3

1 2

Area declining linearly -

width of shaded area = 1-(t-2)=3-t

t-

Example

0 1 τ

x1 (τ)

x2 (t-τ)

t

  • 0

for 3 = 1 2 =

y x x

t

After time t=3 the convolution integral is zero

tint=0; tfinal=10; tstep=.01; t=tint:tstep:tfinal; x=5((t>=0)&(t<=4)); subplot(3,1,1), plot(t,x) axis([0 10 0 10]) h=3((t>=0)&(t<=2)); subplot(3,1,2),plot(t,h)

axis([0 10 0 10]) axis([0 10 0 5]) t2=2tint:tstep:2tfinal; y=conv(x,h)*tstep; subplot(3,1,3),plot(t2,y) axis([0 10 0 40])

Example 2

0 1 τ

x 2 (−τ)

Reversal

Example 2

0 t 1 τ

x 2 ( t −τ)

Shift reversed function