Magnitude and Phase The Fourier Transform: Examples, Properties

4
The Fourier Transform: Examples, Properties, Common Pairs The Fourier Transform: Examples, Properties, Common Pairs CS 450: Introduction to Digital Signal and Image Processing Bryan Morse BYU Computer Science The Fourier Transform: Examples, Properties, Common Pairs Magnitude and Phase Remember: complex numbers can be thought of as (real,imaginary) or (magnitude,phase). Magnitude: |F | = (F ) 2 + (F ) 2 1/2 Phase: φ (F ) = tan -1 (F ) (F ) Real part How much of a cosine of that frequency you need Imaginary part How much of a sine of that frequency you need Magnitude Amplitude of combined cosine and sine Phase Relative proportions of sine and cosine The Fourier Transform: Examples, Properties, Common Pairs Example: Fourier Transform of a Cosine f (t )= cos(2πst ) F (u) = Z -∞ f (t ) e -i 2πut dt = Z -∞ cos(2πst ) e -i 2πut dt = Z -∞ cos(2πst )[cos(-2πut )+ i sin(-2πut )] dt = Z -∞ cos(2πst ) cos(-2πut ) dt + i Z -∞ cos(2πst ) sin(-2πut ) dt = Z -∞ cos(2πst ) cos(2πut ) dt - i Z -∞ cos(2πst ) sin(2πut ) dt 0 except when u = ±s 0 for all u = 1 2 δ(u - s)+ 1 2 δ(u + s) The Fourier Transform: Examples, Properties, Common Pairs Example: Fourier Transform of a Cosine Spatial Domain Frequency Domain cos(2πst ) 1 2 δ(u - s)+ 1 2 δ(u + s) 0.2 0.4 0.6 0.8 1 -1 -0.5 0.5 1 -10 -5 5 10 0.2 0.4 0.6 0.8 1 The Fourier Transform: Examples, Properties, Common Pairs Odd and Even Functions Even Odd f (-t )= f (t ) f (-t )= -f (t ) Symmetric Anti-symmetric Cosines Sines Transform is real * Transform is imaginary * * for real-valued signals The Fourier Transform: Examples, Properties, Common Pairs Sinusoids Spatial Domain Frequency Domain f (t ) F (u) cos(2πst ) 1 2 [δ(u + s)+ δ(u - s)] sin(2πst ) 1 2 i [δ(u + s) - δ(u - s)]

Transcript of Magnitude and Phase The Fourier Transform: Examples, Properties

Page 1: Magnitude and Phase The Fourier Transform: Examples, Properties

The Fourier Transform: Examples, Properties, Common Pairs

The Fourier Transform:Examples, Properties, Common Pairs

CS 450: Introduction to Digital Signal and Image Processing

Bryan MorseBYU Computer Science

The Fourier Transform: Examples, Properties, Common Pairs

Magnitude and Phase

Remember: complex numbers can be thought of as (real,imaginary)or (magnitude,phase).

Magnitude: |F | =[<(F )2 + =(F )2

]1/2

Phase: φ (F ) = tan−1 =(F )<(F )

Real part How much of a cosine of that frequency you needImaginary part How much of a sine of that frequency you needMagnitude Amplitude of combined cosine and sinePhase Relative proportions of sine and cosine

The Fourier Transform: Examples, Properties, Common Pairs

Example: Fourier Transform of a Cosine

f (t) = cos(2πst)

F (u) =

Z ∞−∞

f (t) e−i2πut dt

=

Z ∞−∞

cos(2πst) e−i2πut dt

=

Z ∞−∞

cos(2πst) [cos(−2πut) + i sin(−2πut)] dt

=

Z ∞−∞

cos(2πst) cos(−2πut) dt + iZ ∞−∞

cos(2πst) sin(−2πut) dt

=

Z ∞−∞

cos(2πst) cos(2πut) dt − iZ ∞−∞

cos(2πst) sin(2πut) dt

0 except when u = ±s 0 for all u

=12

δ(u − s) +12

δ(u + s)

The Fourier Transform: Examples, Properties, Common Pairs

Example: Fourier Transform of a Cosine

Spatial Domain Frequency Domain

cos(2πst) 12δ(u − s) + 1

2δ(u + s)

0.2 0.4 0.6 0.8 1

-1

-0.5

0.5

1

-10 -5 5 10

0.2

0.4

0.6

0.8

1

