The Discrete Fourier Transform (DFT)

Steve Brunton
28 Mar 202017:36

Summary

TLDRThis video introduces the Discrete Fourier Transform (DFT), explaining its role in converting discrete data into Fourier coefficients to analyze signals. The speaker clarifies how DFT differs from the continuous Fourier Transform and emphasizes the importance of the Fast Fourier Transform (FFT), a highly efficient algorithm widely used in fields like audio compression, image processing, and scientific computing. The mathematical concepts behind DFT are explored, with the speaker highlighting how it can be written as a matrix multiplication and how FFT enables faster computation of large datasets.

Takeaways

  • 🧮 The Discrete Fourier Transform (DFT) is key for computing Fourier series on discrete data.
  • 📉 DFT approximates a Fourier series for a finite, periodic interval of data rather than an infinite Fourier transform integral.
  • 🖥️ The Fast Fourier Transform (FFT) is a computationally efficient way to compute the DFT, especially for large datasets.
  • 🎶 DFT is used to decompose data into sine and cosine components, which is valuable for tasks like signal processing and diagnostics.
  • 🔢 Input data for DFT is represented as a vector of discrete values, which may be sampled from continuous functions.
  • 📊 DFT transforms this discrete data into Fourier coefficients, revealing the frequencies present in the data.
  • 🧩 The transformation process involves a matrix multiplication, where the DFT is defined mathematically using exponential terms.
  • 🔄 You can also reconstruct the original data from the Fourier coefficients using an inverse DFT formula.
  • ⚙️ The FFT allows efficient computation of the DFT without explicitly performing large matrix operations.
  • 🌀 The result of the DFT includes complex numbers, with the magnitude indicating the frequency's strength and the phase indicating its alignment.

Q & A

  • What is the Discrete Fourier Transform (DFT)?

    -The Discrete Fourier Transform (DFT) is a mathematical transformation that approximates a Fourier series on a finite interval where the function is periodic. It allows one to convert data points from the time domain into frequency components, revealing the sine and cosine components that make up the signal.

  • Why is the name 'Discrete Fourier Transform' considered misleading?

    -The name 'Discrete Fourier Transform' is considered misleading because it more accurately represents a Fourier series approximation rather than a true Fourier transform, which involves an integral over infinite intervals. However, due to historical reasons, it is called DFT.

  • What is the relationship between the DFT and the Fast Fourier Transform (FFT)?

    -The FFT is a computationally efficient algorithm to compute the DFT. While the DFT can be calculated through direct matrix multiplication, the FFT reduces the computation time significantly, making it feasible to process large datasets.

  • What are some applications of the Fast Fourier Transform (FFT)?

    -The FFT is widely used in areas such as image compression, audio compression, signal processing, and high-performance scientific computing. It's considered one of the most powerful and important algorithms of the 20th century.

  • What is the basic idea behind using Fourier series to approximate functions?

    -Fourier series approximates a function by breaking it down into a sum of sine and cosine terms. This is particularly useful for periodic functions, where the series captures the frequency components that make up the signal.

  • How is the DFT applied to experimental or simulation data?

    -The DFT is applied to discrete data points obtained from experiments or simulations, assuming an underlying continuous function. The DFT converts these discrete data points into frequency components that describe the signal.

  • What is the mathematical representation of the DFT?

    -The DFT of a dataset is represented as a sum over data points, where each data point is multiplied by a complex exponential term. This sum results in a set of Fourier coefficients, representing different frequency components in the data.

  • What is the inverse DFT, and how does it work?

    -The inverse DFT allows one to reconstruct the original data from its Fourier coefficients. It involves summing over the frequency components, using a similar formula to the DFT but with a positive exponential term and a normalization factor of 1/N.

  • What is the significance of the complex exponential terms in the DFT?

    -The complex exponential terms in the DFT represent the sine and cosine components of different frequencies. They allow the transformation of time-domain data into frequency-domain data by capturing both the magnitude and phase of each frequency component.

  • How is the DFT represented as a matrix operation?

    -The DFT can be written as a matrix operation, where the data vector is multiplied by a matrix of complex exponential terms (DFT matrix) to obtain the Fourier coefficients. This matrix approach simplifies the computation, especially for large datasets.

  • Why is the FFT preferred over directly computing the DFT?

    -The FFT is preferred because it provides a highly efficient way to compute the DFT without constructing and multiplying large matrices. The FFT significantly reduces the computation time, making it practical for real-time applications and large datasets.

