Lecture 8
Lecture 8
Lecture 8
Fourier Series & Fourier Transforms
2/16
Lecture 8: Resources
Core material
SaS, O&W, C3.3, 3.4, 4.1, 4.2
Background material
MIT Lecture 5, Lecture 8
3/16
Example 1: Fourier Series sin(w0t)
The fundamental period of sin(w0t) is w0
By inspection we can write:
sin(w0t ) 21j e jw0t 21j e jw0t
So a1 = 1/2j, a-1 = -1/2j and ak = 0 otherwise
4/16
Example 1a: Fourier Series sin(w0t)
The Fourier coefficients can also be explicitly evaluated
2 / w0
2 / w0
sin(w0t )dt cos(w0t ) 0
w0
a0 2 1 1 0
0
2 / w 0 2 / w 0
w0 jkw0t w0
ak 2 sin(w 0 t ) e dt 2
1
2j e jw0t 21j e jw0t e jkw0t dt
0 0
2 / w 0
w0
2
1
2j e jw0t 21j e jw0t e jkw0t dt
0
2 / w 0
w0 j ( k 1)w0t j ( k 1)w0t
4j e e dt
0
6/16
Example 3: Periodic Step Signal
Consider the periodic square wave, illustrated by:
e
2T1 jkw0t jkw0t T1
a0 1dt
1 ak 1
T dt 1
jkw0T e
T T1
T1
T T1
2 e jkw0T1 e jkw0T1
kw0T 2j NB, these
2 sin( kw0T1 ) / kw0T coefficients
are real
sin( kw0T1 ) / k
7/16
Example 3a: Periodic Step Signal
Instead of plotting both the magnitude and the angle of
the complex coefficients, we only need to plot the value
of the coefficients.
Note we have an infinite series of non-zero coefficients
T=4T1
T=8T1
T=16T1
8/16
Convergence of Fourier Series
Not every periodic signal can be represented as an infinite
Fourier series, however just about all interesting signals
can be (note that the step signal is discontinuous)
The Dirichlet conditions are necessary and sufficient
conditions on the signal.
Condition 1. Over any period, x(t) must be absolutely
integrable
x(t ) dt
T
9/16
Fourier Series to Fourier Transform
For periodic signals, we can represent them as linear
combinations of harmonically related complex
exponentials
To extend this to non-periodic signals, we need to consider
aperiodic signals as periodic signals with infinite period.
As the period becomes infinite, the corresponding
frequency components form a continuum and the Fourier
series sum becomes an integral (like the derivation of
CT convolution)
Instead of looking at the coefficients a harmonically –
related Fourier series, we’ll now look at the Fourier
transform which is a complex valued function in the
frequency domain
10/16
Definition of the Fourier Transform
We will be referring to functions of time and their Fourier
transforms. A signal x(t) and its Fourier transform X(jw) are
related by the Fourier transform synthesis and analysis
equations
X ( jw ) x(t )e jwt dt F{x(t )}
and
x(t ) 1
2
X ( jw )e jwt dw F 1{ X ( jw )}
We will refer to x(t) and X(jw) as a Fourier transform pair with
the notation
F
x(t ) X ( jw )
As previously mentioned, the transform function X() can roughly
be thought of as a continuum of the previous coefficients
A similar set of Dirichlet convergence conditions exist for the
Fourier transform, as for the Fourier series (T=(- ,))
11/16
Example 1: Decaying Exponential
Consider the (non-periodic) signal
x(t ) e atu(t ) a0
Then the Fourier transform is:
X ( jw ) e u (t )e
at jwt
dt e ( a jw )t dt
0
1
e ( a jw ) t
( a jw ) 0
1
( a jw )
a=1
12/16
Example 2: Single Rectangular Pulse
Consider the non-periodic rectangular pulse at zero
1 | t | T1
x(t )
0 | t | T1
The Fourier transform is:
T1
X ( jw ) x(t )e jwt
dt e jwt dt
T1
T1
1 jwt
e
jw T1
2 sin(wT1 )
Note, the values are real
w
T1 = 1
13/16
Example 3: Impulse Signal
The Fourier transform of the impulse signal can be
calculated as follows:
x(t ) (t )
X ( jw ) (t )e jwt dt 1
X(jw)
14/16
Example 4: Periodic Signals
A periodic signal violates condition 1 of the Dirichlet conditions for the
Fourier transform to exist
However, lets consider a Fourier transform which is a single impulse of
area 2 at a particular (harmonic) frequency w=w0.
X ( jw ) 2 (w w0 )
The corresponding signal can be obtained by:
x(t ) 1
2
2 (w w0 )e jwt dw e jw0t
which is a (complex) sinusoidal signal of frequency w0. More generally,
when
X ( jw ) 2a (w kw )
k
k 0
15/16
Lecture 8: Summary
Fourier series and Fourier transform is used to represent
periodic and non-periodic signals in the frequency
domain, respectively.
ak T1 x(t )e jkw0t dt
T
X ( jw ) x(t )e jwt dt
16/16
Lecture 8: Exercises
Theory
SaS, O&W, Q4.1-4.4, 4.21
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)))
17/16