Top Banner
Lesson 4 Discrete Fourier Transform
25

Lesson 4

Feb 23, 2016

Download

Documents

questa

Lesson 4. Discrete Fourier Transform. How to sample the frequency axis?. Sampling of Analog Signals. Aliasing Formula. How to sample the frequency axis?. Fourier Series of a Periodic Sequence . Fourier Series of a Periodic Sequence . Fourier Series of a Periodic Sequence . - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Lesson 4

Lesson 4Discrete Fourier Transform

Page 2: Lesson 4

How to sample the frequency axis?

Page 3: Lesson 4

Sampling of Analog Signals

Aliasing Formula

Page 4: Lesson 4
Page 5: Lesson 4

How to sample the frequency axis?

Page 6: Lesson 4

Fourier Series of a Periodic Sequence

Page 7: Lesson 4

Fourier Series of a Periodic Sequence

Page 8: Lesson 4

Fourier Series of a Periodic Sequence

Page 9: Lesson 4

Matlab Implementation

Analysis or DFS equation

Synthesis or inverse DFS equation

Page 10: Lesson 4

Matlab Implementation

Page 11: Lesson 4

Relation to DTFT

Page 12: Lesson 4

sinc function

Page 13: Lesson 4

Periodic Signals Are Completely Discrete:

Discrete rather than continuous frequencies. Discrete rather than continuous times. Summations instead of integrals.

Page 14: Lesson 4

Aperiodic Discrete-Time Signals

Page 15: Lesson 4

Aperiodic Discrete-Time Signals

Sampling in frequency generates a periodic signal in time

Page 16: Lesson 4

DFT of an Aperiodic Discrete-Time Signal of length N

Choose an integer L larger than or equal to N to be the period of a periodic extension of the aperiodic signal x(n). Pad zeros to x(n) if necessary.

Find the normalized Fourier Series representation of the periodic extension through DFS.

Then the DFT of x(n) is given by the DFS of the periodic extension for k on [0 L-1] and the IDFT is given by the IDFS with n on [0 L-1].

Page 17: Lesson 4

Computation of DFT via FFT

FFT (Fast Fourier Transform) is not another transformation but an algorithm to efficiently compute DFT.

Causal aperiodic signals: {x(n), n = 0, 1, … N-1}: proceed using FFT to obtain {X(k), k=0,1,…, N-1}. To compute for L>N, we simply attach L-N zeros at the end of the x(n) sequence and then FFT to obtain L values.

Page 18: Lesson 4

Computation of DFT via FFT

Non-Causal aperiodic signals: {x(n), n=-n0, …, 0, 1, …, N-n0-1}: Move the non-causal samples to the causal side: {x(0),

x(1), …, x(N-n0-1), x(-n0), x(-n0+1),…,x(-1)} To improve frequency resolution, attach zeros between

the causal and non-causal samples: {x(0), x(1), …, x(N-n0-1), 0, 0, 0, …, 0, 0, 0, x(-n0), x(-n0+1),…,x(-1)}

Page 19: Lesson 4

Example

Consider the DFT computation via FFT of a causal signalx(n) = (sin(πn/32))(u(n)-u(n-34)) and its shifted version x(n+16). To improve its frequency resolution, compute FFTs of length N = 512.

Page 20: Lesson 4

Convolution

Page 21: Lesson 4

Convolution

Page 22: Lesson 4

Convolution

DTFT of y

Page 23: Lesson 4

Convolution

We can obtain y(n) through the inverse Fourier transform

The L-length DFT of x(n) and h(n) are obtained by padding zeros. Pad x(n) with L-M zeros Pad h(n) with L-K zeros

Page 24: Lesson 4

Convolution

Given x(n) and h(n) of lengths M and K, the convolution y(n) of length N=M+K-1 can be found by the following 3 steps: Compute DFTs X(k) and H(k) of length L>=N for x(n) and

h(n). Multiply them to get Y(k)=X(k)H(k) Find the inverse DFT of Y(k) of length L to obtain y(n)

Page 25: Lesson 4

Example

x(n) = u(n) – u(n-21) of length 20, convolve with itself for different values of its length.