Outlines

00:00

📊 Introduction to Discrete Fourier Transform (DFT)

The speaker begins by discussing the Fourier series and Fourier transforms, emphasizing the importance of the Discrete Fourier Transform (DFT) in computing. They humorously suggest that DFT should be named the Discrete Fourier Series because it approximates the Fourier series on a finite interval. The DFT is crucial for applications like image and audio compression, signal processing, and scientific computing. The Fast Fourier Transform (FFT), an efficient algorithm for computing the DFT, is highlighted as one of the most significant algorithms of all time. The lecture aims to explain the DFT in terms of matrix multiplication and its application in transforming data vectors into their sine and cosine components, which can be useful for various applications, including diagnosing car issues through audio signal analysis.

05:01

🔍 Computing Fourier Coefficients

The speaker explains the process of computing Fourier coefficients from data points. They describe how to transform a data vector into its frequency components using the DFT. The Fourier coefficients are obtained by summing over all data points, multiplied by a complex exponential term. The inverse DFT is also discussed, which allows reconstruction of the original data from its Fourier coefficients. The concept of a fundamental frequency, denoted as Omega_n, is introduced as a key element in the computation of the DFT matrix. The speaker clarifies that the Fourier transform and its inverse involve complex exponentials with positive and negative exponents, respectively, and both are normalized differently.

10:03

🧮 Matrix Representation of DFT

The speaker illustrates how the DFT can be represented as a matrix operation, where the data vector is multiplied by the DFT matrix to obtain the Fourier transform vector. They discuss the tediousness of computing the DFT using a direct summation approach and instead propose a matrix representation that simplifies the computation. The matrix is constructed using the fundamental frequency Omega_n, and the speaker provides an example of how the matrix looks for different values of K. The first row of the matrix is all ones, representing the constant value or zeroth frequency, while subsequent rows represent higher frequencies. The speaker emphasizes that the DFT matrix is complex and that each entry in the Fourier coefficients vector is a complex number, indicating both the magnitude and phase of the corresponding frequency component.

15:03

🚀 Efficiency through Fast Fourier Transform (FFT)

The speaker concludes by acknowledging the computational expense of directly computing the DFT using the matrix approach. They hint at the upcoming discussion on the Fast Fourier Transform (FFT), an algorithm that efficiently computes the DFT without constructing the entire matrix. The FFT is a crucial tool for handling large datasets and is fundamental to many modern computational applications. The speaker assures that the mathematical definition of the DFT will be practically applied through the FFT in subsequent lectures.

Mindmap

Keywords

💡Fourier Transform

A mathematical technique used to transform a function into its frequency components. In the context of the video, it's applied to understand the breakdown of complex signals (like audio or data) into simpler sine and cosine waves. The Fourier Transform allows one to analyze the frequency content of signals.

💡Discrete Fourier Transform (DFT)

The DFT is a computational method used to analyze discrete data points, as opposed to continuous signals, by transforming them into frequency components. The video emphasizes that while the term might be misleading, the DFT is more akin to a Fourier series approximation over a finite interval of data.

💡Fast Fourier Transform (FFT)

A highly efficient algorithm used to compute the DFT in a computationally fast manner, which is essential for processing large datasets. The video highlights the FFT as one of the most important algorithms in modern computation, essential for applications such as image and audio compression.

