Professional Documents
Culture Documents
Chapter 4. The Z-Transform: Gao Xinbo School of E.E., Xidian Univ
Chapter 4. The Z-Transform: Gao Xinbo School of E.E., Xidian Univ
The Z-Transform
Gao Xinbo
School of E.E., Xidian Univ.
Xbgao@ieee.org
Xbgao@lab202.xidian.edu.cn
http://see.xidian.edu.cn/teach/matlabdsp/
Review
The discrete-time Fourier transform approach for representing
discrete signals using complex exponential sequence.
Advantages for LTI system
It describes systems in the frequency domain using the frequency respon
se function H.
The computation of the sinusoidal steady-state response is great facilitat
ed by the use of H.
Response to any arbitrary absolutely summable sequence x(n) can easily
be computed in the frequency domain by multiplying the transform X an
d the frequency response H.
Shortcomings to the FT
1. There are many useful signals in practice, such as u
(n), nu(n), for which the DTFT does not exist.
z is a complex variable.
The set of z values for which X(z) exists is called the region of convergence
(ROC) and is given by
Rx | z | Rx
For some positive numbers Rx- and Rx+.
1
x(n) Z 1[ X ( z )]
n 1
X ( z ) z dz
2j C
ane and is called the unit circle. If the ROC contains the unit circl
e, then we can evaluate X(z) on the unit circle.
X ( z ) | z e jw X (e )
jw
x ( n ) e jwn
F [ x(n)]
n
2. Sample shifting
Z [ x(n n0 )] z n0 X ( z ); ROC : ROC x
3. Frequency shifting
z
Z [a n x(n)] X ; ROC : ROC x scaled by | a |
a
4. Folding
X [ x(n)] X (1 / z ); ROC : Inverted ROC x
Important properties of the z-transform
5. Complex conjugation
Z [ x* (n)] X * ( z * ); ROC : ROC x
6. Differentiation in the z-domain
dX ( z )
Z [nx(n)] z ; ROC : ROC x Multiplication by a ramp
dz
7. Multiplication
1
1
Z [ x1 (n) x2 (n)] X 1 ( v ) X 2 ( z / v ) v dv ROC : ROC x1 ROC x2
2j C
8. Convolution
Z [ x1 (n) * x2 (n)] X 1 ( z ) X 2 ( z ) ROC : ROCx1 ROCx2
Some common z-transform pairs
Sequence Transform ROC
( n) 1 z
u ( n) 1
1 z 1
| z | 1
u ( n 1) 1
1 z 1
| z | 1
n
a u ( n) 1
1 az 1
| z || a |
b u ( n 1)
n 1
1 bz 1
| z || b |
Some common z-transform pairs
Sequence Transform ROC
1
( a sin w ) z
[a n sin w0 n]u (n) 0
1 2 2
| z || a |
1 (2a cos w0 ) z a z
1
1 ( a cos w ) z
[a n cos w0 n]u (n) 0
1 2 2
| z || a |
1 (2a cos w0 ) z a z
1
az
n
na u (n) | z || a |
(1 az 1 ) 2
1
bz
nb u ( n 1)
n
| z || b |
(1 bz 1 ) 2
Examples:
Convolution:
Ex4.4
Ex4.5
Ex4.6 Using z-transform properties and the z-
transform table, determine the z-transform of
( n2)
x(n) (n 2)(0.5) cos (n 2)u (n 2)
3
Inversion of the z-tranform
From the definition of the inverse z-transform computation
requires an contour evaluation of a complex integral that, in
general, is a complicated procedure.
Method: Given
1 M
b0 b1 z bM z
X ( z) 1 N
, Rx | z | Rx
1 a1 z a N z
Express it as
~ ~ 1 ~ ( N 1)
b0 b1 z bN 1 z M N
X ( z) 1
1 a1 z a N z N
k c z k
k0
Proper rational part polynomial part if M N
M N
N
Rk
X ( z) 1
c k z k
k 1 1 p k z k0
M N
Write x(n) as
N 1 M N
x(n) Rk Z 1
1
ck ( n k )
k 1 1 pk z k 0
M N
1 z p n
k u ( n) | z k | Rx
Z n
z pk pk u (n 1) | z k | Rx
Examples
Ex4.7 Find the inverse z-transform of
z
x( z ) 2
3z 4 z 1
0.8
0.6
0.4
Imaginary Part
0.2
-0.2
-0.4
-0.6
-0.8
-1
-1 -0.5 0 0.5 1
Real Part
Matlab Implementation
A Matlab function residuez is available to compute the residue p
art and the direct (or polynomial) terms of a rational function in
z-1. Let 1 M
b0 b1 z bM z B( z )
X ( z) 1 N
1 a1 z a N z A( z )
M N
N
Rk
1
c k z k
k 1 1 pk z
k0
M N
1
X ( z) 1 1
, | z | 0.9
(1 0.9 z )(1 0.9 z )
Polynomial coefficients=Poly([root1,root2,…rootn])
Ex4.10 Determine the inverse z-transform of
1 0.4 2 z 1
X ( z)
1 0.8 2 z 1 0.64 z 2
So that the resulting sequence is causal and contains no complex numbers.
System representation in the z-domain
Similar to the frequency response function H(ejw), we can define
the z-domain function, H(z), called the system function. Howeve
r, unlike H(ejw), H(z) exists for systems that may not be BIBO st
able.
Definition 1: The system function H(z) is given by
H ( z ) Z [h(n)] h( n ) z n , Rh | z | Rh
n
k 1 l 0
Y ( z ) B( z ) b0 z M ( z M bbM0 )
H ( z) N N
X ( z ) A( z ) z ( z an )
Where zl’s are the system zeros and pk’s are the system poles.
Thus H(z) can also be represented in the z-domain using a pole-
zero plot. This fact is useful in designing simple filters by prope
r placement of poles and zeros.
To determine zeros and poles of a rational H(z):
Matlab function: roots: polynomial--root
poly: root-- polynomial
Zplane(b,a): plot the poles and zeros, given the numerator r
ow vector b and the denominator row vector a.
Similarly,
Zplane(z,p): plots the zeros in column vector z and the poles
in the column vector p.
1
0.8
0.6
0.4
Imaginary Part
0.2
-0.2
-0.4
-0.6
-0.8
-1
-1 -0.5 0 0.5 1
Real Part
Transfer function representation
If the ROC of H(z) includes a unit circle (z=ejw), then we can eva
luate H(z) on the unit circle, resulting in a frequency response fun
ction or transfer function H(ejw).
M
(e jw zl )
H (e jw ) b0 e j ( N M ) w l 1
N
(e jw pk )
k 1
| e jw z1 | | e jw z M |
| H (e ) || b0 | jw
jw
| e p1 | | e jw p N | Interpretation, illustration
M N
H (e ) [0 or ] [( N M ) w] (e z k ) (e jw pk )
jw jw
constant linear k 1 k1
nonlinear
Matlab implementation
[H,w]=freqz(b,a,N)
Returns the N-point frequency vector w and the N-point complex f
requency response vector H of the system.
It is evaluated at N points equally spaced around the upper half of
the unit circle.
[H,w] = freqz(b,a,N,’whole’)
Uses N points around the whole unit circle for computation.
H=freqz(b,a,w)
It returns the frequency response at frequencies designated in vect
or w, normally between 0 and pi.
Relationships between system
representation
Express H(z) in
1/z cross H(z) Take inverse z-
multiply and transform
take inverse Take z-transform Take
solve for Y/X z-transform
Difference
h(n)
Equation Substitute
z=ejw Take inverse
DTFT
n0
1
1 1 1
1 z ( 1 2 z )
Y ( z) 3 1
4
1 2
1 2 z 2 z 1 32 z 1 12 z 2
9 1 1 2
2 z 2 z
Y ( z) 4
(1 12 z 1 )(1 z 1 )(1 14 z 1 )
1 2 1
Y ( z) 1
3
1
3
1 z 1
2 1 z 1 z 1
1
4
1 n 2 1 1 n
y (n) u (n)
2 3 3 4
Forms of the solutions (1)
Homogeneous and particular
parts:
1 n 2 11
n
1 1 n 1 n 2
y ( n) u ( n) u ( n)
3 4 2 3
steady state response
transient response
Y [ y (1), y (2), , y ( N )]
X [ x(1), x(2), , x( M )]
References and Assignment
Textbook: pp80 ~110
Chinese reference book: pp43~63
Exercises:
1: p4.1a,b,d; p4.3a,b; p4.10
2: p4.15;4.18;