52
Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain http://numericalmethods.eng.usf. edu

Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Embed Size (px)

Citation preview

Page 1: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Numerical Methods

Fourier Transform Pair Part: Frequency and Time Domain

http://numericalmethods.eng.usf.edu

Page 2: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

For more details on this topic

Go to http://numericalmethods.eng.usf.edu

Click on keyword Click on Fourier Transform Pair

Page 3: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

You are free

to Share – to copy, distribute, display and perform the work

to Remix – to make derivative works

Page 4: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Under the following conditions Attribution — You must attribute the

work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

Noncommercial — You may not use this work for commercial purposes.

Share Alike — If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

Page 5: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Chapter 11.03: Fourier Transform Pair: Frequency and

Time Domain

Major: All Engineering Majors

Authors: Duc Nguyen

http://numericalmethods.eng.usf.edu

Numerical Methods for STEM undergraduateshttp://numericalmethods.eng.usf.edu 504/10/23

Lecture # 5

Page 6: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

http://numericalmethods.eng.usf.edu6

)()()( 1101 tSinbtCosaatf

)2()2()()()( 221102 tSinbtCosatSinbtCosaatf

)2()2()()()( 221104 tSinbtCosatSinbtCosaatf

Example 1

)(2for

0for)(

Tt

tttf

)4()4()3()3( 4433 tSinbtCosatSinbtCosa

Page 7: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

http://numericalmethods.eng.usf.edu7

Frequency and Time DomainThe amplitude (vertical axis) of a given periodic function can be plotted versus time (horizontal axis), but it can also be plotted in the frequency domain as shown in Figure 2.

Figure 2 Periodic function (see Example 1 in Chapter 11.02 Continuous Fourier Series) in frequency domain.

Page 8: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Frequency and Time Domain cont.

Figures 2(a) and 2(b) can be described with the following equations from chapter 11.02,

k

tikw

keCtf 0~)( (39,

repeated)

where

Ttikw

k dtetfT

C0

0)(1~ (41,

repeated)

http://numericalmethods.eng.usf.edu8

Page 9: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

http://numericalmethods.eng.usf.edu9

For the periodic function shown in Example 1 of Chapter 11.02 (Figure 1), one has:

12

2220

Tfw

2

0

1~dtedtet

TC iktikt

k

Frequency and Time Domain cont.

Page 10: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Frequency and Time Domain cont.

Define:

00

0

11dte

ike

iktdtetA iktiktikt

or

22

2

11

11

ke

ke

k

i

ek

eik

A

ikik

ikik

http://numericalmethods.eng.usf.edu10

Page 11: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

http://numericalmethods.eng.usf.edu11

Also,

2

2

ik

edteB iktikt

ikikikik eek

iee

ikB

22

Frequency and Time Domain cont.

Page 12: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Frequency and Time Domain cont.

Thus: BACk

21~

2

22

11

2

1~ ikik

k ek

i

kk

i

kk

ieC

Using the following Euler identities

)cos(

)sin()cos(

)sin()cos(

k

kik

kike ik

)2cos()2sin()2cos(2 kkike ik

http://numericalmethods.eng.usf.edu12

Page 13: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

http://numericalmethods.eng.usf.edu13

Noting that 1)2cos( k for any integerk

)2(

11)(

2

1~22

kCosk

i

kkkCosCk

1

Frequency and Time Domain cont.

Page 14: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Frequency and Time Domain cont.

Also,

,...)8,6,4,2(1

,...)7,5,3,1(1)cos(

numberevenkfor

numberoddkfork

Thus,

k

i

kkC

k

k

22

11

2

1~

ikk

C k

k

2

111

2

1~2

http://numericalmethods.eng.usf.edu14

Page 15: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

http://numericalmethods.eng.usf.edu15

From Equation (36, Ch. 11.02), one has

2~ kkk

ibaC

(36, repeated)

Hence; upon comparing the previous 2 equations, one concludes:

1)1(12

k

k ka

k

bk1

Frequency and Time Domain cont.

Page 16: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Frequency and Time Domain cont.

For

;8...4,3,2,1k the values for ka kband

(based on the previous 2 formulas) are exactly

identical as the ones presented earlier in Example1 of Chapter 11.02.

http://numericalmethods.eng.usf.edu16

Page 17: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Frequency and Time Domain cont.

Thus:

iiiba

C2

11

2

)1(2

2~ 111

ii

ibaC

4

10

221

0

2~ 222

http://numericalmethods.eng.usf.edu17

Page 18: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

http://numericalmethods.eng.usf.edu18

ii

ibaC

8

10

241

0

2~ 444

ii

ibaC

10

1

25

1

251

252

2~ 555

ii

ibaC

6

1

9

1

231

92

2~ 333

Frequency and Time Domain cont.

Page 19: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Frequency and Time Domain cont.

ii

ibaC

12

10

261

0

2~ 666

ii

ibaC

14

1

49

1

271

492

2~ 777

ii

ibaC

16

10

281

0

2~ 888

http://numericalmethods.eng.usf.edu19

Page 20: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

http://numericalmethods.eng.usf.edu20

In general, one has

numberevenkfori

k

numberoddkforikk

Ck

,..8,6,4,22

1

,..7,5,3,12

11

~ 2

Frequency and Time Domain cont.

Page 21: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

THE ENDhttp://numericalmethods.eng.usf.edu

Page 22: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

This instructional power point brought to you byNumerical Methods for STEM undergraduatehttp://numericalmethods.eng.usf.eduCommitted to bringing numerical methods to the undergraduate

Acknowledgement

Page 23: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

For instructional videos on other topics, go to

http://numericalmethods.eng.usf.edu/videos/

This material is based upon work supported by the National Science Foundation under Grant # 0717624. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

Page 24: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

The End - Really

Page 25: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Numerical Methods

Fourier Transform Pair Part: Complex Number in Polar Coordinates

http://numericalmethods.eng.usf.edu

Page 26: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

For more details on this topic

Go to http://numericalmethods.eng.usf.edu

Click on keyword Click on Fourier Transform Pair

Page 27: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

You are free

to Share – to copy, distribute, display and perform the work

to Remix – to make derivative works

Page 28: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Under the following conditions Attribution — You must attribute the

work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

Noncommercial — You may not use this work for commercial purposes.

Share Alike — If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

Page 29: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Chapter 11.03: Complex number in polar coordinates

(Contd.)

In Cartesian (Rectangular) Coordinates, a complex number can be expressed as:

kC~

iIRC kkk ~

In Polar Coordinates, a complex number can be expressed as:

kC~

iAAiAAeC i

k )sin()cos()sin()cos(~

http://numericalmethods.eng.usf.edu29

Lecture # 6

Page 30: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Complex number in polar coordinates cont.

Thus, one obtains the following relations between the Cartesian and polar coordinate systems: cosARk sinAI k This is represented graphically in Figure 3.

Figure 3. Graphical representation of the complex number system in polar coordinates.

http://numericalmethods.eng.usf.edu30

Page 31: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Complex number in polar coordinates cont.

Hence

)(sin)(cossincos 222222222 AAAIR kk

A

R

A

R kk 1cos)cos(

A

I

A

I kk 1sin)sin(

and

http://numericalmethods.eng.usf.edu31

Page 32: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

http://numericalmethods.eng.usf.edu32

Based on the above 3 formulas, the complex numberscan be expressed as:

kC~

)13770783.2(

1 )59272353.0(2

11~ ieiC

Complex number in polar coordinates cont.

Page 33: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

http://numericalmethods.eng.usf.edu33

eR

mI

Notes:(a)The amplitude and angle are 0.59 and 2.14 respectively (also see Figures 2a, and 2b in chapter 11.03).

1

~C

(b) The angle (in radian) obtained from

A

RCos k)( will be 2.138 radians (=122.48o).

However based on A

ISin k)(

Then = 1.004 radians (=57.52o).

Complex number in polar coordinates cont.

Page 34: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

http://numericalmethods.eng.usf.edu34

)57079633.1(22 )25.0()25.0(

4

10

~ ii

eeiC

)77990097.1(

3 )17037798.0(6

1

9

1~ ieiC

Since the Real and Imaginary components of are negative and positive, respectively, the proper selectionfor should be 2.1377 radians.

Complex number in polar coordinates cont.

Page 35: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

)57079633.1(24 )125.0()125.0(

8

10

~ ii

eeiC

)69743886.1(

5 )100807311.0(10

1

25

1~ ieiC

http://numericalmethods.eng.usf.edu35

Complex number in polar coordinates cont.

)57079633.1(26 )08333333.0()08333333.0(

12

10

~ ii

eeiC

Page 36: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

http://numericalmethods.eng.usf.edu36

)66149251.1(

7 )07172336.0(14

1

49

1~ ieiC

28 )0625.0(

16

10

~ i

eiC

Complex number in polar coordinates cont.

Page 37: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

THE ENDhttp://numericalmethods.eng.usf.edu

Page 38: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

This instructional power point brought to you byNumerical Methods for STEM undergraduatehttp://numericalmethods.eng.usf.eduCommitted to bringing numerical methods to the undergraduate

Acknowledgement

Page 39: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

For instructional videos on other topics, go to

http://numericalmethods.eng.usf.edu/videos/

This material is based upon work supported by the National Science Foundation under Grant # 0717624. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

Page 40: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

The End - Really

Page 41: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Numerical Methods

Fourier Transform Pair Part: Non-Periodic Functions

http://numericalmethods.eng.usf.edu

Page 42: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

For more details on this topic

Go to http://numericalmethods.eng.usf.edu

Click on keyword Click on Fourier Transform Pair

Page 43: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

You are free

to Share – to copy, distribute, display and perform the work

to Remix – to make derivative works

Page 44: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Under the following conditions Attribution — You must attribute the

work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).