💡Fourier Series

A mathematical representation of periodic functions as an infinite sum of sine and cosine terms. In the video, it's used to introduce the concept of approximating complex data sets by breaking them into simple periodic functions, especially when working with data from simulations or experiments.

💡Data Vector

A collection of discrete data points representing a function in a numerical or experimental setting. The video uses the example of experimental measurements or simulation outputs as vectors of data that can be transformed via DFT to extract frequency components.

💡Frequency Components

These are the individual sine and cosine waves that combine to form a complex signal or function. In the video, the speaker explains that the DFT breaks down the data vector into its frequency components, revealing how much of each frequency contributes to the overall signal.

💡Fourier Coefficients

The weights or amplitudes of the sine and cosine functions in the Fourier series. In the video, the Fourier coefficients (denoted as f1 hat, f2 hat, etc.) are explained as the key output of the DFT, representing how much of each frequency is present in the data.

💡Matrix Multiplication

A mathematical operation that applies to arrays of numbers, used to represent the DFT in the video. The speaker describes how the DFT can be written as a large matrix multiplication that transforms a data vector into its corresponding Fourier coefficients.

💡Exponential Function

A mathematical function of the form e^(ix), where i is the imaginary unit and x is a real number. This function plays a central role in the DFT, as it appears in the summation formula to calculate the Fourier coefficients. The video explains the complex nature of this function and its significance in frequency decomposition.

💡Phase and Magnitude

The phase indicates the shift of a sine wave, while the magnitude represents the amplitude. In the video, the Fourier coefficients are described as complex numbers whose magnitude gives the strength of a frequency component, while the phase determines the wave's alignment (sine or cosine).

Highlights

Introduction to the Discrete Fourier Transform (DFT) and its significance in computing.

The DFT is often misnamed and should be called the Discrete Fourier Series.

Explanation of the DFT as an approximation of the Fourier series on a finite interval.

The importance of the Fast Fourier Transform (FFT) as a powerful algorithm.

Applications of the FFT in various fields like image and audio compression, signal processing, and scientific computing.

The mathematical transformation of the DFT can be represented as a matrix multiplication.

The FFT provides a computationally efficient way to compute the DFT for large datasets.

The process of approximating periodic functions using sums of sines and cosines.

The common scenario of having discrete data points rather than an analytic function.

The concept of transforming a data vector into its sine and cosine components through DFT.

Practical use case: Diagnosing car issues through audio signal analysis using DFT.

The DFT can also be used to compute or approximate derivatives of data.

Explanation of the formula for computing the DFT and obtaining Fourier coefficients.

The inverse DFT formula for reconstructing data from Fourier coefficients.

The significance of the fundamental frequency in the context of DFT.

The DFT matrix and how it can be used to transform data into Fourier coefficients.

The complex nature of Fourier coefficients and their interpretation in terms of magnitude and phase.

The computational expense of directly computing the DFT matrix and the need for the FFT.

Upcoming lectures will cover the efficient computation of the DFT using the FFT.

Transcripts

play00:00

[Music]

play00:06

welcome back so we're talking about the

play00:08

Fourier series Fourier transforms and

play00:11

now I'm going to tell you about how you

play00:12

compute these in a computer using the

play00:15

discrete Fourier transform okay so this

play00:18

is really really important the discrete

play00:21

fourier transform and I think this is

play00:25

actually I always joke with my students

play00:27

that this is kind of a terrible name

play00:30

really this should be called a discrete

play00:32

Fourier series because what we're

play00:35

actually doing is we're approximating

play00:36

that Fourier series approximation on a

play00:39

finite interval where your function is

play00:42

periodic that's what we're actually

play00:43

approximating is the finite series and

play00:46

not the infinite Fourier transform

play00:47

integral but through some joke of

play00:50

history it is now called the discrete

play00:52

Fourier transform or the DFT and this is

play00:55

an extremely important concept which

play00:59

