18
Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

Embed Size (px)

Citation preview

Page 1: Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

Part 4Chapter 16

Fourier Analysis

PowerPoints organized by Prof. Steve Chapra, UniversityAll images copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Page 2: Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

Chapter Objectives

• Understanding sinusoids and how they can be used for curve fitting.

• Knowing how to use least-squares regression to fit a sinusoid to data.

• Knowing how to fit a Fourier series to a periodic function.

• Understanding the relationship between sinusoids and complex exponentials based on Euler’s formula.

• Recognizing the benefits of analyzing mathematical function or signals in the frequency domain (i.e., as a function of frequency).

• Understanding how the Fourier integral and transform extend Fourier analysis to aperiodic functions.

Page 3: Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

Chapter Objectives

• Understanding how the discrete Fourier transform (DFT) extends Fourier analysis to discrete signals.

• Recognizing how discrete sampling affects the ability of the DFT to distinguish frequencies. In particular, know how to compute and interpret the Nyquist frequency.

• Recognizing how the fast Fourier transform (FFT) provides a highly efficient means to compute the DFT for cases where the data record length is a power of 2.

• Knowing how to use the MATLAB function fft to compute a DFT and understand how to interpret the results.

• Knowing how to compute and interpret a power spectrum.

Page 4: Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

Periodic Functions • A periodic function is one for which

f(t) = f(t + T)where T = the period

Page 5: Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

Sinusoidsf(t) = A0 + C1cos(0t + )

Mean

valueAmplitude

Angular

frequency

Phase

shift

0 = 2f =2T

Page 6: Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

Alternative Representation

f(t) = A0 + A1cos(0t) + B1sin(0t)

= arctan(B1/A1)

• The two forms are related by

C1 =2

A1 + B1

2

f(t) = A0 + A1cos(0t) + A1sin(0t)

Page 7: Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

Using Sinusoids for Curve Fitting

• You will frequently have occasions to estimate intermediate values between precise data points.

• The function you use to interpolate must pass through the actual data points - this makes interpolation more restrictive than fitting.

• The most common method for this purpose is polynomial interpolation, where an (n-1)th order polynomial is solved that passes through n data points:

f (x) a1 a2x a3x2 anxn 1

MATLAB version :

f (x) p1xn 1 p2xn 2 pn 1x pn

Page 8: Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

Continuous Fourier Series

Page 9: Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

Euler's Formula

Page 10: Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

Time Versus Frequency Domains

Page 11: Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

Phase Line Spectra

Page 12: Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

Line Spectra for Square Wave

Page 13: Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

Discrete Fourier Transform

Page 14: Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

Operations Versus Sample Size

Page 15: Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

f(t) = 5 + cos(2(12.5)t) + sin(2(18.75)t)

Page 16: Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

Power Spectrum

Page 17: Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

Wolf Sunspot Number Versus Year

Page 18: Part 4 Chapter 16 Fourier Analysis PowerPoints organized by Prof. Steve Chapra, University All images copyright © The McGraw-Hill Companies, Inc. Permission

Power Spectrum for Sunspot Numbers