Professional Documents
Culture Documents
Ztransform App
Ztransform App
Ztransform App
From the convolution property of z-transform, we have the relationship between the z-
transforms of input and output sequences of a discrete-time LTI system as
Y (z ) = H (z )X (z )
where X ( z ) , Y ( z ) and H ( z ) are the z-transforms of the system input, output and impulse
response, respectively. H ( z ) is referred as the system function or transfer function of the
system.
N M
∑a
k =0
k y[n − k ] = ∑ bk x[n − k ]
k =0
By applying the z-transform to both sides and using the linearity property and the time-
shifting property, we obtain
N M
∑ a k z − k Y ( z ) = ∑ bk z − k X ( z )
k =0 k =0
N M
Y ( z ) ∑ a k z − k = X ( z ) ∑ bk z − k
k =0 k =0
so that
M
Y ( z) ∑b z k
−k
H ( z) = = k =0
N
∑a
X ( z)
k z −k
k =0
The system function for a system satisfying a linear constant-coefficient difference equation
is always rational.
If we factor the numerator and denominator of the system function H(z), we can rewrite it as:
( z − z1 )( z − z2 ) ⋅⋅⋅
H ( z) =
( z − p1 )( z − p2 ) ⋅⋅⋅
where the zi are the zeros and the pi are the poles.
Page - 1
EE406-041 Discrete-Time Signal Processing Applications of the z-Transform
Because we are considering only real coefficients, if any of the roots of the numerator or
denominator are complex then they always occur as complex conjugate pairs (e.g. the roots of
( z 2 + 1) are ± j ). Thus complex poles and zeros will always occur in complex conjugate
pairs.
The poles and zeros completely specify the system function and are an alternative
representation of it. The pole and zero representation is very useful for checking stability and
a way to visualize the frequency response of the system.
∑ h[n] < ∞ .
n = −∞
Thus the DTFT of h[n] exists and consequently the ROC of H ( z ) must include the unit
circle. This result is called the z-domain stability theorem:
• A LTI system is stable if and only if the unit circle is in the ROC of H ( z ) .
For LTI causality, we require that samples h[n]=0 for n < 0 (i.e. a right-sided sequence). This
implies that the ROC of H ( z ) must be outside of a circle. This is not a sufficient condition
since any right-sided sequence has a similar ROC. However, when the system is stable, its
causality is easy to check. We have the z-domain causal LTI stability theorem:
• A causal LTI system is stable if and only if the system function H ( z ) has all its poles
inside the unit circle.
Thus we can verify that a causal LTI system is stable by finding the poles of its system
function and checking that all of them have magnitudes less than 1.
Example 1
1 − a −1z −1
H (z) =
1 − az −1
where a is real.
(a) Write the difference equation that relates the input and output of this system.
Page - 2
EE406-041 Discrete-Time Signal Processing Applications of the z-Transform
(c) For a = 0.5, plot the pole-zero diagram and shade the region of convergence in z-plane.
(e) Show that this system is an allpass system, i.e. the magnitude of the frequency response is
a constant. Also, specify the value of the constant.
[Solution]
1 − a −1z −1 Y ( z )
H (z) = = ,
1 − az −1 X (z)
(b) For stability, the ROC must include the unit circle. So, the system is stable for |a| < 1.
(c) a = 0.5
1 − 2 z −1
H ( z) =
1 − 0.5 z −1
Ζ
1/2 2
1 a −1 z −1
(d) H ( z) = − , z > a
1 − az −1 1 − az −1
1
h[n] = a n u[n] − (a ) n−1 u[n − 1]
a
Page - 3
EE406-041 Discrete-Time Signal Processing Applications of the z-Transform
1 − a −1e − jω
(e) H (ω ) = H ( z )|z = e jω =
1 − ae − jω
2 1 − a −1e − jω 1 − a −1e jω
H (ω ) = H (ω ) H (ω ) = *
⋅
1 − ae − jω 1 − ae jω
1/ 2 1/ 2
1 + a −2 − 2a −1 cos ω 1 a 2 + 1 − 2a cos ω 1
H (ω ) = = =
1 + a − 2a cos ω
2
a 1 + a 2 − 2a cos ω a
As the magnitude response of the system is equal to a constant (1/a), the system is an all-
pass system.
Example 2
A causal LTI system has impulse response h[n], for which the z-transform is
1 + z −1
H ( z) =
(1 − 0.5z −1 )(1 + 0.25z −1 )
(c) Find the z-transform X(z) of an input x[n] that will produce the output
[Solution]
1 + z −1 2 1
H ( z) = −1 = −1 −
(1 − 0.5z )(1 + 0.25z ) (1 − 0.5z ) (1 + 0.25z −1 )
−1
(a) The impulse response h[n] is causal => The ROC is |z| > 0.5
(b) ROC includes the unit circle |z|=1 => The system is stable.
1 1 4
(c) y[n] = − (− ) n u[n] − (2) n u[− n − 1]
3 4 3
− 1/ 3 4/3 1 + z −1
Y ( z) = + = , 1/ 4 < z < 2
1 + (1 / 4) z −1 1 − 2z −1 (1 + (1 / 4) z −1 )(1 − 2z −1 )
Page - 4
EE406-041 Discrete-Time Signal Processing Applications of the z-Transform
Since
Y ( z ) (1 − 0.5z −1 )
X (z) = = , z <2
H ( z ) (1 − 2z −1 )
2 1
(d) H ( z ) = −
(1 − 0.5 z ) (1 + 0.25 z −1 )
−1
Summary
Three different frequency domain representations of an aperiodic discrete-time sequence have
been introduced and their properties reviewed. Two of these representations, the discrete-time
Fourier transform (DTFT) and the z-transform, are applicable to any arbitrary sequences,
whereas the third one, the discrete Fourier transform (DFT), can be applied only to finite-length
sequences.
write H ( z ) in z −1
inverse
H (z )
z − transform
cross multiply and inverse
take z − transform
z − transform
solve for Y X
take z − transform
( )
z = e jω
Inverse
DTFT
solve for Y X Fourier
( )
H e jω transform
if system is stable
Page - 5