Professional Documents
Culture Documents
Concepts
Goal
• In this module, we will look at the frequency domain
representation of signals
– Different models are used depending on the nature of the
independent/dependent variable (Continuous vs. Discrete)
• Next module applies these concepts to filtering techniques.
2
Why Another Domain
• Time domain operations are often not very informative and/or
efficient in signal processing
– Examples: nature of noise present (filtering); data that can be eliminated
(compression);
• An alternative representation and characterization of signals
and systems can be made in transform domain
– Essentially mathematical operators
• The two domains or characterizations are complementary of
each other
– Most are invertible (You can get one from the other and vise versa)
– Provide different insight to solving problems
3
Jean Baptiste Joseph Fourier
• Fourier was born in Auxerre, France in 1768
• Most famous for his work ―La Théorie Analitique de
la Chaleur” published in 1822
• Translated into English in 1878: ―The Analytic
Theory of Heat”
• Nobody paid much attention when the work was first
published
• Had crazy idea (1807): Any periodic function can be
rewritten as a weighted sum of sines and cosines of
different frequencies.
– Many didn’t believe him including Lagrange, Laplace,
Poisson.
– Not translated into English until 1878!
• One of the most important mathematical theories in
modern era.
4
The Big Idea
Any function that periodically repeats itself can be expressed as a
an (infinite) sum of sines and cosines of different frequencies
each multiplied by a different coefficient – a Fourier series
5
Example
6
Example
7
Fourier Types
The concept/model was later expanded to accommodate different types of
signals:
• Fourier Series
– For Periodic continuous functions
• Fourier Transform
– For any continuous function
– functions that are not periodic (but whose area under the curve is finite) can be
expressed as the integral of sines and cosines multiplied by a weighing function.
• Discrete Fourier Transform
– For sampled sequence of data (digital data)
– Digital signal processing uses the discrete Fourier transform, DFT (1D and 2D)
• Today, the concept of composing a signal in terms of basis functions (delta
functions, polynomilas, sinusoidal functions, wavelets, etc.) is taking for
granted and forms the basis of many fields including compression and
filtering, among many others.
8
Frequency Family
Type of Function (Signal) Fourier Model Used
tan 1 ( I / R ), - /2 /2
– C can also be written as
C C cos j C sin( )
10
Magnitude and Phase in the Complex
Plane
• The graph show the
magnitude and phase of a
complex number z
z R2 I2
tan 1( I / R), - /2 /2
11
Magnitude and Phase in the Complex
Plane
• Another way (very
important way) to write
the complex number is as
an exponential
j
z ze
12
Special case of the Unit Circle
j
e
13
Multiplication
• When you multiply two complex numbers, their magnitudes
multiply:
xy x x
and their phases add:
( xy) ( x) ( y)
• This can be easily seen in the exponential notation
j j
z1 z1 e 1 z2 z2 e 2
j j j( 2)
z1z2 z1 e 1
z2 e 2
z1 || z2 e 1
14
Complex Conjugates
For a complex number z:
z = a + bj
17
Euler’s Formula: Graphical
Interpretation
j (z )
z ze
18
Euler’s Formula: Application
• What is (2 + 2j)(−3 + 3j)?
• Suppose that we already have these numbers in magnitude-
phase notation:
2 2j 4 4 2 2 3 3j 9 9 3 2
(2 2 j) tan 1 ( 2 ) /4 ( 3 3 j) tan 1 ( 3 3) 3 / 4
2
2 2j 2 2 e j /4 3 3j 3 2 e j3 /4
(2 2 j )( 3 3 j) 2 2 ej /4
. 3 2 e j3 /4
(2 2 3 2 ) e j /4 j3 /4
e
(12 )e j( /4 3 /4)
(12 )e j( )
12
19
Powers of Complex Numbers
• Suppose that we take a complex number
z zej (z )
20
Powers of Complex Numbers:
Example
What is jn for various n?
j ej /2
j0 1
j ej /2
j
j2 e j2 /2
1
j3 e j3 /2
j
j4 e j4 /2
1
...
21
Series Representation
22
23
Math Background
Even & Odd functions
24
Math Background
25
Transform Terminology
• The term used to find the frequency content/components of a
signal is called Analysis or Decomposition
• The term used to create a signal (in time) from its frequency
content/components is called Synthesis or Composition
26
Fourier Series
27
Dirichlet Conditions
A periodic signal x(t), has a Fourier series if it satisfies the
following conditions:
1. x(t) is absolutely integrable over any period, namely
x(t ) dt
T0
2. x(t) has only a finite number of maxima and minima over
any period
3. x(t) has only a finite number of discontinuities over any
period
28
Fourier Series
• With f0=1/T0 and ω0=2πf0
x(t ) ck e jk 0t
k
• Notation: x(t) ↔ ak where the double arrow signifies the invertibility
of one form to the other
jk t
• Note that each complex exponential e 0 that makes up the sum is
an integer multiple of ω0, the fundamental frequency.
– Hence, the complex exponentials are harmonically related
• The coefficients ck, aka Fourier (series) coefficients, are possibly
complex
– Fourier series (and all other types of Fourier transforms) are complex
valued! That is, there is a magnitude and phase (angle) term to the Fourier
transform!
– This is the only unknown that is to be calculated from the waveform x(t)
29
Fourier Series
30
Fourier Series
t t0 T0
1 jk 0t
• Analysis Part: ck x ( t )e dt
T0 t t0
– The limits of the integral can be chosen to cover any interval of T0 (in
many book written as meaning integrate over any interval of length
T
T) 0
31
Proof of how to get Fourier
coefficients
• Graduate Student
• In the proof, our Fourier coefficient is ak
32
Example-01
x(t ) 1 sin 0 t 2 cos 0 t cos( 2 0 t )
4
1 j
use Euler identity for cos (e e- j )
2
1 j
and sin (e e- j ) : -
2j
1 j 0t 1 j 2 0t
x(t) 1 [e e j 0t ] [e j 0t e j 0t ] [e /4
e j2 0t /4
]
2j 2
1 j 0t 1 1 j ( / 4) j 2 1
x(t ) 1 (1 )e (1 )e j 0 t e )e 0t
e j ( / 4)
)e j2 0t
2j 2j 2 2
Fourier series coefficien ts are : -
1 1
c0 1, c1 (1 ), c 1 (1 ),
2j 2j
1 j ( / 4) 1 j ( / 4)
c2 e , c 2 e , ck 0 for | k | 2. 33
2 2
Example-02
34
Example-03
35
Trigonometric Form of FS
• Trigonometric Form 1:
f t a0 an cos n 0 t bn sin n 0 t
1 T0 n 1
a0 f t dt
T0 0
2 T0
an f t cos n 0 t dt
T0 0
2 T0
bn f t sin n 0 t dt
T0 0
• Trigonometric Form 2:
f t c0 cn cos n This form is obtained from the
0t n
n 1 trigonometric identity
where c0 a0 , cn an2 bn2 , and a cos(x) + b sin(x) = c cos(x + )
1 bn
n tan
an 36
Example
f(t)
f t a0 an cos 2nt bn sin 2nt
1 n 1
e-t/2 t
1 2
2 2
a0 e dt e 1 0.504
0
0
• Fundamental period t
2 2
2
T0 = an e cos 2nt dt 0.504
0 1 16 n 2
• Fundamental frequency t
f0 = 1/T0 = 1/ Hz 2 2
8n
bn e sin 2nt dt 0.504
0 1 16 n 2
0 = 2 /T0 = 2 rad/s
an and bn decrease in amplitude as n .
2
f t 0.504 1 2
cos 2nt 4n sin 2nt
n 1 1 16 n
Compact Trigonometric
f(t)
f t C0 C n cos 2nt n
1 n 1
e-t/2 a0 0.504
2
0
an 0.504
1 16 n 2
8n
• Fundamental period bn 0.504
1 16 n 2
T0 = C0 ao 0.504
• Fundamental frequency 2
Cn an2 bn2 0.504
f0 = 1/T0 = 1/ Hz 1 16 n 2
bn
0 = 2 /T0 = 2 rad/s
1 1
n tan tan 4n
an
2 1
f t 0.504 0.504 cos 2nt tan 4n
2
n 1 1 16 n
• Relationship among the forms
cn 0.5 an jbn
c n c n 0.5 an jbn
c0 a0
j
cn 0.5d n n 0.5d n e n
c0 d0
39
Final Notes on FS
• f() and F() must contain the same information.
– It is very important to know that the Fourier series is
completely reversible
• It provides one-to-one transform of signals from/to a time-
domain representation f(t) to/from a frequency domain
representation FS().
• It is a mathematical ―prism‖ to separate a function into
various components
• It allows a frequency content (spectral) analysis of a signal.
40
Properties of Fourier Series
• Pay close attention to these properties as many of them will
apply to the other transforms later on
Properties of Fourier Series
Properties of Fourier Series
Properties of Fourier Series
Properties of Fourier Series
Properties of Fourier Series
Properties of Fourier Series
FS Representation of Discrete–
Time Periodic Signals
• Given a discrete-time periodic signal with fundamental period
of N and fundamental frequency ω0=2π/N
N 1 N 1
jk 0n
x[n] ak e ak e jk ( 2 / N )n
k 0 k 0
N 1 N 1
1 jk 0n jk ( 2 / N ) n
ak x[n]e x[n]e
N n 0 n 0
FS
x[n] ak
48
FS Representation of Discrete–
Time Periodic Signals
• ak: Fourier series coefficients or spectral coefficients
• Differences to continuous-time case
– Discrete-time Fourier series is finite
– There are only N distinct discrete–time complex exponential signals
ejk(2/N)n that are periodic with period N (harmonically related signals).)
– No mathematical issues with convergence—discrete–time Fourier series
representation always exists
– ak = ak+N
49
FS Representation of Discrete–
Time Periodic Signals
• The set of coefficients
N 1 N 1
1 jk 0n jk ( 2 / N ) n
ak x[n]e x[n]e
N n 0 n 0
50
51
Properties of Discrete Time Fourier
Series
• Similar to the continuous case
52
Matlab
Matlab
To use the CT Fourier transform, you need to have the
symbolic toolbox for Matlab installed. If this is so, try
typing:
>> syms t;
>> fourier(cos(t))
>> fourier(cos(2*t))
>> fourier(sin(t))
>> fourier(exp(-t^2))
Note also that the ifourier() function exists so…
>> ifourier(fourier(cos(t)))
53
John Hopkins Website
• Great site to learn about Signals, Convolution, and Linear
Systems.
http://www.jhu.edu/~signals/
56