Professional Documents
Culture Documents
EEE221 Lec4 PDF
EEE221 Lec4 PDF
Fourier Series
• In the Fourier Series, we saw that we can break down any
periodic signal into an infinite sum of sinusoids occurring
at discrete frequencies.
• At frequencies denoted by 𝑛𝜔0 - the fundamental
frequency multiplied by an integer, we had values of
coefficients.
𝑓 𝑡 = 𝐷𝑛 𝑒 𝑗𝑛𝜔0 𝑡
𝑛=−∞
Where
1
𝐷𝑛 = 𝑓 𝑡 𝑒 −𝑗𝑛𝜔0 𝑡 𝑑𝑡
𝑇0 𝑇0
14 March 2019 Fourier Transform 5
Fourier Transform
• The issue with Fourier Series is that it only applies to
periodic signals!
• But lots of real world applications of signals has to deal
with aperiodic signals – that is, signals that do not repeat
after some finite positive interval 𝑇0
• The Fourier Transform is an extension of the Fourier
Series that can sidestep the periodicity issue
• We can use the Fourier transform on aperiodic signals.
14 March 2019 Fourier Transform 6
∞
𝐹 𝜔 = 𝑓 𝑡 𝑒 −𝑗𝜔𝑡 𝑑𝑡
−∞
And the Inverse Fourier Transform:
∞
1
𝑓 𝑡 = 𝐹 𝜔 𝑒 𝑗𝜔𝑡 𝑑𝜔
2𝜋 −∞
• What if we let 𝑇0 → ∞?
Fourier Transform
• Fourier Transform switches the domain of the signal
received from time to frequency
• It is a function of a continuous variable 𝜔 – a variable
that includes all real numbers.
Notation
𝑓 𝑡 𝐹(𝜔)
𝐹𝑜𝑢𝑟𝑖𝑒𝑟 𝑇𝑟𝑎𝑛𝑠𝑓𝑜𝑟𝑚
𝐹(𝜔) 𝑓 𝑡
𝐼𝑛𝑣𝑒𝑟𝑠𝑒 𝐹𝑜𝑢𝑟𝑖𝑒𝑟 𝑇𝑟𝑎𝑛𝑠𝑓𝑜𝑟𝑚
A note on integration
• Like the Fourier Series, some functions can be very
difficult to directly integrate with the Fourier transform
• Requires integration by parts
• However, if you have the table of Fourier Transforms and
you understand the properties of Fourier Transform – you
would have little trouble with them!
14 March 2019 Fourier Transform 12
14 March 2019 Fourier Transform 13
Linearity
• The Fourier Transform is LINEAR; that is, if
𝑓1 (𝑡) ↔ 𝐹1 (𝜔)
And
𝑓2 (𝑡) ↔ 𝐹2 (𝜔)
Then
𝑎1 𝑓1 𝑡 + 𝑎2 𝑓2 𝑡 ↔ 𝑎1 𝐹1 𝜔 + 𝑎2 𝐹2 (𝜔)
Time-Frequency Duality
• For any relationship between 𝑓(𝑡) and 𝐹(𝜔), there exists
a dual result of the relationship (with small modifications)
• This is because the Direct Fourier Transform and the
Inverse Fourier Transform are so closely related to one
another in terms of formula
14 March 2019 Fourier Transform 15
Symmetry Property
If
𝑓(𝑡) ↔ 𝐹(𝜔)
Then
𝐹 𝑡 ↔ 2𝜋𝑓(−𝜔)
Symmetry Property
14 March 2019 Fourier Transform 17
Scaling property
If
𝑓(𝑡) ↔ 𝐹(𝜔)
1 𝜔
𝑓 𝑎𝑡 ↔ 𝐹
𝑎 𝑎
𝑓 𝑡 − 𝑡0 ↔ 𝐹 𝜔 𝑒 −𝑗𝜔𝑡0
14 March 2019 Fourier Transform 21
Then,
𝑓 𝑡 𝑒 𝑗𝜔0 𝑡 ↔ 𝐹 𝜔 − 𝜔0
Convolution Property
• The time convolution property and its dual, the frequency
convolution property, states that if
𝑓1 𝑡 ∗ 𝑓2 𝑡 ↔ 𝐹1 𝜔 𝐹2 (𝜔)
1
𝑓1 𝑡 𝑓2 𝑡 ↔ 𝐹1 𝜔 ∗ 𝐹2 (𝜔)
2𝜋
14 March 2019 Fourier Transform 23
𝑦 𝑡 =𝑥 𝑡 ∗ℎ 𝑡
• Then
𝑌 𝜔 = 𝑋(𝜔)𝐻(𝜔)
𝑑𝑛 𝑓 𝑛𝐹 𝜔
↔ (𝑗𝜔)
𝑑𝑡 𝑛
14 March 2019 Fourier Transform 25
GENERALIZED FOURIER
TRANSFORMS
14 March 2019 Generalized Fourier Transforms 27
∞
𝐹 𝜔 =𝐹 𝛿 𝑡 = 𝛿 𝑡 𝑒 −𝑗𝜔𝑡 𝑑𝑡 = 1
−∞
• 𝛿(𝑡) only has value at 𝑡 = 0, which means
𝑒 −𝑗𝜔𝑡 = 𝑒 −𝑗𝜔0 = 1
• In other words,
𝛿(𝑡) ↔ 1
14 March 2019 Generalized Fourier Transforms 28
Shifted 𝛿(𝑡)
• A time shifted impulse function has the Fourier Transform
∞
𝐹 𝛿 𝑡 − 𝑡0 = 𝛿 𝑡 − 𝑡0 𝑒 −𝑗𝜔𝑡 𝑑𝑡
−∞
= 𝑒 −𝑗𝜔𝑡0
𝛿(𝑡 − 𝑡0 ) ↔ 𝑒 −𝑗𝜔𝑡0
14 March 2019 Generalized Fourier Transforms 30
𝛿(𝑡 − 𝑡0 ) ↔ 𝑒 −𝑗𝜔𝑡0
Constant
• Recall that the FT of an impulse function gives us a
constant value of 1
𝛿(𝑡) ↔ 1
1 ↔ 2𝜋𝛿(𝜔)
14 March 2019 Generalized Fourier Transforms 32
Sinusoidal Signals
• Recall that the FT of an shifted impulse function gives us a
complex exponential
𝛿(𝑡 − 𝑡0 ) ↔ 𝑒 −𝑗𝜔𝑡0
• Using the symmetry property again, we can find that
𝑒 −𝑗𝜔0 𝑡 ↔ 2𝜋𝛿(𝜔 − 𝜔0 )
14 March 2019 Generalized Fourier Transforms 33
FT of Cosine
• Using Euler’s formula, we can find the Fourier Transform
of a cosine
1 𝑗𝜔 𝑡
𝐹 cos(𝜔0 𝑡)] = 𝐹 𝑒 0 + 𝑒 −𝑗𝜔0 𝑡
2
14 March 2019 Generalized Fourier Transforms 34
FT of Cosine
𝑐𝑜𝑠(𝜔0 𝑡) ↔ 𝜋 𝛿 𝜔 − 𝜔0 + 𝛿 𝜔 + 𝜔0
14 March 2019 Generalized Fourier Transforms 35
FT of Sine
• You can use Euler’s formula again to obtain the Fourier
Transform of a Sine
1
• Since 𝑠𝑖𝑛 𝜔0 𝑡 = 𝑒 𝑗𝜔0 𝑡 − 𝑒 −𝑗𝜔0 𝑡 , we can see that
2𝑗
𝑠𝑖𝑛(𝜔0 𝑡) ↔ 𝑗𝜋 𝛿 𝜔 − 𝜔0 − 𝛿 𝜔 + 𝜔0
NEGATIVE FREQUENCY
14 March 2019 Negative Frequency 37
Complex plane
• Recall that we can represent complex numbers as vectors on
the complex plane
Im
𝒆𝒋𝝎𝒕
Re
𝒆−𝒋𝝎𝒕
1
• cos 𝜔0 𝑡 = 𝑒 𝑗𝜔0 𝑡 + 𝑒 −𝑗𝜔0 𝑡
2
14 March 2019 Negative Frequency 40
Cosine
• You can think of the cosine as two complex exponentials
spinning in opposite directions – one counter clockwise
and positive, and the other clockwise and negative
• It’s the same idea with sines – the vector just starts from
the imaginary axis (y-axis) instead of the real axis like the
cosine
PARSEVAL’S THEOREM
14 March 2019 Parseval’s Theorem 42
Parseval’s Theorem
• Recall that the Energy of a signal is given by:
∞
𝐸𝑓 = 𝑥(𝑡) 2 𝑑𝑡
−∞
• Parseval’s Theorem states that total energy of a signal
can be calculated by integrating across time or across
frequency; i.e. they’ll give the same result
∞ ∞
2
1
𝐸𝑓 = 𝑥(𝑡) 𝑑𝑡 = 𝑋(𝜔) 2 𝑑𝜔
−∞ 2𝜋 −∞
1
Note: the is just to scale the value because we’re using
2𝜋
the radian frequency 𝜔
MODULATION
14 March 2019 Modulation 44
𝑓1 𝑡 ∗ 𝑓2 𝑡 ↔ 𝐹1 𝜔 𝐹2 (𝜔)
1
𝑓1 𝑡 𝑓2 𝑡 ↔ 𝐹1 𝜔 ∗ 𝐹2 (𝜔)
2𝜋
14 March 2019 Modulation 45
Modulation
• Modulation is a special case of frequency convolution,
and is one of the most important applications of Fourier
Transform
• Given:
𝑥(𝑡) ↔ 𝑋(𝜔)
And
𝑐𝑜𝑠(𝜔0 𝑡) ↔ 𝜋 𝛿 𝜔 − 𝜔0 + 𝛿 𝜔 + 𝜔0
Modulation - Cosine
• Let
𝑦 𝑡 = 𝑥 𝑡 cos(𝜔0 𝑡)
Demodulation
• Let
z 𝑡 = 𝑦 𝑡 cos(𝜔0 𝑡)
• Therefore
𝑍 𝜔 = 𝑌 𝜔 ∗ 𝐹 cos 𝜔0 𝑡
1
=
𝑌 𝜔 − 𝜔0 + 𝑌 𝜔 + 𝜔0
2
1 1 1
= 𝑋 𝜔 + 𝑋 𝜔 − 2𝜔0 + 𝑋(𝜔 + 2𝜔0 )
2 4 4
Types of modulation
• In layman’s terms – modulation involves a multiplication
with a sine/cosine/complex exponential
Types of modulation
There are two major types of modulation:
1. Amplitude Modulation (AM) – in this system, the
message is coded into the amplitude of the transmitted
signal
𝜑𝐴𝑀 𝑡 = 𝐴 + 𝑚 𝑡 cos(𝜔𝑐 𝑡)
What is Filtering
• We can think of most real world signals as composed of
two parts – signal and noise
• The signal contains the useful information, whereas the
noise is not useful and undesirable
• The process of extracting/separating a signal from the
noise is called filtering
• Because of computational efficiency, filtering is
implemented in the frequency domain
14 March 2019 Filtering 52
Ideal Filters
• During filtering, certain bands of frequencies are allowed
to pass through, whereas other frequencies are stopped
• The range of frequencies that pass through is called the
passband of the filter
• The range of frequencies that do not pass is called the
stopband
• In an ideal filter:
𝐻(𝜔) = 1 in the passband
𝐻(𝜔) = 0 in the stopband
Practical Filters
14 March 2019 Filtering 57
Applications of Filtering
• Filtering is very important for biomedical signal
processing! Biomedical Signals are often buried in a lot of
noise, and without filtering we have a hard time making
sense of anything in the signal
• For example, In an ECG signal, we’re only interested in
mapping the changes in voltage between the electrodes
that occur due to the heartbeat.
• But we also pick up a lot of noise! Namely from motion
noise (caused by patient moving), 60 Hz interference
(from power outlets close to the machine), DC offset noise
(from the electrode-body interface) and so on!
• Filtering allows us to obtain usable signals from noisy
ones.
14 March 2019 Filtering 58
Applications of Filtering