Professional Documents
Culture Documents
Discrete-Time Signals
Discrete amplitude
Analog signal
Continuous-time
Digital signal
Discrete-time
x = { x[n]}
(1)
x[n] = xc (nT ), n
(2)
2-1
x = {x[n]}n2=n
(3)
For very long sequences, possibly infinite in length, we also use following
notation whose meaning is self-evident
x = {, x0 , x1, x2 , x3 , }
n =0
Remarks
(i)
(4)
However, by corruption of use, it can also refer to the entire sequence itself
(ii)
(iii)
x [n ] < ,
"n
(5)
2-2
(6)
d [n]
1
-3
-2
-1
(7)
u[n]
-3
-2
-1
Exponential sequence
x [n ] = a n , a
(8)
x[n]
x[n]
0<a<1
-1 < a < 0
-3
-2
-1
-3
-2
-1
2-3
x[n ] = (-1)n = {, + 1, - 1, + 1, - 1, + 1, }
(9)
n =0
x[n]
1
-3
-2
-1
Periodic sequence
The sequence x[n ] is said to be periodic with period N if
x [n + N ] = x [n ],
"n
(10)
The fundamental period of x[n ] is smallest positive N that satisfies Eq. (10)1
Sinusoidal sequence
A, qo , f
(11)
(12)
(13)
A = A e j f , a = a e j qo , A, a , f, qo
2-4
a x = {a x[n]}, a
(14)
Addition2:
x + y = { x[n] + y [n]}
(15)
x y = { x[n] y [n]}
(16)
Multiplication2:
x*y =
Convolution:
x [k ] y [n - k ] =
k =-
x [n - k ] y [k ]
(17)
k =-
Example 1
x = {1, 2, 3, 4}3n =0
(a)
y = {5, 6, 7}3n =1
y
2x
x +y
11
xy
10
18
28
Therefore
2 x = {2, 4, 6, 8}3n=0
x + y = {1, 7, 9, 11}3n =0
x y = {10, 18, 28}3n =1
Thus, sum and product of two sequences are given, respectively, by their sample-by-sample sum
and product
2-5
(b)
0, n < 0
x [n] = n
can be written more compactly as x[n] = Aan u[n]
Aa , n 0
An
A
n
0
u[n]
1
point-by-point
multiply
A u[n]
A
n
(c)
1
n
0
d [ n - 2]
n-2 = 0
n=2
d [ n + 1]
n +1= 0
n = -1
-1
x [k ] d [n - k ]
(18)
k =-
2-6
Example 1 (cont.)
(d)
n=0
n =1
n=2
n=3
n=4
x [n ]
1
-1
-1
-1
-1
-4
y [n ]
x = {x [n ]}
n =M1
N2
y = {y [n ]}
M 2 + N2
x * y = {w [n ]}
n =M1+N1
(19)
n =N1
2-7
DTFT { x [n ]} = X (e j q ) =
x [n ] e- jnq ,
(20)
n =-
(21)
1
X (e j q ) e+ jnq d q
2p 2p
(22)
1 - aN
, a 1
an = 1 - a
n =0
a =1
N,
N -1
(23)
2-8
Example 2
x [n ] = d [n ]
(a)
X (e j q ) =
d[n]e- jnq = 1
n=-
x [n ] = a n u[n ],
(b)
X (e j q ) =
n =-
a <1
(ae- j q )
n =0
1
1 - ae- j q
1
1- a
1
1+ a
a = 0.75
tan-1( a
1- a 2 )
1
1+ a
1
1- a
a = -0.75
tan-1( a
1- a 2 )
2-9
x [n ] = a n ,
(c)
jq
X (e ) =
a e
- jnq
n=-
-1
an e- jnq +
n =0
1
1 - ae- j q
1- a
ae
a <1
-n - jnq
n =-
(ae- j q )
+ ae
n =0
jq m
m=1
jq
1 - ae j q
1 - 2a cos q + a
1+ a
1- a
1- a
1+ a
a = 0.75
x [n ] = - a n u [-n - 1],
(d)
X (e j q ) = -
n =-
a <1
-1
(ae- j q )
n =-
= - a-1e j q
n =1
-1
n
= - (a e j q ) - 1
n =0
-1 j q
-1
Last summation converges only if a e < 1 or a < 1 which contradicts the given condition
?
a = 0.75
2-10
Sequence x [ n ]
1.
d[n ]
2.
u [n ]
1 - e- j q
pd(q - 2pk )
k =-
3.
d[n - m]
4.
a n u[n ] ,
5.
( n + 1)a n u [n ] ,
6.
(n + r - 1)! n
a u[ n ] ,
n !(r - 1)!
7.
1,
0 ,
8.
q n
sin qc n
q
= c sinc c
p
pn
p
1,
q qc
0 , qc < q p
9.
2p
e- j qm
a <1
1 - ae- j q
1
a <1
(1 - ae- j q )2
1
a <1
(1 - ae- j q )r
sin(q(N1 + 21 ))
n N1
n > N1
sin(q 2)
d(q - 2pk )
k =-
2p
10. e j qo n
d(q - qo - 2pk )
k =-
11. cos qo n
k =-
12. sin qo n
13. Periodic square wave
1,
n N1
0 , N1 < n N 2
x [n + N ] = x [n ]
d(n - kN )
k =-
p
{d(q - qo - 2pk ) - d(q + qo - 2pk )}
j k =-
2p
k =-
ak =
ak d (q - 2Npk )
2p
d (q - 2Npk )
N k =-
2-11
Properties of DTFT
Let X (e j q ) and Y (e j q ) be the DTFTs of x [ n ] and y [ n ] respectively:
x[n]
X (e j q )
DTFT
y [n ]
Y (e j q )
DTFT
ax[n] + by [n]
aX (e j q ) + bY (e j q )
DTFT
1.
Linearity
2.
Time shifting
3.
Frequency shifting
4.
Conjugation
x * [n]
X * (e- j q )
5.
Time reversal
x[-n]
X (e- j q )
6.
Time expansion
7.
Convolution
8.
Multiplication
9.
Time differencing
x[n - no ]
X (e j q ) e- j qno
DTFT
x[n] e j qo n
X (e j (q-qo ) )
DTFT
DTFT
DTFT
x[n k ], n = multiple of k
DTFT
X (e jk q )
x( k ) [n] =
0,
n multiple of k
x[n] * y [n]
X (e j q )Y (e j q )
DTFT
DTFT
x[n ] y [n]
x[n] - x[n - 1]
(1- e- j q ) X (e j q )
DTFT
10. Accumulation
1
X (e j x )Y (e j (q-x ) ) d x
2p 2p
DTFT
x[k ]
k =-
1
1- e- j q
X (e j q ) + p X (e j 0 )
DTFT
d(q - 2pk )
d
X (e j q )
dq
X (e- j q ) = X * (e j q )
12. x [ n ] real
13. x [ n ] real and even
x [n ] 2 =
n=-
n=-
k =-
j
n x[n]
x [n ] y * [n ] =
2
1
X (e j q ) d q
p
2
2p
1
X (e j q )Y * (e j q ) d q
2p 2p
2-12
Example 3
x[n]
3
1
-4 -3 -2 -1 0
2
1
-4 -3 -2 -1 0
-4 -3 -2 -1 0
Method 2
sin q (4 + 21 )
sin (q 2)
+ 2
sin q(1 + 21 )
sin (q 2)
1
-4 -3 -2
-1 0
sin q(1 + 21 )
sin (q 2)
= 2
e + j 3q + 3
sin q(1 + 21 )
sin (q 2)
sin q(1 + 21 )
sin (q 2)
cos 3q + 3
sin q(1 + 21 )
sin (q 2)
e- j 3 q
sin q(1 + 21 )
sin (q 2)
2-13
z-Transform
x [n ] z-n ,
(24)
n =-
X (e ) =
x [n ] e- jnq ,
n =-
-1 { X ( z )} = x[n ] =
1
2p j
C X (z) z
n -1
dz
(25)
2-14
Example 4
(a)
X (z) =
n=-
x[n] = anu[n]
(b)
Im
X (z) =
=
an u[n] z-n =
n=-
an z-n
n=0
(az
unit circle
-1 n
n=0
1
1 - az-1
-1
provided az < 1
Re
z-plane
i.e., z > a
x [n ] = a n
(c)
X (z) =
a n z-n =
n=-
=
=
-1
n=0
n=-
a-n z-n
Im
(az-1)n + (az)n
n=0
an z-n +
n=1
1
1- az-1
+
- 1
1- az
-1
)(1- az )
1/a
a
Re
1 - a2
(1+ a2 ) - a( z-1 + z )
z-plane
-1
provided az < 1 and az < 1
1
a
2-15
x[n] = - an u[-n - 1]
(d)
Im
X (z) =
-1
n =-
-a n z-n = - (a-1z )n
n =1
1
= -
- 1
1
1- a z
1
=
1- az-1
-1
provided a z < 1
Re
z-plane
i.e. z < a
Beware:
ROC of X ( z ) , denoted by R X , is plotted in z-plane, not z-1-plane although
by convention, X ( z ) is given in terms of z-1
2-16
Sequence
ROC
x[n]
All z
except z = 0
1.
n
x[n]
All z
except z =
2.
n
x[n]
All z
except z = 0 and
3.
n
x[n]
R < |z|
4.
x[n]
|z| < R+
5.
n
x[n]
R < |z| < R+
6.
2-17
d[n ]
2.
u [n ]
3.
-u [-n - 1]
4.
d[n - m]
5.
anu[n]
6.
-anu[-n -1]
7.
n a n u[n ]
8.
-n anu[-n - 1]
9.
[cos qo n ]u[n ]
n
12. r sin qo n u[n]
an , 0 n N - 1
13.
otherwise
0,
Transform
ROC
All z
1
1 - z-1
1
1 - z-1
z -m
1
1 - az-1
1
1 - az-1
az-1
(1 - az-1 )2
az-1
(1 - az-1 )2
1 - [cos qo ] z-1
1 - [2cos qo ] z-1 + z-2
[sin qo ] z-1
1 - [2cos qo ] z-1 + z-2
1 - [r cos qo ] z-1
1 - [2r cos qo ] z-1 + r 2 z-2
[r sin qo ] z-1
1 - [2r cos qo ] z-1 + r 2 z-2
1 - aN z-N
1 - az-1
z >1
z <1
z < a
z > a
z < a
z >1
z >1
z > r
z > r
z >0
2-18
Properties of z-transform
Let X ( z ) with ROC R X and Y ( z ) with ROC RY be z-transforms of x [ n ] and y [ n ]
respectively:
x[n]
X ( z ), R X
y [n]
Y ( z ), RY
1.
Linearity
2.
Time shifting
3.
Frequency shifting
4.
Conjugation
5.
Time reversal
6.
Time expansion
7.
Convolution
8.
Multiplication
9.
Time differencing
ax[n] + by [n]
aX (z ) + bY ( z ), contains R X RY
x[n - no ]
X ( z ) z-no , R X except for possible addition or deletion
of origin or
x [n ] zon
X
zo R X
x * [n]
X * ( z* ), R X
x[-n]
X ( z-1), 1 R X
x[r ], n = rk
x( k ) [n ] =
X ( z k ), R1Xk
0,
n
rk
x[n] * y [n]
X ( z )Y ( z ), contains R X RY
x[n] y [n]
1
2p j
C X (x )Y ( zx ) 1x d x , contains RX RY , C in ROC
x[n] - x[n - 1]
(1- z-1) X ( z ), contains R X { z > 0}
10. Accumulation
( zz ),
x[k ]
k =-
1- z-1
X ( z ), contains R X { z > 1}
-z
n x[n]
11. Differentiation in z
d
X (z), RX
dz
X ( z ) = X * ( z* )
12. x [ n ] real
x [n ] 2 =
1
2p j
C X (z) X
x [n ] y * [ n ] =
1
2p j
C X (z)Y
n=-
n=-
( z1 ) z1 dz , C in RX
*
( z1 ) z1 dz , C in RX RY
*
2-19
All z-transform properties can be proved from the definition Eq. (24), but proof
can be tedious
Appendix I gives a proof of time-shifting property
(a)
x [n ] = a n u[n ]
X (z ) =
1 - az -1
RX = { z > a }
Frequency Shifting Property. It follows from the definition Eq. (24) that
x [n ]zon = (azo )n u [n ]
(azo )n z-n =
n =0
1
1 - azo z
-1
1- a
-1
( )
z
zo
(b)
{z
zo R X =
i.e.
> azo } =
{z
> zo a }
a-n z-n =
n=-
am zm =
m=
(az )m = 1 - az
m=0
provided az < 1
1 RX =
i.e.
(c)
{z
< 1 a}
r =0
ar (zk )-r
r =0
i.e.
R1X k =
{z
> a
1k
1
1 - az
-k
2-20
ax[n ] + by [n ]
aX ( z ) + bY ( z ), contains R X RY
Significance of word contains explained in Appendix II due primarily to
pole-zero cancellation or sequence cancellation
Example 5
n
( 21 )
x[n ] = 3n u[-n - 1] +
(a)
-1
3n u[-n - 1]
Entry 6:
( 21 )
Entry 5:
u [n ]
1 - 3 z -1
1
1 z-1
2
1-
u[n ]
z < 3
z >
1
2
Linearity Property:
X (z) =
-1
1 - 3z
-1
1 z-1
2
1-
1
2
< z <3
x[n ] = (- 21 ) u[n - 1]
(b)
Observe:
Entry 5:
n-1
(- 21 )
u [n ]
1
1+
1 z -1
2
u[n - 1]
1 - (- 21 )z-1
z > - 21
Time-Shifting Property:
n-1
(- 21 )
u[n - 1]
1
1+
1 z -1
2
z-1,
z >
1
2
Linearity Property:
X ( z ) = (- 21 )
z -1
1+
1 z -1
2
z >
1
2
2-21
Example 6
X ( z ) = X 1( z ) + X 2 ( z ) =
1
1 - 0.5z
-1
1
1 - 2z-1
Suppose X1( z) and X 2 ( z ) have ROCs R1 and R2 and inverse transforms x1[n] and x 2 [n ]
respectively. We see from Entries 5 and 6 of z-transform table, X1( z ) and X 2 ( z ) can each have
two possible inverse transforms
X1( z )
X 2 (z)
(0.5) u[n ],
x1[n ] =
2 u [n ],
x2 [n ] =
2 u [-n - 1],
z > 0.5
z < 0.5
z >2
z <2
R2
R1 R2
z > 0.5
z >2
z >2
z > 0.5
z <2
z < 0.5
z >2
z < 0.5
z <2
z < 0.5
As can be seen, only Entries 2 and 3 satisfy R X R1 R2 . However, we must discard Entry 3 since
it leads to x[n] = -(0.5)n u[-n -1] + 2n u[n] which does not have a z-transform. In other words, Entry 3
contradicts the problem statement, that is, there is an X ( z ) . Hence, from Entry 2
2-22
Discrete-Time Systems
continuous-time
or
discrete-time
linear
or
non-linear
time-invariant
or
time-varying
stable
or
unstable
causal
or
non-causal
with memory
or
memoryless
invertible
or
non-invertible
y [n] = { x[n]}
x[n]
(i)
(26)
y[n]
(ii)
(iii)
(27)
(28)
x[n] Bx < ,
"n
(29)
y [n ] By < ,
"n
(30)
(iv)
2-23
Example 7
y [n ] = x [n ] + x [n - 1]
(a)
Linearity
{ax1[n ] + bx2 [n ]} = (ax1[n ] + bx2 [n ]) + (ax1[n - 1] + bx2 [n - 1])
= a ( x1[n ] + x1[n - 1]) + b ( x2 [n ] + x2 [n - 1])
= a { x1[n ]} + b { x2 [n ]}
\ System is linear
Time-Invariance
{ x[n - no ]} = y [n - no ]
Clearly
\ System is time-invariant
y [n ] = x [-n ]
(b)
Linearity
\ System is linear
Time-Invariance
{ x[n - no ]} = x[-n - no ]
y [n - no ] = x [-( n - no )] = x [-n + no ]
2-24
h[n] = {d[n]}
(31)
(i)
k =-
k =-
x[k ] h[n - k ]
k =-
y [n ] = x [n ] * h[n ] = h[n ] * x [n ]
i.e.
(32)
(ii)
where
(33)
H ( z ) = {h[n]} 4
(34)
x[n]
h[n]
y[n]
X(z)
H(z)
Y(z)
H (e j q ) = H ( z ) z=e j q
(35)
Alternatively, since X ( z ) = 1 if x[n ] = d[n ] , so by Eq. (33), Y (z ) x[n ]=d[ n ] = H (z) . But Y ( z ) x[ n ]=d[ n ] =
y [n] x[n]=d[n] and by definition, y [n] x[n ]=d[n ] = h[n] . Therefore, it follows that {h[n ]} = H ( z )
2-25
h[n ] <
(36)
n =-
But
h[n ] =
n =-
h[n ] z-n
n =-
z =1
(v)
As can be seen from Eq. (32), an LTI system (stable or unstable) is causal if
and only if h[n ] = 0 for n < 0
(vi) If is LTI and causal, and x[n ] is also causal, then Eq. (32) simplifies to
y [n ] =
x [ k ] h[ n - k ] =
k =0
h[k ] x[n - k ]
(37)
k =0
Suppose an LTI system has impulse response h[n ] = {h0 , h1, h2 , h3 }n =0 and
2
input x [n ] = {a, b, g }n =0
3
n=0
n =1
n=2
n=3
ah0
ah1
ah2
ah3
b h0
b h1
b h2
b h3
g h0
g h1
g h2
g h3
ah2
+b h1
+g h0
ah3
+b h2
+g h1
b h3
+g h2
g h3
b
g
y [n ]
ah0
ah1
+b h0
n=4
n=5
Observe that, skewing above table 45 clockwise yields precisely the convolution table of pp. 7, thus demonstrating principle of convolution table method
See A. V. Oppenheim and R. W. Schafer, Discrete-Time Signal Processing, 3rd ed., Prentice-Hall,
2010, pp. 59-60
2-26
Interconnected Systems
Cascaded Systems
Parallel Systems
h1[n]
h2[n]
h1[n]
h2[n]
h1[n]
h2[n]
h1[n] * h2[n]
h1[n] + h2[n]
H1(z)H2(z)
H1(z) + H2(z)
Example 8
x[n]
w[n]
A(z)
B(z)
y[n]
C(z)
\ W (z) =
A( z )
X (z)
1 - B( z ) C ( z )
Y ( z ) = B( z ) W ( z )
But
\ Y ( z ) = B( z )
Hence
H (z) =
A( z )
X (z)
1 - B( z ) C ( z )
Y (z)
A( z ) B( z )
=
X (z)
1 - B( z ) C ( z )
2-27
ak y [n - k ] =
k =0
bm x[n - m]
(38)
m =0
ak Y ( z ) z
-k
k =0
Y (z) =
bm X ( z ) z-m
m =0
M
or
m =0
N
bm z-m
ak z
-k
X (z)
(39)
k =0
H (z) =
Y (z)
=
X (z)
m =0
N
ak z
k =0
=
-k
bm -m
z
a
m =0 0
bm z-m
a
1 + k z-k
a
k =1 0
(40)
LCCDE systems form a special class of LTI systems. Can you think of an LTI system that cannot be
described by an LCCDE?
2-28
Re-write H ( z ) as follows
M
bk z
H (z) =
k =0
N
-k
bk z
ak z
-k
k =0
k =0
N
ak z
=
N -k
and
k =0
numerator
Roots of
polynomial are called
denominator
Hence H ( z ) has
zN bM - p z p
M -k
p =0
N
aN -p z
(41)
p
p =0
zeros
of H ( z )
poles
N > M
N - M zeros
at z = 0 if
M - N poles
M > N
Beware!
Although H ( z ) is often expressed as a ratio of two polynomials in z-1 , its
poles and zeros are found by expressing H ( z ) as a ratio of two polynomials
in z
Example 9
H (z) =
Consider
1
1 - az-1
1 - az-1 = 0
z=a
or
1
1 - az
-1
z
z
=
z
z - a
2-29
Let x[n ] be a known input sequence. Output sequence y [n ] can be found by:
(a)
(b)
using z-transforms
(43)
assuming y [no - 1], , y [no - N ] are known, compute the forward recursion
N
ak
y [n - k ] +
a
k =1 0
y [n ] = -
or assuming
recursion
bm
x [n - m ],
a
m =0 0
y [no ], , y [no - N + 1]
N -1
ak
y [n - k ] +
k =0 aN
y [n - N ] = -
(42)
n = no , no + 1,
(44)
bm
x [n - m ],
m = 0 aN
n = no , no - 1,
(45)
(ii)
h[n] causal and stable H ( z ) must have all its poles inside unit circle
2-30
Example 10
1
1 - az-1
Clearly, H ( z ) has a pole at z = a . Therefore, there are two possible ROCs: { z > a } and { z < a } ,
and from z-transform table
h[ n ] = a n u [ n ]
H (z) =
h[n ] = - a n u [-n - 1]
z > a
1
,
1 - az-1
H (z) =
z <a
1
,
1 - az-1
Thus
y[n-1]
x[n]
y[n]
-2
-1
a2
a2
a3
y [n ] = h[n ] = {0, 0, 1, a, a 2 , a3 , }
n =-2
= a n u [n ]
For the backward recursion, suppose y [2] = 0 and x[n ] = d[n] . Re-arranging LCCDE as follows
y [n -1] =
Thus
1
( y [n] - x[n])
a
y[n]
x[n]
y[n-1]
-1 a
-1
-1 a
-1 a
-2
-1 a
-1 a
-3
-1 a
-1 a
n =-
= - a n u[-n - 1]
2-31
bk z-k
H (z) =
k =0
N
b0
a0
ak z
(1 - ck z-1)
-k
k =1
N
(46)
(1 - dk z
-1
k =1
k =0
we see:
Suppose H ( z ) has only one repeated pole (with multiplicity s), and poles are
so indexed that d1, , dN -s are simple poles while dN -s +1 is the repeated
pole
PFE of H ( z ) is given, with dN -s +1 = = dN , by
M
H (z) =
N(z)
=
D( z )
bk z-k
k =0
N
b0 (1 - ck z-1)
=
ak z-k
k =0
H (z) =
k =1
N
a0 (1 - d k z-1)
k =1
N -s
s
An
Cm
N ( z ) M -N
= Br z-r +
+
1
-1 m
D( z )
r =0
n =1 1 - d n z
m =1 (1 - d N -s +1z )
(47)
z =dn
N(z)
N
a0 (1 - d k z
k =1
k n
(48)
-1
)
z =dn
2-32
Cm
d s -m
s
-1
(1 - d
w
)
H
(
w
)
=
N -s +1
(s - m )!(-dN -s +1)s -m dw s -m
w =dN--1 s +1
1
Cm =
d s -m
s -m
s -m
(s - m )!(-dN -s +1)
dw
N (w -1)
N -s
a
0 (1 - d k w )
k =1
w =dN--1 s +1
(49)
Can readily extend above procedure to H ( z ) s with more than one repeated
pole
z-r =
= d [n - r ]
1
1 - az-1
a nu[n ] ( k -11)!
=
=
-a nu[-n - 1] 1
( k -1) !
(n + 1) a nu[n ] ( k -11)!
=
=
-(n + 1) a nu[-n - 2] 1
(1 - az-1)2
( k -1)!
1 ( n + 1)( n + 2) a n u [n ] 1
2
( k -1)!
(1 - az-1)3
- 1 (n + 1)(n + 2) a nu[-n - 3] ( k -11)!
1
(1 - az-1)k
1 ( n + 1)( n + 2) ( n + k - 1) a n u [ n ]
( k -1)!
=
=
- 1 (n + 1)(n + 2) (n + k - 1) a nu[-n - k ]
( k -1)!
This is consistent with a result derived in pp. 26 where it is shown ROC of a stable LTI system must
include the circle unit
2-33
Example 11
H(z) =
non-zero poles form a complex conjugate pair at d1,2 = 0.2 j 0.4 , and the other non-zero pole is at
d3 = 0.3 but with a multiplicity of s = 2 . Thus PFE will have form
H (z) =
M -N
Br z-r +
r =0
1
N -s
1- d
n=1
2
= Br z-r +
r =0
(i)
An
nz
-1
An
n=11 - d n z
-1
(1 - d
m=1
2
Cm
N -s +1z
-1 m
(1 - 0.3mz-1)m
m=1
- z- 1
Hence B1 = -1 and B0 = 1
(ii)
8 - 7.5z
-1
z =d 2
= 1 - j2
2
z=0.2- j 0.4
A1 = A2* = 1 + j 2
(iii)
d 2-2
2
-1
(1
d
w
)
H
(
w
)
,
2-2
2-2
dw
w =1 d3
(2 - 2)!(-d3 )
d3 = 0.3
= (1)
1
(0.2
0.4)
1
(0.2
0.4)
+
j
w
j
w
(
)(
)
w =1 0.3
= 4
2-34
C1 =
d 2-1
(1 - d3w )2 H (w -1 )
,
2-1
2-1
w =1 d3
(2 - 1)!(-d3 ) dw
d3 = 0.3
d
1
(-0.3) dw
+
1
(0.2
j
0.4)
w
1
(0.2
j
0.4)
w
(
)(
)
w =1 0.3
d
1
(-0.3) dw
2
+
1
0.4
w
0.2
w
w =1 0.3
1 - 0.4w + 0.2w
w =1 0.3
=1
Thus
H ( z ) = 1 + (-1) z-1 +
1+ j 2
1 - (0.2 + j 0.4)z-1
1- j 2
1 - (0.2 - j 0.4)z-1
1
1 - 0.3 z-1
4
(1 - 0.3z-1 )2
Alternatively, since
1+ j 2
1- j 2
2 - 2z-1
+
=
1 - (0.2 + j 0.4)w
1 - (0.2 - j 0.4)w
1 - 0.4z-1 + 0.2z-2
it follows (exercise) from entries 11 and 12 of the z-transform tables, that
n
2 - 2z-1
-1
0.2
-1
+
1
0.4
z
0.2
z
n
It can be readily verified using MATLAB that above sequence equals 2Re (1+ j 2)(0.2 + j 0.4) u[n]
2-35
Example 11 (revisited)
H(z) =
We demonstrate here a method to find the causal h[ n ] by long division. It is instructive to compare
and contrast long division shown below with that shown in pp. 34 to find the residues B0 and B1
8 + 0.5z-1 + 0.29z-2 + 0.347z-3
1- z
-1
+ 0.53z
-2
- 0.156z
-3
+ 0.018z
-4
2-36
Consider the sequence y [n] = x[n - no ] . It follows from Eq. (24) that
Y (z) =
n =-
y [n] z-n =
n =-
x[n - no ] z-n =
m=-
= z-no
m=-
Finally, reversing above arguments, we see that, starting with a sequence such
as x[n ] = an +1u[n + 1] whose ROC is R X = { a < z < } (see above), shifting
x [n ] one sample right will result in y [n ] = x [n - 1] = a nu[n ] whose ROC is
RY = { a < z } . In other words, RY is R X with added. Likewise, shifting
x [n ] = -a n-2u[-n + 1] (whose ROC is R X = {0 < z < a } ) 2 samples left will
result in origin being added to the ROC
2-37
(a)
...
x [n ] = (-0.7) u[n ]
1
1 + 0.7z-1
(b)
...
x [n ] = (-0.7) u [n - 1]
n -1
x [ n ] = (- 0.7)(- 0.7)
u [ n - 1]
Therefore, from Entry 5 of z-transform table, and time-shift and linearity properties
X ( z ) = (-0.7)
z-1
1 + 0.7z-1
(c)
...
x [ n ] = (- 0.7) u [ n + 1]
-1
x [n ] = (-0.7)
Therefore, from Entries 4 and 5 of z-transform table, and time-shift and linearity properties
X (z) = -
and
1
1
z +
0.7
1 + 0.7z-1
Above ROC is consistent with discussion in proof of time-shifting property, and with Entries 2
and 4 of ROC chart
2-38
(a)
Consider
X ( z ) = X1( z ) + X 2 ( z ) =
1
1 - az-1
b 4 z-4
1 - bz-1
where for X1( z) and X 2 ( z ) to converge, we require z > a and z > b respectively. In
other words, for X ( z ) to converge, we require z to satisfy, simultaneously, z > a and
z > b . Or in other words,
R X = R1 R2
(b)
R X = R1 R2 = R1 R1 = R1 =
{z > a}
But
X ( z ) = X1( z ) + X 2 ( z ) =
1
1 - az-1
a 4 z-4
1 - az-1
1 - a 4 z-4
1 - az-1
(1 - az-1 )(1 + az-1 + a2 z-2 + a3 z-3 )
1 - az-1
Entry 1
RX =
{ z > 0}
2-39
(c)
Consider next
1
1 - az-1
a 4 z -4
1 - az-1
as in Example (b). But for X1( z ) and X 2 ( z ) to exist, we require respectively z < a and
z >a
{z < a} {z > a} =
RX =
(d)
b a
Clearly, for X1( z) to converge, we require z < a and z > a meaning R1 = ; while for
X 2 ( z ) to converge, we require z > b , i.e. R2 = { z > b } . In other words, for X ( z ) to
converge, three conditions must be satisfied, and because of the contradiction between the first
two conditions, R X =
With reference to the linearity property, we see
R1 R2 = { z > b } = = R X
(e)
x[n] = - an u[-n - 1]
Clearly
1
1 - az-1
z < a
R1 R2 = { z > a } =
while
R X = { z < a } R1 R2
2-40
(f)
Consider next
b < a
R1 R2 =
< a}
x[n] = - an u[-n - 1]
whose ROC is
RX =
< a}
R X R1 R2
Hence
(g)
{z
Finally, consider
Now, x [ n ] as written above is simply the sample-by-sample decomposition of anu[n] . See Eq.
(18). Accordingly, from Entry 5 of z-transform table
RX = { z > a }
Paradox resolved by noting linearity property applies only to a finite sum of subsequences. For
infinite sums, one has to study behaviour of the sum in the limit
Lessons
1.
2.
3.
Linearity property applies only to finite sum of subsequences. See Example (g)
2-41
4.
We next consider the inverse problem, i.e., find x[n ] given X ( z ) and RX
5.
6.
From Examples (e) and (f), we see that given a non-empty RX and a X ( z ) , the
inverse transform is not unique. However, all these inverse transforms are
identical algebraically
7.
8.
where
and
a1
1 - b1z-1
++
aN
1 - bN z-1
(50)
a1, , aN 0
(51)
b1 bN 0
(52)
2-42
Problems
1.
xc (t ) = A cos (8pt )
2.
3.
(a)
(b)
1 sec
to yield
Suppose xc (t ) is being sampled with a sampling period of T = 16
the discrete-time sequence x[n] = xc (nT ) . Determine the fundamental period N
of x[n] , and comment on the value NT .
(c)
1 sec
and T =
Repeat Part (b) for T = 18
1
401
sec .
Show that
K1 = M1 + N1
and
K2 = M 2 + N2
Given
and
Find the sequences
4.
(a)
w1 = 2 x - y
(b)
w2 = x y
(c)
w3 = x * y
Use the properties of DTFT and the table of DTFT pairs to find the DTFT of the
sequence
x[n] = a n ,
a <1
(This problem was solved in pp. 10 but the solution was based on the geometric series
formula Eq. (23).)
2-43
5.
6.
(a)
X (e jq )
(b)
X (e jq )
(c)
arg X (e jq )
p
q=0
q=p
jq
(d)
-p X (e
(e)
(f)
) dq
x[n] y* [n] =
n=-
1
X (e jq ) Y * (e jq ) d q
2
p
2p
7.
8.
A discrete-time linear time invariant system was subjected to the input sequence
x[ n] = ( 1 4 ) n u[n] . The output sequence was observed to have the form y[ n] =
ad[ n] + bd[n -1] where a and b are real constants. Determine a and b, and the
impulse response h[n] of the system, given it is known that H (e j p 2 ) = 1 .
2-44
9.
10.
11.
Determine the z-transform, including the ROC, for each of the following sequences. Use
the properties of z-transforms, the table of z-transform pairs, and the ROC chart.
(a)
x[ n] =
( 12 )
u[ n]
(b)
x[ n] =
( 12 )
(u[n] - u[ n -10])
(c)
(d)
(e)
x[n] = a n ,
a <1
(f)
x[n] = a n ,
a >1
( 12 )
u[n]
Determine the inverse z-transform for each of the following using the properties of
z-transforms, a table of z-transform pairs, the ROC chart, and the PFE.
(a)
X ( z) =
(b)
X ( z) =
1 z -1
2
3 z -1 + 1 z - 2
4
8
1
4
1 z-1
2
3 z-1 + 1 z-2
4
8
z >
11+
11+
< z <
1
2
1
2
Two LTI systems, one with impulse response h[n] and the other with impulse response
g[n] , are cascaded together as shown below.
x[n]
w[n]
h[n]
y[n]
g[n]
Show, using the definition of convolution, that the cascaded system can be represented
by a single system with impulse response h[ n] * g[ n] .
x[n]
y[n]
h[n] * g[n]
2-45
12.
(b)
{ x[n]} =
k=n
n
x[k ]
(c)
{ x[n]} = e x[ n]
(d)
{ x[n]} = ax[n] + b
(e)
13.
Example 3.12 of Oppenheim and Schafer, pp. 152, gives the transfer function of a
discrete-time LTI system that cannot be described a finite order LCCDE. Specifically,
H ( z ) = ln(1 + az-1 ) . Give other examples.
14.
( 12 )
u[ n] + 2n u[-n -1]
the output is
y[n] = 6 ( 12 ) u[n] - 6 ( 34 ) u[n]
n
15.
(a)
Find the transfer function H ( z ) of the system. Where are its poles and zeros and
what is its ROC?
(b)
(c)
(d)
y[n] =
3
2
(a)
(b)
(c)
You should have found the system is unstable. Find a stable (non-causal) impulse
response that satisfies the difference equation.
2-46
16.
The transfer function of an LTI system has the pole-zero plot shown below. Specify
whether each of the following statements is true, false, or cannot be determined from
the information given.
Im
Re
z-plane
17.
Unit circle
(a)
System is stable.
(b)
System is causal.
(c)
(d)
1 + z -1
(1 -
1 z -1 )(1
2
1 z -1 )
4
(a)
(b)
(c)
Find the z-transform of the input x[n] , including the ROC, that yields the output
18.
Given
a n u[n] = =
1
1 - az-1
Use the properties of z-transform to find the z-transform of the following sequences.
(a)
(n +1)a nu[n]
(b)
(c)
2-47
19.
Suppose
X ( z ) = X1 ( z ) + + X N ( z ) =
where
and
a1
1 - b1 z
-1
++
aN
1 - bN z-1
a1, , aN 0
b1 bN 0
2-48
Answers
1.
2.
(a)
Fundamental period is Tp = 14
(b)
N = 4 , NT = Tp
(c)
1 N =9
For T = 18
,
and NT = 2T p . For T =
1
401
w[n] =
x[k ] y[n - k ]
k =-
Next, sketch generic plots for the finite length sequences x[k ] and y[ n - k ] and observe
what happens as n increases from - .
3.
(a)
(b)
x y = {-2, 2, 0, - 4, 3}3n=-1
(c)
4.
DTFT {a n } =
5.
(a)
(b)
(c)
-2q
(d)
4p
(e)
{-1, 0, 1, 2, 1, 0, 1, 2, 1, 0, -1}3n=-7
(f)
1 - a2
1 + a 2 - 2 a cos q
7.
h[5] = 0
8.
a=
16
17
,b=
4
17
, h[n] =
16 d[ n]
17
1 d[ n - 2]
17
2-49
9.
(a)
z >
1
,
1 - 12 z-1
1 - ( 12 ) z-10
10
(b)
11.
1 z-1
2
z <
(c)
1
,
1 - 12 z-1
(d)
(e)
10.
1-
1
2
1
2
1 - a2
(1+a 2 ) - a ( z + z-1 )
, a < z <
1
a
(f)
(a)
(b)
x[ n] = 4 (- 12 ) u[ n] - 3(- 14 ) u[ n]
We begin by noting that w[n] = k =- h[k ] x[n - k ] and y[n] = l =- g[l ] w[n - l ] .
The stated result follows by substituting the first equation into the second equation.
12.
Linearity
(a)
(b)
(c)
(d)
(e)
-1
= 1 + z -1 +
1 z -2
2!
13.
H ( z) = ez
14.
(a)
H ( z) =
(b)
h[n] =
( 34 )
(c)
y[n] =
( 34 ) y[n -1] +
(d)
1 - 2 z-1
1n
3 z-1
4
z >
1 z -3 + ,
+ 3!
Time-Invariance
z >0
3
4
n-1
u[n] - 2 ( 34 )
u[n -1]
2-50
15.
16.
17.
18.
z-1
(a)
H ( z) =
(b)
h[n] =
(c)
(a)
Cannot be determined
(b)
Cannot be determined
(c)
False
(d)
True
(a)
z >
(b)
H ( z ) is stable
(c)
X ( z) =
(a)
1
(1 - az-1 )2
(b)
2
(1 - az-1 )3
(c)
1-
3 z-1- z-2
2
z >2
( 52 ) 2n u[n] - ( 52 )(- 12 )
u[n]
n
1
2
1 - 12 z-1
1 - 2 z-1
( k -1)!
(1 - az-1 )k
2-51
X ( z) =
19.
a1
1 - b1 z
-1
++
aN
1 - bN z-1
X ( z) =
Suppose the numerator can be factored such that, with no loss of generality, X ( z ) has
pole-zero cancellation at z = b1 . In other words, we can write X ( z ) as follows.
X ( z) =
Given the above expression for X ( z ) , suppose we now wish to perform a PFE. The
residue a1 is then given by
a1 = (1 - b1z-1 ) X ( z )
z=b1
=0
z=b1
2-52