Noncommercial — You may not use this work for commercial purposes.

Share Alike — If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

Page 45: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Chapter 11. 03: Non-Periodic Functions (Contd.)

Recall

k

tikw

keCtf 0~)( (39, repeated)

Ttikw

k dtetfT

C0

0)(1~ (41, repeated)

Define

2

2

00 )()(ˆ

T

T

tikw dtetfikwF

http://numericalmethods.eng.usf.edu45

Lecture # 7

(1)

Page 46: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

http://numericalmethods.eng.usf.edu46

Then, Equation (41) can be written as

)(ˆ1~

0ikwFT

Ck

And Equation (39) becomes

k

tikweikwFT

tf 00 )(ˆ

1)(

From above equation

k

tikw

ffor

Tnp eikwFftftf 000

0

)(ˆ)(lim)(lim)(

k

ftik

fnp efikFftf 2

0)2(ˆ)(lim)(

or

Non-Periodic Functions

Page 47: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Non-Periodic Functions cont.

Figure 4. Frequency are discretized.

From Figure 4,

ffk

fti

np efiFdftf 2)2(ˆ)(

dfefiFtf fti

np 2)2(ˆ)(

http://numericalmethods.eng.usf.edu47

Page 48: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

Non-Periodic Functions cont.

Multiplying and dividing the right-hand-side of the equation by , one obtains2

; inverse Fourier transform

)()(ˆ2

1)( 0

00 wdeiwFtf tiw

np

Also, using the definition stated in Equation (1), one gets

)()()(ˆ 00 tdetfiwF tiw

np; Fourier transform

http://numericalmethods.eng.usf.edu48

Page 49: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

THE ENDhttp://numericalmethods.eng.usf.edu

Page 50: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

This instructional power point brought to you byNumerical Methods for STEM undergraduatehttp://numericalmethods.eng.usf.eduCommitted to bringing numerical methods to the undergraduate

Acknowledgement

Page 51: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

For instructional videos on other topics, go to

http://numericalmethods.eng.usf.edu/videos/

This material is based upon work supported by the National Science Foundation under Grant # 0717624. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

Page 52: Numerical Methods Fourier Transform Pair Part: Frequency and Time Domain

The End - Really