will eventually lead to the fast Fourier

play01:03

transform the FFT which is probably the

play01:07

most powerful algorithm of the last

play01:10

century maybe of all time it's one of

play01:12

the most important algorithms today it's

play01:16

used for image compression audio

play01:18

compression signal processing

play01:20

high-performance scientific computing

play01:22

you name it fast Fourier transform is

play01:24

probably at the heart of some of these

play01:27

computations and what I want to get

play01:30

across right now is that the discrete

play01:33

Fourier transform is a mathematical

play01:35

transformation that can be written in

play01:37

terms of a big matrix multiplication the

play01:40

fast Fourier transform is a

play01:42

computationally efficient way of

play01:44

computing the DFT

play01:45

that scales to very very large datasets

play01:48

so in some sense these are kind of

play01:50

synonymous the FFT is how we compute the

play01:53

DFT okay but today I'm going to tell you

play01:57

about the DFT the discrete Fourier

play01:58

transform and soon I'll show you how to

play02:01

actually can numerically implement this

play02:04

via the FFT okay so we talked about

play02:06

approximating functions that are

play02:09

periodic using infinite sums of sines

play02:11

and cosines let me show that this is

play02:13

this is possible but in many many cases

play02:17

most of the time I don't

play02:19

have an analytic function I have

play02:22

measurement data from an experiment or

play02:24

from a simulation okay so what I what I

play02:26

often have is some F defined at discrete

play02:30

locations x1 x2 x3 all the way up to

play02:37

some X n so I have a discrete vector of

play02:41

data some function and maybe we believe

play02:45

that there's a continuous function

play02:46

underlying this data but I'm only

play02:49

sampling it at these discrete locations

play02:53

x1 and x2 x3 and so on and so forth up

play02:56

to X n okay so what I have is a vector

play03:02

of data in fact I'm just gonna literally

play03:05

write this out I have a vector of data

play03:07

f1 f2 f3 dot dot dot all the way down to

play03:12

F and okay this is gonna be my I'm just

play03:16

gonna call this you know some some

play03:17

vector of data and what I'm gonna want

play03:20

to do is Fourier transform compute the

play03:22

discrete Fourier series of that data

play03:26

vector okay so I also want to break this

play03:28

data up into a sum of sines and cosines

play03:30

and this can be very useful you can

play03:33

figure out if this is audio data you can

play03:36

figure out what are kind of the the

play03:37

tones that add up to make that audio

play03:39

data I always tell my students you know

play03:42

what I want to do is build an iPhone app

play03:44

so you put it on the roof of your car or

play03:47

the hood of your car and it listens to

play03:49

the audio signal it computes the Fourier

play03:51

transform and based on the frequency

play03:53

content maybe it can diagnose if

play03:55

something's wrong with your car like you

play03:57

have a belt slipping or some kind of

play03:59

vibration that shouldn't be there okay

play04:00

so so turning a data vector into its

play04:04

sine and cosine components through this

play04:07

discrete Fourier transform can be very

play04:09

very useful it's also nice to compute

play04:13

derivatives to approximate derivatives

play04:15

of of data using using these Fourier

play04:19

transform derivative properties okay so

play04:22

I'm gonna walk you through what the

play04:23

Fourier transform the discrete Fourier

play04:25

transform is how you can write it as a

play04:27

big matrix multiplication but remember

play04:30

it's basically just a Fourier series on

play04:32

data

play04:33

instead of on contingent on functions

play04:36

analytic functions okay so let's just

play04:39

get started so I'm just gonna write down

play04:42

what the the 48 discrete Fourier

play04:45

transform is and then I'm going to show

play04:46

you some ways of interpreting this okay

play04:48

so for each of these data points FK what

play04:52

we're going to be able to do is compute

play04:54

a as you might imagine what we're going

play04:58

to try to get out of this is some vector

play05:00

of Fourier coefficients f1 hat f2 hat f3

