Top Banner
Life in the frequency domain Jean Baptiste Joseph Fourier (1768-1830)
17

Life in the frequency domain Jean Baptiste Joseph Fourier (1768-1830)

Dec 21, 2015

Download

Documents

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: Life in the frequency domain Jean Baptiste Joseph Fourier (1768-1830)

Life in the frequency domain

Jean Baptiste Joseph Fourier (1768-1830)

Page 2: Life in the frequency domain Jean Baptiste Joseph Fourier (1768-1830)

Spectrogram, Northern Cardinal

Page 3: Life in the frequency domain Jean Baptiste Joseph Fourier (1768-1830)

Sampling

cyclesec///1period

sec/cyclesinfrequency

sec/radiansinfrequency

2

fT

f

Page 4: Life in the frequency domain Jean Baptiste Joseph Fourier (1768-1830)

Sampling

)theoremNyquist(2

or,2/

interval,samplingif

ff

TT

T

s

s

s

Example: CD rate f = 44,100 Hz, so the highest frequency thatcan be represented is 22,050 Hz

Called Nyquist frequency = ½ cycle/sample = f/2 Hz

Page 5: Life in the frequency domain Jean Baptiste Joseph Fourier (1768-1830)

Sampling and aliasing

Aliasing a sine wave:

Page 6: Life in the frequency domain Jean Baptiste Joseph Fourier (1768-1830)

• One frequency can masquerade as another

• When viewed as a strobed phasor, it’s easy to see that we need to sample at least twice each period to capture the frequency unambiguously

• Nyquist’s theorem: Highest allowed signal frequency is half the sampling frequency = Nyquist frequency

Page 7: Life in the frequency domain Jean Baptiste Joseph Fourier (1768-1830)

Aliasing strikes!

Page 8: Life in the frequency domain Jean Baptiste Joseph Fourier (1768-1830)
Page 9: Life in the frequency domain Jean Baptiste Joseph Fourier (1768-1830)

• Prefiltering: avoids aliasing on A-to-D

• Oversampling: can substitute cheap digital filtering for expensive analog filtering for A-to-D or D-to-A conversion

Page 10: Life in the frequency domain Jean Baptiste Joseph Fourier (1768-1830)
Page 11: Life in the frequency domain Jean Baptiste Joseph Fourier (1768-1830)

The DFT and FFT

Think of the n samples of the signal as n points on a circle

And also think of n frequency points as n points on the circle

Page 12: Life in the frequency domain Jean Baptiste Joseph Fourier (1768-1830)

The Discrete Fourier Transform(DFT)

1,...,0,2

1,...,0,

1,...,0,

1

0

1

0

1

NkN

kk

Nk

Nt

tiN

ttk

tiN

kkt

k

k

exX

eXN

x

representation

transform

Frequencies on circle

Page 13: Life in the frequency domain Jean Baptiste Joseph Fourier (1768-1830)
Page 15: Life in the frequency domain Jean Baptiste Joseph Fourier (1768-1830)

The FFT

cNNTNT )2/(2)(

Divide-and-conquer algorithm for DFT

Yields O(N log N) algorithm

Page 16: Life in the frequency domain Jean Baptiste Joseph Fourier (1768-1830)

FFT Butterfly

Page 17: Life in the frequency domain Jean Baptiste Joseph Fourier (1768-1830)

A once-a-minute application: JPEG

Steven W. Smith's Book (1997)

Discrete Cosine Transform(DCT)