Professional Documents
Culture Documents
Digital Signal Processing: by Ihab Ali, PH.D., SMIEEE
Digital Signal Processing: by Ihab Ali, PH.D., SMIEEE
Processing
By
Ihab Ali, Ph.D., SMIEEE
Outline
• Introduction
• Discrete Time Signals and Systems
• The Z-Transform
• Frequency Analysis of Discrete Time
Signals
• Discrete and Fast Fourier Transforms
• Implementation of Discrete Time Systems
• Design of Digital Filters
Text Book
• Digital Signal Processing Principles,
Algorithms and Applications, 4th edition,
by John G. Proakis
CHAPTER
Introduction
What is a signal?
A signal is formally defined as a function of one or more variables that
conveys information on the nature of a physical phenomenon.
What is a system?
A system is formally defined as an entity that manipulates one or more
signals to accomplish a function, thereby yielding new signals.
Figure 1.1
Block diagram representation of a system.
4
CHAPTER
Introduction
Classification of Signals
Brackets [‧]
5
CHAPTER
Introduction
Figure 1.2
(a) Continuous-time signal x(t). (b) Representation of x(t) as a
discrete-time signal x[n].
6
CHAPTER
Introduction
◆ Example of periodic and nonperiodic signals: Fig. 1-3.
Figure 1.3
(a) Square wave with amplitude A = 1 and period T = 0.2s.
(b) Rectangular pulse of amplitude A and duration T1.
◆ Periodic and nonperiodic signals (Discrete-Time Case)
x n = x n + N for integer n
Fundamental frequency of x[n]: N = positive integer
2
=
N
7
CHAPTER
Introduction
Figure 1.4
Discrete-time square
wave alternative
between –1 and +1.
8
CHAPTER
Introduction
Figure 1.5
Aperiodic discrete-time signal
consisting of three nonzero samples.
9
CHAPTER
Introduction
The total energy of the continuous-time signal x(t) is ◆ Discrete-time case:
T
Total energy of x[n]:
E = lim x (t )dt = x 2 (t )dt
2
−T
2
T → −
E=
2
x 2 [ n]
Time-averaged, or average, power is n =−
T
1 Average power of x[n]:
P = lim −2T x 2 (t )dt 𝑁
T → T 1
2
𝑃 = lim 𝑥 2 [𝑛]
𝑁→∞ 2𝑁 𝑛=−𝑁
For periodic signal, the time-averaged power is
T N −1
1 1
P = −2T x 2 (t )dt
T 2
P=
N
x [n]
n =0
2
★ Energy signal:
If and only if the total energy of the signal satisfies the condition
0 E
★ Power signal:
If and only if the average power of the signal satisfies the condition
0 P
10
CHAPTER
Introduction
Figure 1.8
Time-scaling operation; (a) continuous-time signal x(t), (b) version of x(t) compressed
by a factor of 2, and (c) version of x(t) expanded by a factor of 2.
13
CHAPTER
Introduction
Discrete-time case: y[n] = x[kn], k 0 k = integer Some values lost!
Figure 1.9
Effect of time scaling on a discrete-time signal: (a) discrete-time signal x[n] and (b)
version of x[n] compressed by a factor of 2, with some values of the original x[n] lost
as a result of the compression.
Reflection:
y (t ) = x(−t ) The signal y(t) represents a reflected version of x(t) about t = 0.
14
CHAPTER
Introduction
Figure 1.10
Operation of reflection: (a) continuous-time signal x(t) and (b) reflected version of x(t)
about the origin.
x(t ) = 0 for t −T1 and t T2
t0 > 0 shift toward right
y (t ) = 0 for t T1 and t −T2 t0 < 0 shift toward left
Time shifting: y(t ) = x(t − t0 )
Figure 1.11
Time-shifting operation: (a) continuous-
time signal in the form of a rectangular
pulse of amplitude 1.0 and duration 1.0,
symmetric about the origin; and (b) time-
shifted version of x(t) by 2 time shifts.
15
CHAPTER
Introduction
Discrete-time case: y[n] = x[n − m] where m is a positive or negative integer
★ Precedence Rule for Time Shifting and Time Scaling
1. Combination of time shifting and time scaling:
y (t ) = x(at − b)
y (0) = x(−b)
b
y ( ) = x(0)
a
2. Operation order:
1st step: time shifting v(t ) = x(t − b)
2nd step: time scaling y (t ) = v( at ) = x( at − b)
16
CHAPTER
Introduction
Figure 1.12
The proper order in which the operations of time scaling and time shifting
should be applied in the case of the continuous-time signal of Example 1.5.
(a) Rectangular pulse x(t) of amplitude 1.0 and duration 2.0, symmetric
about the origin. (b) Intermediate pulse v(t), representing a time-shifted
version of x(t). (c) Desired signal y(t), resulting from the compression of v(t)
by a factor of 2.
17
CHAPTER
Introduction
Figure 1.13
The incorrect way of applying the precedence rule. (a) Signal x(t).
(b) Time-scaled signal v(t) = x(2t). (c) Signal y(t) obtained by shifting
v(t) = x(2t) by 3 time units, which yields y(t) = x(2(t + 3)).
Figure 1.14
The proper order of applying the operations of time scaling and time shifting for the
case of a discrete-time signal. (a) Discrete-time signal x[n], antisymmetric about the
origin. (b) Intermediate signal v(n) obtained by shifting x[n] to the left by 3 samples.
(c) Discrete-time signal y[n] resulting from the compression of v[n] by a factor of 2,
as a result of which two samples of the original x[n], located at n = –2, +2, are lost.
19