Chapter6 Modified2021
Chapter6 Modified2021
School
Electrical Engineering and Telecommunications
University of New South Wales (UNSW), Australia
n
xn
1
jn
X ( ) e d
2
FTD
xn X ( )
Sequence continuous
variable
Example:
δ[n]
X()
x[n] = [n] n continuous
-2 -1 0 1 2
fs
X ( ) ne
n
jn
1 2
-
Example:
0 n0
x[n] n
a n 0, | a | 1
X ( ) a e n jn
(ae j ) n
n 0 n 0
1
1 ae j
1
X ( )
(1 a cos ) ja (sin )
1
| X ( ) |
1 2a cos a 2
a sin
X ( ) ( ) tan1
1 a cos
|X()|
continuous
variable
x(n)=anu(n) FTD
n -
-2 -1 0 1 2 3 4
x(n)
1
1 nN
xn
0 n N
0
-5 -4 -3 -2 -1 0 1 2 3 4 5
-N N
(2 N 1)
sin
Determine X(), ans : X ( ) 2
sin
2
6.1 Properties of the Fourier Transform of a Discrete
Signal (FTD or DTFT)
xn X ( )
FTD
x1 n X 1 ( )
FTD
x2 n X 2 ( )
FTD
xn k e jk X ( )
FTD
Time shift
Z
Proof: x n k z k X (z )
j
z e
e-jkX(), {we define X(ej) X()}
Frequency shift
xne X ( ) X (e
FTD
jn 0 j ( 0 )
X ( 0 ) 0 )
Example:
The frequency response of an ideal low pass filter, in the
fundamental interval - is given by
1
0 | | C
H ( ) 2
0 C | |
(a) Find the impulse response of the ideal low pass filter
(b) Sketch the impulse response for C
4
(a) 1
|H()|
2
- -c c
C
1 e jC n e jC n
hn
1 1 1 jn
H ( )e
jn
d e d
2
2 C
2 4 jn
1 sin c n
2 n
(b)
n n
sin sin
1 4 1 4
c h( n)
4 2 n 8 n
4
h[n]
1/8
0123 n
3 /6
1 jn
hd n
1
2 2
jn jn jn
H d ( ) e d e d e d e d
6 3
jn 3 jn 6
jn
1 e e e
2 jn jn jn
6 3
j 3 n jn
j n
j n
jn
j n
1 e e e e
6 6
e e 3
2 jn jn nj
sin n sin n
sin n 6 3
n n n
sin n
where 1 n 0 and zero elsewhere
n
sin n sin n
hd n n 3 6
n n
6.2 The Discrete Fourier Transform (DFT)
xn X ( )
DTFT
DTFT
xn X k
DFT
DFT {DFT mapping x[n] to
another sequence}
(2) X ( ) X ( z ) | z e j
{Evaluate z-transform on the unit circle}
n 0
i.e. Sampling X() at N equally spaced interval, k = 0,1,2,… N-1.
Note: One of the most important properties of the DFT is implied
periodicity.
Number of time samples = N
Number of frequency samples (k) = N
The DFT corresponds to sampling the z-transform of X(z) at N-
points equally spaced in angle around the unit circle.
2
N 2
2 N
N
= -
= - =0
= - =0
Discrete
DTFT
or
FTD
|X()|
N time samples
DFT
|X()| (or
using
FFT)
Continuous
|X(k)|
-
|X[k]|
Discrete
N frequency
Samples
-
When the DFT of a block of N samples is calculated, the
assumption is that the original signal actually repeats itself
periodically, with period N.
Clearly, for all real signals this will not be true.
Even for artificial signals such as a pure sinusoid this will only
be true if N is a multiple of the period of the sinusoid.
This “windowing” process introduces a slight distortion into
the frequency representation of the signal being analysed.
6000
window
4000 x[n]
2000
-2000
-4000
-6000
-8000
256 samples
-10000
-12000
50 100 150 200 250 300 350 400 450 500
0
k = 0,1,2,3, …
Example: A speech signal is sampled at a rate of 20000
samples/sec. A sequence of length (N) 1024 samples is selected
and the 1024-point DFT is computed.
DFT calculation
2k 2
N 1
X k xn e
jn
N
k 0,1, 2, 3,.... N N
n 0 f sampling
f
N 1
2 N 1
2 N
X k xn cos( nk ) j xn sin( nk )
n 0 N n 0 N This is a
lengthly
X k Ak Bk
procedure, if
X k Ak Bk k 0,1, 2, 3,.... N for example, N
2 2
= 1024
samples
fk=k(fs/N) = k f
fs=sampling
N=256 frequency
|X[k]|
0 1 2 k
255
f0 f1 f2 f255
X [k ] X * [k ]
Since the DFT is periodic,
X [ k ] X [ N k ]
N
This implies conjugate symmetry about the index k
2
N is odd (N=7)
Conjugate
symmetry
k
0 1 2 3 4 5 N-1
N/2=3.5
N is even (N=8)
Conjugate
symmetry
k
0 1 2 3 4 5 6 N-1
N/2=4
Example: The DFT of a real signal is
1 X1 -1 X2 0 -j2 X3 -1+j
k
0 1 2 3 4 5 6 7
8/2=4
8 Frequency band = 8 time samples
X 1 x * [1] 1 j
X 2 x * [5] j 2
X 3 x * [2] 1
Example: Consider the finite length sequence.
2k
N
Therefore the DFT is given by:
j 2Nk 2
X k 1 0.2e
j 225
k
1 0.2e
k = 0, 1, 2, …. 49
1 3 n 3
hn
0 otherwise
Example:
1
0n2
hn 3
0 otherwise
h[n]
1/3
0 1 2 n
N 1 2 2 2
H k hne
jn ( 1 jn ( k )
e N
k)
N
n0 n0 3
2k
2 (1 2 cos( ))
H k e N
j( k)
N
3
2k
H k [1 2 cos(
1
)] where k 0,1,2
3 N
6.1.2 Parseval’s Theorem
Example:
The DFT of a real signal is {1, X1, -1, X2, -7, -j2, X3, -1+j}. What
is the signal energy?
k=0 k=7
X1, X2 and X3 can be found first using conjugate symmetry
property
1
Signal Energy
2
X [k ]
8
12 ( 2 ) 2 ( 1) 2 2 2 7 2 2 2 12
1
8
2
2
1 2 1 4 49 4 1 2
1
8
8
6.3 Padding with Zeros and Frequency Resolution
N 1 2k
X k xne
jn
DFT : N
k 0,1, 2, 3,.... N
n 0
N 1 2
1
X ( k )e
jn k
x[ n] N
0 n N-1
N k 0
Example:
n=0
Use of DFT
6.6 Summary
At the end of this chapter, it is expected that you should know: