Docsity

Convolution and Fourier Transforms homework assignment with solutions, Exercises of Signal Processing and Analysis

Partial preview of the text

Download Convolution and Fourier Transforms homework assignment with solutions and more Exercises Signal Processing and Analysis in PDF only on Docsity!

MIT OpenCourseWare

http://ocw.mit.edu

2.161 Signal Processing: Continuous and Discrete

Fall 2008

For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

h(t)

t

1.

1. -1.0 0

0. 0

-1.

f(t)

t

(a) Impulsive waveform

(b) Impulse response

h(t)

t

1.

0 1. -1.

0. 0

-1.

f(t)

t

(a) Rectangular input function (b) Impulse response

MASSACHUSETTS INSTITUTE OF TECHNOLOGY

DEPARTMENT OF MECHANICAL ENGINEERING

2.161 Signal Processing - Continuous and Discrete

Fall Term 2008

Problem Set 1: Convolution and Fourier Transforms

Assigned: Sept. 9, 2008 Due: Sept. 18, 2008

Problem 1:

(a) Plot the result of convolving a one-dimensional function consisting of three impulses

with a triangular function as shown below:

(b) Plot the result of convolving a one-dimensional function consisting of a rectangular

function with the same triangular function used in part(a), as shown below:

(c) Plot the result of convolving a pair of identical even “top-hat” (pulse) functions: f (t) = 1

for | |t < T / 2 and f (t) = 0 otherwise. Use your result show that the Fourier transform

2

of a triangular pulse (such as used in parts (a) and (b)) is of the form (sin(x)/x).

Problem 2: Show that when two gaussian functions

2

f

1

(x) = e

−ax

f 2

(x) = e

−bx

2

are convolved, the result is another gaussian function.

Hint: Complete the square in the exponent, change the variable of integration, and recognize

that

2

�

∞

e

−x

dx =

π

−∞

MIT OpenCourseWare

http://ocw.mit.edu

2.161 Signal Processing: Continuous and Discrete

Fall 2008

For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

MASSACHUSETTS INSTITUTE OF TECHNOLOGY

DEPARTMENT OF MECHANICAL ENGINEERING

2.161 Signal Processing – Continuous and Discrete

Fall Term 2008

Problem Set 1 Solution: Convolution and Fourier Transforms

Problem 1:

Use the convolution definition

!

"

"

y ( t )= f $ h = f ( % ) h ( t #%) d %

(a) f ( t )= "( t + 1. 5 )+ "( t )+ "( t! 0. 75 )

otherwise

t t

h t

( )

!!!

!

"

"

"

"

"

"

"

"

ht d ht d ht d

yt ht d

and using the sifting property of the impulse function,

y ( t )= h ( t + 1. 5 )+ h ( t )+ h ( t! 0. 75 )

  • 3 - 2. 5 - 2 - 1. 5 - 1 - 0. 5 0 0. 5 1 1. 5 2 2. 5 3

0

  1. 2

  2. 4

  3. 6

  4. 8

1

  1. 2

  2. 4

(b) h(t) is the as same used in part (a)

otherwise

t

f t

(c)

otherwise

T

t

f t

then,

(

(

( (

&

&

&

)

& )

otherwise

d t T t T

d t T T t

yt f f f f t d f t d

T

T

t

t T

T

T

T

2

2

/ 2

2

2

2

  • T 0 T

0

T

sin( / 2 )

/ 2

/ 2

/ 2

/ 2

/ 2

!!!

!!

T

j

e e

j

e

F j f t e dt e dt

jT j T

T

T

j t

T

T

j t j t

"

"

"

"

"

&

" &

"

' '

when T=1 , h ( t )= f ( t )! f ( t ) and from the convolution theorem

2 2

sin( )

sin( / 2 )

x

x

H j F j F j

Problem 2

2 2

1 2

ax bx

f x e f x e

!!

"

"

#

"

"

% %

y x f f f f x d e e d

a bx

2 2

( )

1 2 1 2

"

"

$

$

%

&

'

'

(

)

+

"

"

$ #

%

&

'

(

)

+

"

"

$

$

%

&

'

'

(

)

+

e d e d e e d

ab

bx

a b

a b

abx

a b

abx

a b

bx

a b

a b

bx

a b

bx

a b

2

2

2

2

2

2

( )

2

( )

using the variable substitution:

a b

d

d

a b

bx

a b

2

2

2

x

e

a b a b

d

e

x

y t e

ab

ab

a b

ab

!

"

! "

!

!

& %

&

which is a Gaussian function.

Problem 3

f ( t )= "( t + 0. 5 )+ "( t )+ "( t! 0. 5 )

( ) 1 1 2 cos(

2 2

!!

$

$

$

$

$

$

$

$

j j

F j e e

dt

j t

dt t e

j t

dt t e

j t

dt t e

j t

F jw f t e

  • 10 - 8 - 6 - 4 - 2 0 2 4 6 8 10
  • 1

0

1

2

3

R

e

[

F

(

j

!

)

]

!

  • 10 - 8 - 6 - 4 - 2 0 2 4 6 8 10
  • 1
    1. 5

0

  1. 5

1

I

m

[

F

(

j

!

)

]

0

0

w/pi

t

The filter is acausal.

Problem 6

t

h t e

3

!

= Let’s compute the Fourier transform of h(t)

0

3

!

"

$

j

H j e e dt

t jt

Note: lower limit in integral is 0 because a real filter is a causal system.

a) The transfer function can be found by taking the Laplace transform, which can be viewed as

a Fourier transform where j ω is replaced by s= σ+ j ω.

s

H s

b) The frequency response is given by H(j ω ) computed previously.

c) We find the cut-off frequency by solving:

rad s

H j

H j

H j

H j

c c

c

c

c

2

2