play05:07

hats all the way down to F and hat so

play05:12

just like we took our function f and we

play05:14

turned it into these coefficients that

play05:16

multiplied our cosine and sines that's

play05:18

what we're doing here we're taking our

play05:19

data F and we're going to obtain this

play05:21

Fourier transform vector F hat of

play05:24

frequency components so f1 hat will tell

play05:27

me how much of that first low frequency

play05:31

is in the data f2 hat will tell me how

play05:33

much of that next higher frequency is in

play05:35

the data and so on and so forth where FN

play05:37

hat is the highest frequency possible

play05:40

with n data points if it was going you

play05:42

know as fast as possible oscillating

play05:44

over n data points and so the way that

play05:47

we get that F hat vector we say that F

play05:50

hat K maybe I'll write it up here F hat

play05:53

K the caithe Fourier coefficient is a

play05:59

sum over all of my all of my data to n

play06:03

minus 1 of my data F J the J element of

play06:07

my data times e to the minus I 2 pi J K

play06:17

over N this is kind of a pain I'll walk

play06:20

you through all of these terms here ok

play06:22

so the case Fourier coefficient is

play06:26

obtained by taking the sum over all J

play06:28

data points at the jet frequency times

play06:32

the caithe frequency divided by N and

play06:34

I'll tell you what this kind of e to the

play06:36

I 2 pi JK over n means in a minute ok

play06:39

but this is how you compute all of those

play06:42

case Fourier coefficients and similarly

play06:46

just like an ax for you

play06:47

transform or a Fourier series if I have

play06:49

my data I can get my Fourier transform

play06:52

but if I have my Fourier transform I

play06:53

should be able to go back and

play06:54

reconstruct my data it's all write down

play06:57

what that is and it's again it's pretty

play06:59

similar so FK once I had all of these

play07:02

blue hats the FK is again a sum over all

play07:06

frequencies now of J equals 0 to n minus

play07:11

1 of my F J hat ok my J Fourier

play07:16

coefficient times now e to the positive

play07:19

I 2 pi JK over N so this is very very

play07:23

similar to the Fourier transform pair

play07:25

where this is a negative exponent and

play07:28

this is a positive exponent and this

play07:31

whole thing is times 1 over N remember

play07:36

just like in the Fourier transform this

play07:37

had a 1 over I think pi or 2 pi this

play07:41

also has to a slightly different

play07:42

normalization ok and so what this means

play07:45

is that if I have if I have my data kind

play07:49

of F 1 F 2 dot dot

play07:53

to F n I can run it through this Fourier

play07:57

transform this DFT this discrete Fourier

play08:00

transform here this is my DFT and I can

play08:05

get my Fourier frequencies f1 hat f2 hat

play08:11

dot dot F and hat ok and these literally

play08:16

are the f1 f2 F and hats are literally

play08:20

telling me how much of each each

play08:22

frequency I need to add up to

play08:24

reconstruct this data in in F ok and

play08:29

there will be some subtleties I'll tell

play08:31

you about but to compute this thing this

play08:35

is kind of interesting is that notice

play08:37

that all of these these these terms in

play08:41

this series are multiplying these

play08:43

Exponential's which are some integer

play08:46

multiple of e to the I to PI over N ok

play08:50

so we have this kind of e to the minus 2

play08:55

pi I over N I is the the complex the

play09:00

imaginary

play09:00

i square root of one I'll just write I

play09:03

equals square root of negative one okay

play09:05

this is I and this defines a fundamental

play09:11

frequency that's defined some Omega n

play09:13

okay which is some fundamental frequency

play09:16

that is related to two what kinds of

play09:20

sines and cosines I can approximate with

play09:23

n discreet values in a domain X okay so

play09:26

this is kind of the fundamental

play09:28

frequency we get to work with if I have

play09:30

an interval with n data points and all

play09:34

of these Fourier transforms are adding

