The Z-Transform: ECON 397 Macroeconometrics Cunningham
The Z-Transform: ECON 397 Macroeconometrics Cunningham
The Z-Transform: ECON 397 Macroeconometrics Cunningham
ECON 397
Macroeconometrics
Cunningham
1
z-Transform
The z-transform is the most general concept for the
transformation of discrete-time series.
The Laplace transform is the more general concept for
the transformation of continuous time processes.
For example, the Laplace transform allows you to
transform a differential equation, and its corresponding
initial and boundary value problems, into a space in
which the equation can be solved by ordinary algebra.
The switching of spaces to transform calculus problems
into algebraic operations on transforms is called
operational calculus. The Laplace and z transforms are
the most important methods for this purpose.
2
The Transforms
The Laplace transform of a function f(t):
F (s )
0
f (t )e st dt
3
Relationship to Fourier Transform
Note that expressing the complex variable z in
polar form reveals the relationship to the
Fourier transform:
X (re i )
n
x (n )(re i ) n , or
X (re i )
n
x (n )r n e in , and if r 1,
X (e i ) X ( )
n
x(n )e in
n
x (n )r n
5
Convergence, continued
The power series for the z-transform is called a
Laurent series:
X (z)
n
x (n )z n
f (t ) f ( x ) ( x t )dt
7
Convolution, Unit Step
These are referred to as discrete-time or
continuous-time convolution, and are denoted by:
x(n ) x(n ) * (n )
f (t ) f (t ) * (t )
We also introduce the unit step function:
1, n 0 1, t 0
u( n ) or u(t )
0, n 0 0, t 0
Note also:
u(n ) (k )
k
8
Poles and Zeros
When X(z) is a rational function, i.e., a ration of
polynomials in z, then:
1. The roots of the numerator polynomial are
referred to as the zeros of X(z), and
2. The roots of the denominator polynomial are
referred to as the poles of X(z).
Note that no poles of X(z) can occur within the region
of convergence since the z-transform does not
converge at a pole.
Furthermore, the region of convergence is bounded
by poles.
9
Example
Region of convergence
n
x (n ) a u(n )
The z-transform is given by: a
X (z)
n
a nu(n )z n
n 0
(az 1)n
10
Convergence of Finite Sequences
Suppose that only a finite number of sequence values are
nonzero, so that: n 2
X (z)
n n1
x (n )z n
11
Inverse z-Transform
The inverse z-transform can be derived by using Cauchy’s
integral theorem. Start with the z-transform
X (z)
n
x( n )z n
1 1
2i
X ( z )z k 1dz
C
2i
x (n )z n k 1dz
C n
1
n
x(n )
2i
z n k 1dz
C
1
2i
C
X ( z )z k 1dz x (n ) is the inverse z - transform.
12
Properties
z-transforms are linear:
Z ax (n ) by (n ) aX ( z ) bY ( z )
The transform of a shifted sequence:
Z x (n n0 ) z n X ( z )
0
Multiplication:
Z a n x (n ) Z (a 1z )
But multiplication will affect the region of
convergence and all the pole-zero
locations will be scaled by a factor of a.
13
Convolution of Sequences
w (n ) x ( k )y ( n k )
k
Then
W (z)
n k
x( k )y (n k ) z n
k
x(k )
n
y (n k ) z n
let m n k
W (z)
k
x ( k )
m
y (m )z z k
m
W ( z ) X ( z )Y ( z ) for values of z inside the regions of convergenc e of both.
14
More Definitions
Definition. Periodic. A sequence x(n) is periodic with
period if and only if x(n) = x(n + ) for all n.
y (n ) x(k )h (n).
k
k
16
Definition. Stable System. A system is stable if
h(k )
k
17
Given y (n ) x(k )h (n) let x(n) be sinusoidal. That is,
k
k
in
let x(n ) e for n . Then
y (n )
k
h( k )e i ( n k ) e in
k
h(k )e ik
Let H (e i )
k
h(k )e ik so that
i in
y (n ) H (e )e .
18
We can generalize this state that:
X (e i )
n
x (n )e in These are the Fourier
transform pair.
1
x (n )
2
X (e i )e in d
If x(n) , then the transform is absolutely convergent and
n
converges uniformly to a continuous function of .
19
If x(n) is constructed from some continuous function xC(t) by
sampling at regular periods T (called “the sampling period”),
then x(n) = xC(nT) and 1/T is called the sampling frequency or
sampling rate.
If 0 is the highest radial frequency of sinusoids comprising
x(nT), then 2 1 w0
0 or
T T 2
20
1
X (e iT ) X c (i ),
T T T
From the continuous time Fourier transform :
1
x c (t )
2
T
T
X c (i )e it d.
Combining :
1
x c (t )
2 T TX (e iT
T
)e it d.
Since X (e iT
) x c (kT )e iTk , we have
k
T T i Tk it
x c (t )
x c ( kT )e e d
2
T k
21
Changing the order of summation and integratio n,
T
x c (t )
k
x c (kT )
T e i ( t kT )d
2
T
Evaluating the integral :
sin t kT )
x c (t ) x c (kt )
T
t kT
.
k T
22