M8 - Discrete Time Fourier Transform
M8 - Discrete Time Fourier Transform
= +
= tan
Introduction (cont.)
= ℎ
! " ⟹ = ℎ
1 (
$ % & ⟹ ℎ = '
2 (
-=
.
(1
- = ℎ
Notation
Time-domain Frequency-domain
x t X Ω , X(F)
Continuous-
Function (signal) – small letter Function (response) – Capital letter
time
Index (time) – small letter Index (frequency) – Capital letter
x[n] X ω , X(f)
= : + ;( )
Magnitude → = : + ;
=>
Phase → ∠ = tan
=?
Other Spectrum Representation
• In signal analysis, few other spectrums are also used. There are;
∗
• Energy → = ( )
Magnitude dB → 20 log E | |
(To obtain clearer plots as most of | | values are small)
•
•
• Plot ,∠ ,
Solution:
• ℎ =K +1 +K + K[ − 1]
Example 1 (cont.)
= K +1 +K +K −1
• = +1+
• =1+ +
• = 1 + 2 cos
• = 1 + 2cos( )
• : = 1 + 2 cos
• ; =0
Trigonometry Equations
+
2
N!& =
−
&O =
2
= N!& + &O
Example 1 (cont.)
• = : + ;
• = 1 + 2 cos
=>
• ∠ = tan
=?
E
= tan
P QRS
•
0 O- ≥0
=T O- <0
− O- − <0
•
• = 1 + 2 cos
Example 1 (cont.)
3 1
0.5
Hreal (ω)
Himag(ω)
0
0 -0.5
-1 -1
-1 -0.8 -0.67 -0.4 -0.2 0 0.2 0.4 0.67 0.8 1 -1 -0.8 -0.67 -0.4 -0.2 0 0.2 0.4 0.67 0.8 1
ω (π rad) ω (π rad)
3 4
3.142
2.5
2
∠ H(ω)
|H(ω)|
1.5 0
0.5
-3.142
0 -4
-1 -0.8 -0.67 -0.4 -0.2 0 0.2 0.4 0.67 0.8 1 -1 -0.8 -0.67 -0.4 -0.2 0 0.2 0.4 0.67 0.8 1
ω (π rad) ω (π rad)
Example 2
• G = cos(0.1 ) for 0 ≤ ≤ 40
1
0.5
x[n]
-0.5
-1
0 5 10 15 20 25 30 35 40
n
• = ∑`E E cos(0.1 )ℯ
• = ∑`E E ℯ E. (
+ℯ E. (
ℯ
• = ∑`E E ℯ ( E. ()
+ℯ ( PE. ()
• = ∑`E E ℯ ( E. ()
+ ∑`E E +ℯ ( PE. ()
20
15
|X(ω)|
10
0
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
ω (πrad)
20
15
|X(ω)|
10
0
-1 -0.8 -0.6 -0.4 -0.1 0 0.1 0.4 0.6 0.8 1
ω (πrad)
3
∠ X(ω)
-3
0.5
x[n]
-0.5
-1
0 5 10 15 20 25 30 35 40
n
Example 3 (cont.)
25
20
15
|X(ω)|
10
0
-1 -0.8 -0.6 -0.4 -0.1 0 0.1 0.4 0.6 0.8 1
ω (π rad)
Magnitude Spectrum
Example 3 (cont.)
1
∠ H(ω) = 0.5π
0.5
∠ H(ω) x π
-0.5
∠ H(ω) = -0.5π
-1
-1 -0.8 -0.4 -0.1 0 0.1 0.4 0.8 1
ω π
( rad)
1
x[n]
0
0 ∞
n
Example 4 (cont.)
12
10
8
|H(ω)|
0
-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1
ω (π rad)
Magnitude Spectrum
Example 4 (cont.)
1.5
0.5
|H(ω)|
-0.5
-1
-1.5
-1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1
ω (π rad)
Phase Spectrum
References
1) John G. Proakis, Dimitris K Manolakis, “Digital Signal Processing:
Principle, Algorithm and Applications”, Prentice-Hall, 4th edition
(2006).
2) Sanjit K. Mitra, “Digital Signal Processing-A Computer Based
Approach”, McGraw-Hill Companies, 3rd edition (2005).
3) Alan V. Oppenheim, Ronald W. Schafer, “Discrete-Time Signal
Processing”, Prentice-Hall, 3rd edition (2009).