play09:36

up integer multiples of that fundamental

play09:39

frequency times my data and the same

play09:41

thing with my inverse Fourier transform

play09:42

okay so we're gonna be able to use this

play09:45

fundamental frequency Omega n to compute

play09:48

a matrix that would multiply my data and

play09:51

give me my Fourier transform so that's

play09:52

really really important and I'm gonna

play09:54

write this out here okay okay good so so

play10:02

we have this this sum over the data to

play10:06

compute the Fourier transform and the

play10:07

inverse Fourier transform but I don't

play10:09

want to go you know for K 1 for K 2 for

play10:12

K 3 4 K 4 and compute this whole sum

play10:14

this seems very tedious this would be

play10:16

kind of too big for loops if I wanted to

play10:18

actually code that up and I don't want

play10:20

to do that so instead what we're going

play10:21

to do is we're going to try to write

play10:23

what this sum would be for each of these

play10:26

k's in terms of a matrix operation where

play10:29

i take my data vector and i multiply it

play10:31

by a matrix to get my Fourier transform

play10:33

vector and I'm gonna write it in terms

play10:35

of these fundamental frequencies Omega

play10:36

ends okay and I'll point out you can

play10:41

absolutely go back to your definition of

play10:44

the Fourier series the complex Fourier

play10:46

series where you had it written in terms

play10:48

of the complex exponential and you can

play10:50

show that this is exactly what you would

play10:52

get if you took your your Fourier series

play10:55

and approximated it with N and discrete

play10:59

values in the middle this is exactly

play11:00

analogous to the cosines and sines of

play11:03

those discrete frequencies in the

play11:07

Fourier series okay good so we have this

play11:09

fundamental frequency and we're going to

play11:11

walk through and sometimes what I like

play11:12

to do is just think if K

play11:14

was one what would this series look like

play11:17

okay so if K was one I would take all of

play11:20

my f J's and multiply them by some the

play11:23

first row vector and that would tell me

play11:26

the coefficient on each of those f JS

play11:28

okay now if K was yeah I probably should

play11:34

have k zero yeah sorry I'm being pretty

play11:43

sloppy here let's say that I actually

play11:45

have a 0th index here let's say I have

play11:48

an x0

play11:50

and that this is f0 f1 f2 all the way up

play11:56

to FN and this is f0 f1 f2 all the way

play12:03

up to FN this will make a lot more sense

play12:05

if J my data has to be indexed from 0 to

play12:09

n minus 1 okay so the 0th this is the

play12:13

0th frequency kind of the constant value

play12:15

if I had K equals 0 here then all of my

play12:19

exponents would be e to the I times 0

play12:22

because K is 0 and e to the 0 is 1 no

play12:26

matter what J is if K is 0 this whole

play12:29

exponent is 1 is that is this whole

play12:31

exponent is 0 so e to the 0 is 1 and so

play12:34

the coefficient on every single data

play12:36

point here is 1 and I'm adding up F 0

play12:41

plus F 1 plus F 2 plus F 3 all the way

play12:43

to F n that will give me the first the

play12:46

zeroth F hat so this row is 1 maybe I'll

play12:51

make it in yellow this is is 1 1 1 dot

play13:02

dot dot 1 okay this entire first row is

play13:05

just ones now for the second row now

play13:09

let's figure out what happens for F 1

play13:12

hat okay so in K equals 1 now all of

play13:17

these coefficients multiplying my data F

play13:20

for J equals 0 I get e to the 0 is 1 ok

play13:27

for J equals 1 I get e to the minus 2 pi

play13:32

divided by n remember K is 1 so that's

play13:35

just Omega when J equals 2 I get

play13:41

basically Omega squared I get e to the

play13:45

minus 2 pi I times 2 divided by n this

play13:49

is Omega N squared

play13:52

dot dot dot and eventually at the very

play13:56

end I'll have Omega n to the power n

play14:00

minus 1 ok and I can keep going down if

play14:04

K was 2 then I would have everything you

play14:09

know multiplying 2 in the exponent so I

play14:11

would still have for J equals 0 a 1 here

play14:14

I would have an Omega N squared because

play14:16

my K is 2 I'd have Omega N to the 4th

play14:20

dot dot dot Omega and to the 2 n minus 1

play14:25

and so on and so forth you can just go

play14:27

down the list I'll always have ones on

play14:29

the first row and the first column down

play14:32

here I'm gonna have something like Omega

play14:34

N to the N minus 1 Omega n to the 2 n

play14:40

minus 1 dot dot dot and eventually this

play14:45

last entry is going to be Omega n to the

play14:48

N minus 1 squared ok so this is

play14:51

something you can you can readily kind

play14:53

of convince yourself that every row of

play14:55

this is one value of K here and you can

play14:58

figure out what the coefficients are of

play15:00

the data that will be the row of this

play15:02

matrix DFT here okay so long story short

play15:07

what I'm trying to convince you of is

play15:09

that if you have a data vector instead

play15:11

of an analytic function so you just have

play15:14

data in these these pink dots here you

play15:17

can still compute something like a

play15:19

fourier series like a fourier transform

play15:21

but it's the discrete Fourier transform

play15:23

okay and the form of the the discrete

play15:26

Fourier transform pair to go from data

play15:28

to Fourier coefficients or to go from

play15:30

Fourier coefficients back to your data

play15:32

looks very much like a Fourier series

play15:34

but because this is defined on discrete

play15:37

data I can write it as a big matrix

play15:39

operation okay so this here is the DFT

play15:44

matrix this is the DFT the discrete

play15:47

Fourier transform matrix and if you had

play15:50

your your vector of data you multiply it

play15:52

by this matrix you get your Fourier

play15:53

transform out very very useful okay and

play15:56

these Fourier coefficients you'll notice

play15:59

that this is a complex number okay this

play16:01

is e to the this has a cosine plus an I

play16:04

sine part this is a complex number so

play16:07

this is a complex matrix and these

play16:10

Fourier coefficients these blue Fourier

play16:12

coefficients are complex valued and so

play16:14

these somehow tell you how much of that

play16:18

0th mode cosine and sine mode there are

play16:21

but it also tells you the phase okay so

play16:24

the magnitude of this complex number

play16:26

tells you how much magnitude of that

play16:30

first mode you have and then the cut the

play16:32

the phase angle of that complex number

play16:34

tells you you know how much cosine or

play16:37

how much sine or what phase in between

play16:40

your your sine and cosine is okay so

play16:43

every single one of these values is a

play16:45

complex number and the magnitude tells

play16:48

you how much of that set that that

play16:49

second frequency sine and cosine you

play16:51

have and the phase tells you what is the

play16:53

the phase between cosine and sine and it

play16:56

gives you exactly the sines and cosines

play16:59

you need to add up to approximate your

play17:01

data perfectly okay so this is the

play17:04

discrete Fourier transform this is

play17:06

pretty expensive to actually compute

play17:08

this matrix and multiply your data to

play17:11

compute this Fourier transform and so

play17:13

what I'm going to show you in the next

play17:15

few lectures is how you compute this

play17:19

efficiently using the fast Fourier

play17:21

transform so you never actually have to

play17:22

build this matrix and do this

play17:23

multiplication this is how its

play17:25

mathematically defined but

play17:26

computationally we're always going to

play17:28

compute the DFT

play17:29

using the fast Fourier transform

play17:31

algorithm okay that's all coming up soon

play17:33

thank you

Rate This

5.0 / 5 (0 votes)

Etiquetas Relacionadas
Fourier TransformDFTFFTData AnalysisSignal ProcessingAlgorithmComputational MathMatrix MultiplicationScientific ComputingFrequency Analysis
¿Necesitas un resumen en inglés?