The Fourier Transform: Examples, Properties, Common Pairs

Odd and Even Functions

Even Oddf (−t) = f (t) f (−t) = −f (t)Symmetric Anti-symmetric

Cosines SinesTransform is real∗ Transform is imaginary∗

∗ for real-valued signals

The Fourier Transform: Examples, Properties, Common Pairs

Sinusoids

Spatial Domain Frequency Domainf (t) F (u)

cos(2πst) 12 [δ(u + s) + δ(u − s)]

sin(2πst) 12 i [δ(u + s)− δ(u − s)]

Page 2: Magnitude and Phase The Fourier Transform: Examples, Properties

The Fourier Transform: Examples, Properties, Common Pairs

Constant Functions

Spatial Domain Frequency Domainf (t) F (u)

1 δ(u)

a a δ(u)

The Fourier Transform: Examples, Properties, Common Pairs

Delta Functions

Spatial Domain Frequency Domainf (t) F (u)

δ(t) 1

The Fourier Transform: Examples, Properties, Common Pairs

Square Pulse

Spatial Domain Frequency Domainf (t) F (u){

1 if −a/2 ≤ t ≤ a/20 otherwise sinc(aπu) = sin(aπu)

aπu

The Fourier Transform: Examples, Properties, Common Pairs

Square Pulse

The Fourier Transform: Examples, Properties, Common Pairs

Triangle

Spatial Domain Frequency Domainf (t) F (u){

1− |t | if −a ≤ t ≤ a0 otherwise sinc2(aπu)

The Fourier Transform: Examples, Properties, Common Pairs

Comb

Spatial Domain Frequency Domainf (t) F (u)

δ(t mod k) δ(u mod 1/k)

Page 3: Magnitude and Phase The Fourier Transform: Examples, Properties

The Fourier Transform: Examples, Properties, Common Pairs

Gaussian

Spatial Domain Frequency Domainf (t) F (u)

e−πt2e−πu2

The Fourier Transform: Examples, Properties, Common Pairs

Differentiation

Spatial Domain Frequency Domainf (t) F (u)

ddt 2πiu

The Fourier Transform: Examples, Properties, Common Pairs

Some Common Fourier Transform Pairs

Spatial Domain Frequency Domainf (t) F (u)

Cosine cos(2πst) Deltas 12 [δ(u + s) + δ(u − s)]

Sine sin(2πst) Deltas 12 i [δ(u + s)− δ(u − s)]

Unit 1 Delta δ(u)Constant a Delta aδ(u)Delta δ(t) Unit 1Comb δ(t mod k) Comb δ(u mod 1/k)

The Fourier Transform: Examples, Properties, Common Pairs

More Common Fourier Transform Pairs

Spatial Domain Frequency Domainf (t) F (u)

Square 1 if −a/2 ≤ t ≤ a/20 otherwise Sinc sinc(aπu)

Triangle 1− |t | if −a ≤ t ≤ a0 otherwise Sinc2 sinc2(aπu)

Gaussian e−πt2Gaussian e−πu2

Differentiation ddt Ramp 2πiu

The Fourier Transform: Examples, Properties, Common Pairs

Properties: Notation

Let F denote the Fourier Transform:

F = F(f )

Let F−1 denote the Inverse Fourier Transform:

f = F−1(F )

The Fourier Transform: Examples, Properties, Common Pairs

Properties: Linearity

Adding two functions together adds their Fourier Transforms together:

F(f + g) = F(f ) + F(g)

Multiplying a function by a scalar constant multiplies its FourierTransform by the same constant:

F(af ) = a F(f )

Page 4: Magnitude and Phase The Fourier Transform: Examples, Properties

The Fourier Transform: Examples, Properties, Common Pairs

Properties: Translation

Translating a function leaves the magnitude unchanged and adds aconstant to the phase.If

f2 = f1(t − a)F1 = F(f1)F2 = F(f2)

then|F2| = |F1|

φ (F2) = φ (F1)− 2πua

Intuition: magnitude tells you “how much”, phase tells you “where”.

The Fourier Transform: Examples, Properties, Common Pairs

Change of Scale: Square Pulse Revisited

The Fourier Transform: Examples, Properties, Common Pairs

Rayleigh’s Theorem

Total “energy” (sum of squares) is the same in either domain:∫ ∞−∞|f (t)|2 dt =

∫ ∞−∞|F (u)|2 du