Professional Documents
Culture Documents
Questions to ask:
Are the samples 𝑥[𝑛] sufficient to describe uniquely the original continuous-time signal?
How can 𝑥𝑐 𝑡 be reconstructed from 𝑥[𝑛]?
These questions are important as an infinite number of signals can generate the same set of samples.
6.1 IDEAL PERIODIC SAMPLING OF CONTINUOUS-TIME
SIGNALS
Introduction/motivation:
The DTFT requires an infinite number of terms to be summed over 𝑛 = … , −3, −2, −1, 0, 1, 2, 3, …
The DTFT must be evaluated at an infinite number of points over the interval −𝜋 ≤ 𝜔 < 𝜋
While, the first problem is solved for a “finite-duration” signal, but the second problem always remains.
∞ 𝑁−1
𝑁−1 𝑁−1
2𝜋 2𝜋
𝑋 𝑘 = 𝑥 𝑛 −𝑗 𝑘𝑛
𝑒 𝑁 = 𝑥 𝑛 𝑒 −𝑗
𝑁
𝑘𝑛 For a finite-
duration x[n].
𝑛=0 𝑛=0
THE DISCRETE FOURIER TRANSFORM - EXAMPLE
𝑵=𝟔 𝑵=𝟒 𝑵 = 𝟐𝟎
THE DISCRETE FOURIER TRANSFORM - EXAMPLE
1 𝑛
For 𝑥 𝑛 = 𝑢 𝑛 − 𝑢 𝑛 − 6 , 𝑁 = 6. and the
2
𝑋 −3 = 0.6562
𝑋[0] = 1.9688
𝑋 1 = 0.9844 – 𝑗0.5683 = 𝑋 ∗ 1
𝑋 2 = 0.7031 – 𝑗0.2435 = 𝑋 ∗ 2
THE DISCRETE FOURIER TRANSFORM - EXAMPLE
1 𝑛
For 𝑥 𝑛 = 𝑢 𝑛 − 𝑢 𝑛 − 6 , 𝑁 = 6. and the
2
𝑋[−2] = 0.6562
𝑋[0] = 1.9688
𝑋 1 = 0.8125 − 𝑗0.4063 = 𝑋 ∗ 1
THE DISCRETE FOURIER TRANSFORM - EXAMPLE
1 𝑛
For 𝑥 𝑛 = 𝑢 𝑛 − 𝑢 𝑛 − 6 , 𝑁 = 6. and the 𝟏𝟎 −point DFT is
2
computed as:
𝑋[−5] = 0.6562
𝑋[−4] = 0.6921 + 𝑗0.1383
𝑋[−3] = 0.7324 + 𝑗0.3145
𝑋[−2] = 0.9017 + 𝑗0.4896
𝑋[−1] = 1.3613 + 𝑗0.6873
𝑋[0] = 1.9688
𝑋 1 = 1.3613 − 𝑗0.6873 = 𝑋 ∗ 1
𝑋 2 = 0.9017 − 𝑗0.4896 = 𝑋 ∗ 2
𝑋 3 = 0.7324 − 𝑗0.3145 = 𝑋 ∗ 3
𝑋 4 = 0.6921 − 𝑗0.1383 = 𝑋 ∗ 4
SAMPLING THE DISCRETE-TIME FOURIER TRANSFORM
DIFFERENCE BETWEEN I-DTFT AND I-DFT
7.2 PROPERTIES OF THE DFT
If 𝑥[𝑛] and 𝑋[𝑘] are 𝑁 −point DFT pair, then,
1) Periodicity
𝑥 𝑛 + 𝑁 = 𝑥 𝑛 , ∀𝑛
𝑋 𝑘+𝑁 =𝑋 𝑘 , ∀𝑘
2) Linearity
If
𝑥1 𝑛 𝑋1 𝑘
and
𝑥2 𝑛 𝑋2 𝑘
then
𝑎1 𝑥1 𝑛 + 𝑎2 𝑥2 𝑛 𝑎1 𝑋1 𝑘 + 𝑎2 𝑋2 𝑘
7.2 PROPERTIES OF THE DFT
𝑥 𝑛 = 𝑥 𝑛 − 𝑙𝑁
𝑙=−∞
𝑌 𝑘 =𝑋 𝑘 𝐻 𝑘
𝒚𝒏 =𝒙𝒏 𝑵 𝒉𝒏
𝑦 𝑛 = 3, 6, 5, 4
EXAMPLE – COMPUTATION OF CIRCULAR CONVOLUTION
IN TIME DOMAIN
For an input signal 𝑥 𝑛 = 0, 1, 2, 3 applied to the 𝑋 𝑘 = {6, −2 + 𝑗2, −2, −2 − 𝑗2
input of a system with impulse response ℎ 𝑛 =
1, 0, 1, 1 , determine the output via DFT, I-DFT 𝐻 𝑘 = 3, 𝑗, 1, −𝑗
process.
𝑌 𝑘 = 18, −2 − 𝑗2, −2, −2 + 𝑗2
𝒀𝒌 =𝑿𝒌 𝑯𝒌
3
2𝜋
𝑗 4 𝑘𝑛
𝑦 𝑛 =𝑥 𝑛 𝑁 ℎ 𝑛 𝑦 𝑛 = 𝑌 𝑘 𝑒
𝑘=0
• COMPUTE DFT of both signals.
• TAKE element-by-element product of both DFT
signals.
• DETERMINE I-DFT.
𝑦 𝑛 = 3, 6, 5, 4
7.3 LINEAR FILTERING METHODS BASED ON THE DFT
Since linear filtering performed via DFT involves operations on a block of data, thus the (input) sequence
must be limited in size due to limited memory of a digital computer.
Since filtering is linear, therefore successive blocks are processed one by one via DFT.
Two methods used for linear FIR filtering (a long sequence) are:
Overlap-save method
Overlap-add method
7.3.2 FILTERING OF LONG DATA SEQUENCES
Overlap-save method
The filter ℎ[𝑛] is of size 𝑀 samples.
Zeroes are appended to make the size
equivalent to 𝑁 = 𝐿 + (𝑀 − 1).
𝐿 number of input samples are fetched,
(and after PROCESSING), the input
block becomes of size 𝑁 = 𝐿 + (𝑀 −
1).
DFTs and I-DFTs are of length 𝑁.
THE PROCESSING: Each data block
consists of the last 𝑀 − 1 data points of
the previous data block followed by 𝐿 new
data points to form a data sequence of
length 𝑁 = 𝐿 + (𝑀 − 1).
7.3.2 FILTERING OF LONG DATA SEQUENCES
Overlap-add method
The filter ℎ[𝑛] is of size 𝑀 samples.
Zeroes are appended to make the size
equivalent to 𝑁 = 𝐿 + (𝑀 − 1).
𝐿 number of input samples are fetched,
(and after PROCESSING), the input
block becomes of size 𝑁 = 𝐿 + (𝑀 −
1).
DFTs and I-DFTs are of length 𝑁.
THE PROCESSING: Each data block
consists of 𝐿 input samples followed by
𝑀 − 1 zeros to form a data sequence of
length 𝑁 = 𝐿 + (𝑀 − 1).
WHY ADD 𝑴 − 𝟏 SAMPLES OF OUTPUT BLOCKS?