More on DFT

16
39 More on DFT Elena Punskaya www-sigproc.eng.cam.ac.uk/~op205 Some material adapted from courses by Prof. Simon Godsill, Dr. Arnaud Doucet, Dr. Malcolm Macleod and Prof. Peter Rayner

description

3F3 – Digital Signal Processing (DSP), January 2009-2010, lecture slides 2a, Dr Elena Punskaya, Cambridge University Engineering Department

Transcript of More on DFT

Page 1: More on DFT

39

More on DFT

Elena Punskaya www-sigproc.eng.cam.ac.uk/~op205

Some material adapted from courses by Prof. Simon Godsill, Dr. Arnaud Doucet,

Dr. Malcolm Macleod and Prof. Peter Rayner

Page 2: More on DFT

40

DFT Interpolation

normalised

Page 3: More on DFT

41

Zero padding

Page 4: More on DFT

42

Padded sequence

Page 5: More on DFT

43

Zero-padding

N π

Page 6: More on DFT

44

Zero-padding

just visualisation, not additional information!

Page 7: More on DFT

45

Circular Convolution

circular convolution

xxxxxxxxx

m

Page 8: More on DFT

46

Example of Circular Convolution

1

2 0

3

5 4

Circular convolution of x1={1,2,0} and x2={3,5,4} clock-wise anticlock-wise

1

2 0

3

5 4

1

2 0

5

4 3

1

2 0

4

3 5 0 spins 1 spin 2 spins

y(0)=1×3+2×4+0×5 y(1)=1×5+2×3+0×4 y(2)=1×4+2×5+0×3

folded sequence

x1(n)x2(0-n)|mod3 x1(n)x2(1-n)|mod3 x1(n)x2(2-n)|mod3

Page 9: More on DFT

47

Example of Circular Convolution

clock-wise anticlock-wise

Page 10: More on DFT

48

IDFT

m +

+

+ ++

Page 11: More on DFT

49

Standard Convolution using Circular Convolution

It can be shown that circular convolution of the padded sequence corresponds to the standard convolution

Page 12: More on DFT

50

Example of Circular Convolution

1

2 0 3

5 0

clock-wise anticlock-wise 1

2 3

5 0

0 spins

y(0)=1×3+2×0+0×4+0×5

folded sequence

x1(n)x2(0-n)|mod3 x1(n)x2(1-n)|mod3 x1(n)x2(2-n)|mod3

0 4

4

0

1

2 0 5

4 3 1 spin

0

0

1

2 0 4

0 5 2 spins

3

0

0 y(0)=1×5+2×3+0×0+0×4 y(0)=1×4+2×5+0×3+0×0

Page 13: More on DFT

51

Standard Convolution using Circular Convolution

Page 14: More on DFT

52

Proof of Validity

Circular convolution of the padded sequence corresponds to the standard convolution

Page 15: More on DFT

53

Linear Filtering using the DFT

FIR filter:

DFT and then IDFT can be used to compute standard convolution product and thus to perform linear filtering.

Frequency domain equivalent:

Page 16: More on DFT

54

Summary So Far

•  Fourier analysis for periodic functions focuses on the study of Fourier series

•  The Fourier Transform (FT) is a way of transforming a continuous signal into the frequency domain

•  The Discrete Time Fourier Transform (DTFT) is a Fourier Transform of a sampled signal

•  The Discrete Fourier Transform (DFT) is a discrete numerical equivalent using sums instead of integrals that can be computed on a digital computer

•  As one of the applications DFT and then Inverse DFT (IDFT) can be used to compute standard convolution product and thus to perform linear filtering