IT341 DSP Lec#7
IT341 DSP Lec#7
Sawires
Assistant Professor, Department of Electronics and Communications
Engineering, Faculty of Engineering, Helwan University.
E. Sawires
2
Why Z Transform
➢In mathematics and signal processing, the Z-transform converts a time
domain signal, which is a sequence of real or complex numbers, into a
complex frequency domain representation.
➢It takes a signal from the time domain to a frequency domain called the z
domain.
➢It can be considered as a discrete-time equivalent of the Laplace transform.
➢A generalization of the Fourier Transform of a sampled signal.
➢The z transform is an important digital signal processing tool for describing
and analyzing digital systems.
5
Why Z Transform
➢It also supports the techniques for digital filter design and frequency
analysis of digital signals.
➢The z-transform may exist for many signals for which the DTFT does not
exist, such as x[n]=u[n], and nu(n), and all power signals.
➢It is easier to test stability and causality using Z transform ( like Laplace
transform in Continuous time signals).
➢Convolution of two time domain signals is equivalent to multiplication
of their Z transforms.
➢Finding the output of a LTIS using Z transform.
6
Z Transform
➢The z-transform of a sequence x(n) is given by
∞
𝑋 𝑧 ≜ 𝑍[x(n)] = 𝑥(𝑛)𝑧 −𝑛
𝑛=−∞
▪ where z is a complex variable.
▪ The complex variable z is called the complex frequency given by
z = r𝑒 jω , where r=|z| is the magnitude and ω is the real frequency.
7
Z Transform
∞
−𝑛
𝑋 𝑧 ≜ 𝑍[x(n)] = 𝑥(𝑛)𝑧
𝑛=−∞
• The set of z values for which X(z) exists is called the region of
convergence (ROC).
The region of convergence (ROC) for X(z) is the set of all values of z for
which X(z) has a finite value.
8
Example #1
Z-Transform of Impulse function:
x(n) = δ(n)
Ans: ∞ ∞
𝑋 𝑧 = 𝑍[δ(n)] = 𝑥(𝑛)𝑧 −𝑛 = 𝛿 𝑛 𝑧 −𝑛
𝑛=−∞ 𝑛=−∞
𝑋 𝑧 = 𝛿 0 𝑧0 = 1 ROC: ∀ Z
9
Example #2
Determine the z-transform of the following signal.
x(n) = δ(n-1)
Ans: ∞ ∞
𝑋 𝑧 = 𝑍[δ(n−1)] = 𝑥(𝑛)𝑧 −𝑛 = 𝛿 𝑛 − 1 𝑧 −𝑛
𝑛=−∞ 𝑛=−∞
𝑋 𝑧 = 𝛿 0 𝑧 −1 = 𝑧 −1 ROC: ∀ Z except z = 0
10
Example #3
Determine the z-transform of the following signal.
x(n) = δ(n+1)
Ans: ∞ ∞
𝑋 𝑧 = 𝑍[δ(n+1)] = 𝑥(𝑛)𝑧 −𝑛 = 𝛿 𝑛 + 1 𝑧 −𝑛
𝑛=−∞ 𝑛=−∞
𝑋 𝑧 = 𝛿 0 𝑧 +1 = 𝑧 ROC: ∀ Z except z = ∞
11
Example #4
Z-Transform of the unit step function:
Ans:
x(n) = u(n)
∞ ∞
𝑋 𝑧 = 𝑍[u(n)] = 𝑥(𝑛)𝑧 −𝑛 = 𝑢 𝑛 𝑧 −𝑛
∞ 𝑛=−∞ 𝑛=−∞
𝑍[u(n)] = 1. 𝑧 −𝑛
𝑛=0
ROC: 1<|Z|<∞
12
Example #5
Z-Transform of x(n) = u(n-2)
Ans: ∞ ∞
𝑋 𝑧 = 𝑥(𝑛)𝑧 −𝑛 = 𝑢 𝑛 − 2 𝑧 −𝑛
𝑛=−∞ 𝑛=−∞
∞
𝑋(𝑍) = 1. 𝑧 −𝑛
𝑛=2
ROC: 1<|Z|<∞
13
Example #6
Z-Transform of x(n) = 𝒂𝒏 u(n):
Ans:
ROC: |a|<|Z|<∞
14
Example #7
Z-Transform of x(n) = 𝒂𝒏−𝟓 u(n-5):
Ans: ∞
𝑋 𝑍 = 𝑎−5 (𝑎/𝑍)𝑛
𝑛=5
𝑋 𝑍 = 𝑎𝑛−5 . 𝑧 −𝑛
∞
𝑛=5
∞ 𝑋 𝑍 = 𝑎−5 (𝑎/𝑍)𝑚+5
𝑋 𝑍 = 𝑎−5 𝑎𝑛 . 𝑧 −𝑛 𝑚=0
∞
𝑛=5
𝑋 𝑍 = 𝑎−5 (𝑎/𝑍)5 (𝑎/𝑍)𝑚
15 𝑚=0
Example #7
Z-Transform of x(n) = 𝒂𝒏−𝟓 u(n-5):
Ans: ∞
𝑋 𝑍 = 𝑍 −5 (𝑎/𝑍)𝑚
𝑚=0
∞
𝑋 𝑍 = 𝑍 −5 (𝑎/𝑍)𝑚 =
𝑚=0
16
Example #8
Z-Transform of x(n) = u(n) + 𝒂𝒏 u (n) :
Ans:
17
Example #9
Determine the z-transform of the following signals.
Ans:
x[n] = δ[n] + 2δ[n-1] + 5δ[n-2] + 7δ[n-3] + δ[n-5]
ROC: ∀ Z except z = 0
18
Example #10
Determine the z-transform of the following signals.
Ans:
y[n] = δ[n+2] + 2δ[n+1] + 5δ[n] + 7δ[n-1] + δ[n-3]
19
Example #11
Determine the z-transform of the following signals.
x[n] = (-0.5)nu[n]
Ans:
20
Example #12
Find the z transform of the signal x[n] depicted in the figure.
𝑋 𝑧 = 𝑥 0 + 𝑥 1 𝑧 −1 + 𝑥[2]𝑧 −2
24
Example #14
Find the z-transform of the sequence defined by
Ans.:
25
Example #15
Find the z-transform of the sequence defined by
Ans.:
26
Example #16
Consider the two sequences
27
Example #16
Ans.:
28
Some common z-transform pairs
29
➢Compute the convolution of the following signals using z transform
31
Thank You
???
Have a Wonderful Semester