Fourier Trnsform
Fourier Trnsform
Jianfeng Feng
Department of Computer Science Warwick Univ., UK
Jianfeng.feng@warwick.ac.uk
http://www.dcs.warwick.ac.uk/~feng/dcsp.html
Data transmission
Channel characteristics,
Signalling methods (ADC)
Fourier transform
0 B Frequency
Nyquist-Shannon Theorem
The ADC process is governed by an important la
Nyquist-Shannon Theorem
(will be discussed in Chapter 3)
• Well, the blue line has the identical frequency, and x[n]. What is wrong?
Noise in a channel
Noise in a channel
Attenuation
Noise in a channel
Noise in a channel
Noise in a channel
SNR
Noise therefore places a limit on the channel at
which we can transfer information
Time frequency
Fourier Transform
bandwidth
noise power
Communication Techniques I
Time frequency
Fourier Transform
bandwidth
noise power
Communication Techniques II
Time, frequency and bandwidth
The
Your heartbeat
• Ingredients:
a frequency ω (units: radians)
an initial phase φ (units: radians)
an amplitude A (units depending on underlying measurement)
• a trigonometric function
e.g. x[n]= A cos(ωn+φ)
cosine wave, x(t), has a single frequency,
w =2 p/T
where T is the period i.e. x(t+T)=x(t).
What do we expect?
Power
1 Hz
Time Fre
What do we expect?
Power
1 Hz
Time Fre
What do we expect?
Power
1 Hz
Time Fre
What do we expect?
Power
1 Hz
Time Fre
What do we expect?
Power
1 Hz
Time Fre
Fourier Transform I
This representation is quite general.
• People start computing Fourier series, and develop tricks Good comes up
with an algorithm in 1958
Gauss
History of FT III
Fourier
History of FT IV
Jianfeng Feng
History of FT V
Prof Feng
Complex Numbers
Euler Formular
Exp(j a) = cos a + j sin a
The complex eponential
• x[n] = Aexp(j(ωn+φ))
exp ( j π ) + 1 = 0
k1 IFT y
k2 x
FT
Fun: Decoding dream (Horikawa et al.
Science, 2013)
DCSP-3: Fourier Transform II
Jianfeng Feng
Department of Computer Science Warwick Univ., UK
Jianfeng.feng@warwick.ac.uk
http://www.dcs.warwick.ac.uk/~feng/dcsp.html
This week’s summary
• Intuition
• Fourier theorem
• Examples
• Bandwidth
Fourier Theorem
This representation is quite general.
In fact we have the following theorem due to Fourier.
Two a point in it
Two a point in it
Two a point in it
x(t) = ?
Two a point in it
Functional
x (t) = a cos(ω t) + b cos (2 ω t)
w = 2 pi /T
Intuition of FT
1. Coefficient is obtained via Inner
product
<(x, y), (m,n)> = xm+yn
2. All bases are orthogonal
<(0, 1), (1,0)> = 0, (0,1) (1, 0)
T /2
2
x(t),y(t )
T /2
T x(t )y(t )dt
T
2
cos(wt ),cos(2wt )
T T cos(wt ) cos(2wt )dt
Intuition of FT Cos ( ω t)
Cos ( 2* ω t)
Cos ( 2 ω t) * Cos ( 2* ω t)
T
2
cos(wt ),cos(2wt )
T T cos(wt ) cos(2wt )dt
Intuition of FT Cos ( 2 ω t)
Cos ( 2* ω t)
Cos ( 2 ω t) * Cos ( 2* ω t)
2 / T ,n m
cos(mwt ),cos(nwt )
0,n m
In particular, we have
ò
2
a = <X(t), cos(ω t)> = x(t) cos(w t)dt
T -T /2
b=?
Intuition of FT
X
X1 X6
(1 0 0 0 0 0) X2 X3 x4 (0 0 0 0 0 1)
X5
(0 0 1 0 0 0) (0 1 0 1 0 0)
(0 1 0 0 0 0 ) (0 1 0 0 1 0)
• In an n-dim Euclidean space, we decompose any vector X in terms of orthogonal bases
• X = x1 (1 0 0 0 0 0) + x2(0 1 0 0 0 0 ) + … + x6 (0 0 0 0 0 1)
Intuition of FT
X(t)
A6 ……….
A1
cos (ω t )
A2 A3 A4
A5
cos (2 ω t )
cos (2 ω t )
cos (2 ω t )
cos (2 ω t )
cos (2 ω t )
cos (2 ω t )
¥ ¥
x(t) = A0 + å An cos(nw t) +å Bn sin(nw t)
n=1 n=1
ì T /2
ò
1
ï A0 =< 1, x(t) >= x(t ) dt
ï T -T /2
ï T /2
ò
2
ï An =< cos(nw t), x(t) >= x(t) cos(nw t) dt
ï T
í -T /2
ï T /2
ò
2
ï Bn =< sin(nw t), x(t) >= x(t)sin(nw t) dt
ï T -T /2
ï 2p
ï w=
î T
where A0 is the d.c. term, and T is the period of the waveform.
FT: Fourier Thm in terms of Sin and Cos
• simply a generalization of common knowledge of the Euclidean space
¥ ¥
x(t) = A0 + å An cos(nw t) +å Bn sin(nw t)
n=1 n=1
ì T /2
ò
1
ï A0 =< 1, x(t) >= x(t ) dt
ï T -T /2
ï T /2
ò
2
ï An =< cos(nw t), x(t) >= x(t) cos(nw t) dt
ï T
í -T /2
ï T /2
ò
2
ï Bn =< sin(nw t), x(t) >= x(t)sin(nw t) dt
ï T -T /2
ï 2p
ï w=
î T
where A0 is the d.c. term, and T is the period of the waveform.
FT: Fourier Thm in terms of Sin and Cos
• simply a generalization of common knowledge of the Euclidean space
¥ ¥
x(t) = A0 + å An cos(nw t) +å Bn sin(nw t)
n=1 n=1
ì T /2
ò
1
ï A0 =< 1, x(t) >= x(t ) dt
ï T -T /2
ï T /2
ò
2
ï An =< cos(nw t), x(t) >= x(t) cos(nw t) dt
ï T
í -T /2
ï T /2
ò
2
ï Bn =< sin(nw t), x(t) >= x(t)sin(nw t) dt
ï T -T /2
ï 2p
ï w=
î T
where A0 is the d.c. term, and T is the period of the waveform.
FT: Fourier Thm in terms of Sin and Cos
• simply a generalization of common knowledge of the Euclidean space
¥ ¥
x(t) = A0 + å An cos(nw t) +å Bn sin(nw t)
n=1 n=1
ì T /2
ò
1
ï A0 =< 1, x(t) >= x(t ) dt
ï T -T /2
ï T /2
ò
2
ï An =< cos(nw t), x(t) >= x(t) cos(nw t) dt
ï T
í -T /2
ï T /2
ò
2
ï Bn =< sin(nw t), x(t) >= x(t)sin(nw t) dt
ï T -T /2
ï 2p
ï w=
î T
where A0 is the d.c. term, and T is the period of the waveform.
Example I
p 2p 3p 4p
Example I
ì p
ò dt = 2
1 1
ï A0 =
ï 2p 0
ï
ï p
Finally, we have
1 2 1 1
x(t) = + [sin(t) + sin(3t) + sin(5t) +...]
2 p 3 5
Example I |X(F)|
2/p
Frequency domain
1 2 1 1
x(t ) = + [sin(t ) + sin(3t ) + sin(5t ) + ...]
2 p 3 5
2/p
Time domain
Frequency domain
Example I
• A periodic signal is uniquely determined by its coefficients {An, Bn}.
one term
Two terms
Three terms
Five terms
Example II (understanding music)
Example II
a. Pure tone: Script1_1.m
0 B Frequency