02 Discrete Time Signals Systems
02 Discrete Time Signals Systems
1 Discrete-Time Signals
Analog signal
Continuous-time
Digital signal
Discrete-time
By convention, it will be assumed x[n] = 0 for n < n1 and for n > n2 . x is then
said to be a finite length sequence
For very long sequences, possibly infinite in length, we use also following
notation whose meaning is self-evident
x = {, x0 , x1, x2 , x3 , }
n=0 (4)
Remarks
(i) As stated, strictly, x[n] means “nth number of the sequence x”
However, by corruption of use, it can also refer to the entire sequence itself
d [n]
… …
-3 -2 -1 0 1 2 3 4 n
ïì0, n < 0
u[n ] = ïí (7)
ïïî1, n ³ 0
u[n]
1
…
…
-3 -2 -1 0 1 2 3 4 n
Exponential sequence
x [n ] = a n , a Î (8)
x[n] x[n]
… …
-3 -2 -1 0 1 2 3 4 n -3 -2 -1 0 1 2 3 4 n
x[n]
… …
-3 -2 -1 0 1 2 3 4 n
Periodic sequence
x [n + N ] = x [n ], "n Î (10)
Sinusoidal sequence
x [n ] = A cos(qo n + f ), A, qo , f Î (11)
x [n ] = Aa n = A e j f a n e j qo n
x [n ] = Aa n = A a n {cos(qo n + f ) + j sin(qo n + f )} (13)
where A = A e jf , a = a e j qo , A, a Î , f, qo Î
1
Thus alternating sequence has fundamental period N = 2
Addition2: x + y = { x [n ] + y [n ]} (15)
Multiplication2: x ⋅ y = { x [n ]⋅ y [n ]} (16)
¥ ¥
Convolution: x*y = å x [k ] y [n - k ] = å x [n - k ] y [k ] (17)
k =-¥ k =-¥
Example 1
y = {5, 6, 7}3n=1
n 0 1 2 3
x 1 2 3 4
y 5 6 7
2x 2 4 6 8
x+y 1 7 9 11
x⋅y 0 10 18 28
x + y = {1, 7, 9, 11}3n=0
2
Thus, sum and product of two sequences are given, respectively, by their sample-by-sample sum
and product
Aαn
A
0 n
u[n]
0 n
point-by-point
n multiply
Aα u[n]
0 n
(c) x[n ] = {1, 4, 0, - 1}2n=-1 can be written mathematically as x [n ] = d[n + 1] + 4d[n ] - d[n - 2]
d[ n ]
1
0 n
d [ n - 2]
1
n-2 = 0 n=2
0 2 n
d [ n + 1]
1
n +1= 0 n = -1
-1 0 n
x [n ]
1 4 0 -1
y [n ]
1 1 4 0 -1
0 0 0 0 0
-1 -1 -4 0 1
w [n ] = {1, 4, - 1, - 5, 0, 1}n4=-1
M2
x = { x[n ]}
n =M1 M 2 + N2
x * y = {w [n ]} (19)
N2 n =M1+N1
y = {y [n ]}
n =N1
Proof
X (e j ( q +2mp ) ) = X (e j q e j 2mp ) = X (e j q ), "m Î (21)
DTFT-1 { X (e j q )} = x [n ] =
1
X (e j q ) e+ jnq d q
2p ò2p
(22)
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 )
1+ a
1- a
1- a
1+ a
a = 0.75
Last summation converges only if a-1e j q < 1 or a-1 < 1 which contradicts the given condition
a < 1 . Therefore, given sequence does not have a DTFT
?
a = 0.75
Sequence x [ n ] Transform X (e j q )
1. d [n ] 1
¥
1
2. u [n ]
1 - e- j q
+ å pd(q - 2pk )
k =-¥
3. d[n - m ] e- j q m
1
4. a n u [n ] , a <1
1 - ae- j q
1
5. ( n + 1)a n u[n ] , a <1
(1 - ae- j q )2
(n + r - 1)! n 1
6. a u[n ] , a <1
n !(r - 1)! (1 - ae- j q )r
ìï1,
ïí
n £ N1 sin(q(N1 + 21 ))
7.
ïï0 , n > N1 sin(q 2)
î
sin qc n q æq n ö ïìï1, q £ qc
8. = c sinc çç c ÷÷÷ í
pn p çè p ø ïï0 , qc < q £ p
î
¥
9. 1 2p å d(q - 2pk )
k =-¥
¥
10. e j qo n 2p å d(q - qo - 2pk )
k =-¥
¥
11. cos qo n p å {d (q - qo - 2pk ) + d(q + qo - 2pk )}
k =-¥
p ¥
12. sin qo n å {d(q - qo - 2pk ) - d(q + qo - 2pk )}
j k =-¥
¥
13. Periodic square wave
2p å ak d (q - 2Npk )
ïìï1, n £ N1 k =-¥
í
ïï0 , N < n £ N 2
î 1 sin éë 2Npk (N1 + 21 )ùû
ak =
x [n + N ] = x [n ] N sin éë 22pNk ùû
X (e j q )
DTFT
x [n ] ¬¾¾¾
Y (e j q )
DTFT
y [n ] ¬¾¾¾
aX (e j q ) + bY (e j q )
DTFT
1. Linearity ax [n ] + by [n ] ¬¾¾¾
X (e j q ) e- j qno
DTFT
2. Time shifting x [n - no ] ¬¾¾¾
x [n ] e j qo n ¬¾ ¾¾
X (e j ( q-qo ) )
DTFT
3. Frequency shifting
x * [n ] ¬¾ ¾¾
X * (e- j q )
DTFT
4. Conjugation
X (e- j q )
DTFT
5. Time reversal x [-n ] ¬¾ ¾¾
ìï x [n k ], n = multiple of k
x( k ) [n ] = ïí X (e jk q )
DTFT
6. Time expansion ¬¾¾¾
ïïî 0, n ¹ multiple of k
X (e j q )Y (e j q )
DTFT
7. Convolution x [n ] * y [n ] ¬¾ ¾¾
1
X (e j x )Y (e j (q-x ) ) d x
2p ò2p
DTFT
8. Multiplication x[n ] y [n ] ¬¾¾¾
(1- e- j q ) X (e j q )
DTFT
9. Time differencing x [n ] - x [n - 1] ¬¾¾¾
n ¥
1
10. Accumulation å DTFT
x [k ] ¬¾¾¾
1- e- j q
X (e j q ) + p X (e j 0 ) å d(q - 2pk )
k =-¥ k =-¥
d
X (e j q )
DTFT
11. Frequency differentiation n x [n ] ¬¾ ¾¾
j
dq
12. x [ n ] real X ( e- j q ) = X * ( e j q )
¥
1 2
15. Parseval’s relation å x[n ] 2 =
2p ò 2 p
X (e j q ) d q
n =-¥
¥
1
å x [ n ] y * [n ] =
2p ò2p
X (e j q )Y * (e j q ) d q
n =-¥
x[n]
-4 -3 -2 -1 0 1 2 3 4 n
-4 -3 -2 -1 0 1 2 3 4 n -4 -3 -2 -1 0 1 2 3 4 n
1 1
-4 -3 -2 0 n -1 0 1 n 0 2 3 4 n
{ x [n ]} = X ( z )
= + x[-2] z 2 + x[-1] z + x[0] + x [1] z-1 + x [2] z-2 + (24)
¥
= å x[n ] z-n , zÎ
n =-¥
3
In the same way Laplace transform generalises the Fourier transform
(a) x [n ] = d [n ]
¥
X (z) = å d[n ] z-n = 1 and converges everywhere
n =-¥
(b) x [ n ] = a n u [n ]
Im
¥ ¥
X (z) = å a n u[n ] z-n = å an z-n
n=-¥ n=0
unit circle
¥
= å (az -1 n
)
n=0
1
=
1 - az-1
a 1 Re
i.e., z > a
(c) x [n ] = a n
¥ ¥ -1
X (z) = å a n z-n = å an z-n + å a-n z-n
n=-¥ n=0 n=-¥ Im
¥ ¥
= å (az-1)n + å (az )n
n=0 n=1
1 é 1 ù
= +ê - 1ú
1- az-1 êë 1- az úû
(1- az ) + (1- az-1 ) - (1- az-1 )(1- az ) 1/a
= -1
(1- az )(1- az ) a 1
Re
2
1- a
=
(1 + a ) - a( z-1 + z )
2 z-plane
Im
-1 ¥
X (z) = å -a n z-n = - å (a-1z )n
n =-¥ n =1
é 1 ù
= -ê - 1ú
êë 1- a-1z úû
1
=
1- az-1
a 1
Re
X(z) is not unique – different sequences can have the same X(z)
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
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.
n
x[n]
5. |z| < R+
x[n]
1. d [n ] 1 All z
1
2. u[ n ] z >1
1 - z-1
1
3. -u[-n - 1] z <1
1 - z-1
1
5. a n u[n ] z > a
1 - az-1
1
6. -a n u[-n - 1] z < a
1 - az-1
az-1
7. n a n u[ n ] z > a
(1 - az-1 )2
az-1
8. -n an u[-n - 1] z < a
(1 - az-1 )2
1 - [cos qo ] z-1
9. [cos qo n ]u[n ] z >1
1 - [2cos qo ] z-1 + z-2
[sin qo ] z-1
10. [ sin qo n ]u[n ] z > 1
1 - [2cos qo ] z-1 + z-2
1 - [r cos qo ] z-1
11. éê r n cos qo n ùú u[n ] z > r
ë û 1 - [2r cos qo ] z-1 + r 2 z-2
[r sin qo ] z-1
12. éê r n sin qo n ùú u [n ] z > r
ë û 1 - [2r cos qo ] z-1 + r 2 z-2
ì
ïa n , 0 £ n £ N - 1 1 - aN z-N
13. ïí z > 0
ï
ï 1 - az-1
î 0, otherwise
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 ax [n ] + by [n ] ¬¾¾
aX ( z ) + bY ( z ), contains R X Ç RY
x * [n ] ¬¾¾
X * ( z* ), R X
4. Conjugation
X ( z-1 ), 1 R X
5. Time reversal x [-n ] ¬¾¾
ì
ï x [r ], n = rk
x( k ) [n ] = ï
6. Time expansion í ¬¾¾ X ( z k ), R1X k
ï
ï
î 0, n ¹ rk
7. Convolution x [n ] * y [n ] ¬¾¾
X ( z )Y ( z ), contains R X Ç RY
n
1
10. Accumulation å x [k ] ¬¾¾
1 - z -1
X ( z ), contains R X Ç { z > 1}
k =-¥
d
11. Differentiation in z n x [n ] ¬¾¾
-z X ( z ), R X
dz
12. x [ n ] real X ( z ) = X * ( z* )
¥
13. Parseval’s relation å x [n ] 2 =
1
2p j òC X (z ) X
*
( z1 ) z1 dz , C in R X
*
n=-¥
¥
å x [ n ] y * [n ] =
1
2p j òC X ( z )Y
*
( z1 ) z1 dz , C in R X Ç RY
*
n=-¥
1
Consider x [n ] = a n u [n ] ¬¾¾
X (z) = , RX = { z > a }
1 - a z -1
(a) Frequency Shifting Property. It follows from the definition Eq. (24) that
¥
1 1
x [n ]zon = (azo )n u[n ] ¬¾¾
å (azo )n z-n = 1 - az -1
= -1
n=0 oz 1- a ( zz )
o
provided az < 1
i.e. 1 RX = { z < 1 a }
Example 5
n
(a) x[n] = 3n u[-n - 1] + ( 21 ) u[n ]
-1
Entry 6: 3n u[-n - 1] « , z < 3
1 - 3 z-1
n 1
Entry 5: ( 21 ) u [n ] «
1 z -1
, z > 1
2
1- 2
Linearity Property:
-1 1
X (z) = -1
+ , 1 < z <3
1 - 3z 1- 1 z-1 2
2
n
(b) x[n ] = (- 21 ) u[n - 1]
n n-1
Observe: x[n ] = (- 21 ) u[n - 1] = (- 21 )(- 21 ) u[n - 1]
n 1 1
Entry 5: (- 21 ) u [n ] «
1 z-1
= , z > - 21
1+ 2
1 - (- 21 )z-1
Time-Shifting Property:
n-1 1
(- 21 ) u[n - 1] «
1 z-1
⋅ z-1, z > 1
2
1+ 2
Linearity Property:
z-1
X ( z ) = (- 21 ) ⋅ , z > 1
1+ 1 z-1 2
2
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
ìï 2n u[n ], z >2
x2 [n ] = íï
X 2 ( z ) ¬¾¾
ïï-2n u[-n - 1], z <2
ïî
R1 R2 R1 Ç R2
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
y [n ] = { x [n ]} (26)
x[n] y[n]
{ x [n - no ]} = y [n - no ] (28)
(a) y [n ] = x[n ] + x [n - 1]
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 ]} = x[n - no ] + x[n - 1- no ]
y [n - no ] = x [n - no ] + x[n - no - 1]
Clearly { x[n - no ]} = y [n - no ]
\ System is time-invariant
(b) y [n ] = x[-n ]
Linearity
{ax1[n ] + bx2 [n ]} = ax1[-n ] + bx2 [-n ]
= a { x1[n ]} + b { x2 [n ]}
\ System is linear
Time-Invariance
{ x[n - no ]} = x [-n - no ]
y [n - no ] = x [-(n - no )] = x [-n + no ]
h[n ] = {d [n ]} (31)
H (e j q ) = H ( z ) z = e j q (35)
4
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 )
¥ ¥
But å h[n] = å h[n ] z-n
z =1
n =-¥ n =-¥
(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
n n
y [n ] = å x[k ] h[n - k ] = å h[k ] x[n - k ] (37)
k =0 k =0
Suppose an LTI system has impulse response h[n ] = {h0 , h1, h2 , h3 }3n =0 and
input x[n ] = {a, b, g }2n =0
Observe that, skewing above table 45° clockwise yields precisely the con-
volution table of pp. 7, thus demonstrating principle of convolution table method
5
See A. V. Oppenheim and R. W. Schafer, Discrete-Time Signal Processing, 3rd ed., Prentice-Hall,
2010, pp. 59-60
Example 8
w[n]
x[n] A(z) B(z) y[n]
C(z)
Defining w[n] as shown and taking z-transforms of x[n], y[n], and w[n], we get, at summer output
W ( z ) = A( z ) X ( z ) + B( z ) C( z ) W ( z )
A( z )
\ W (z) = X (z)
1 - B( z ) C ( z )
But Y ( z ) = B( z ) W ( z )
A( z )
\ Y ( z ) = B( z ) X (z )
1 - B( z ) C ( z )
Y (z) A( z ) B( z )
Hence H (z) = =
X (z) 1 - B( z ) C ( z )
M
å bm z-m
m =0
i.e. Y (z) = N
X (z) (39)
å ak z -k
k =0
6
LCCDE systems form a special class of LTI systems. Can you think of an LTI system that cannot be
described by an LCCDE?
k =0 k =0 p =0
ì
ï zerosüïï ìï numerator üï
ï
í ý of H(z) given by roots of ïí ïý polynomial in z
ï
ïpolesï
î ï
þ ïîïdenominator ïþï
Beware!
Although H(z) is often expressed as a ratio of two polynomials in z-1 , its poles
and zeros are found by expressing it as a ratio of two polynomials in z
Example 9
1
H (z) =
1 - az-1
It is often said H(z) has no zeros and only one pole at z = a. But writing H(z) as follows
1 z z
H (z) = -1
⋅ =
1 - az z z - a
ìïN > M üï ì ü
It follows from Eq. (41) that if ïí ïý , then H(z) has ïïíN - M zerosï ï
ý at z = 0
ïîïM > N ïþï ïîïM - N polesï
ï
þ
Example 10
z-1 1
(a) H (z) = -1
=
1 - az z -a
Clearly, H (z) has a pole at z = a. But as z ¥ , H ( z ) 0 . Hence, H (z) also has a zero
at ¥
z2 - 1 ( z - 1)( z + 1)
(b) H ( z ) = 1 - z -2 = 2
=
z z2
H (z) has 2 poles, at z = 1, and also 2 zeros at z = 0
(c) H (z) = z
Clearly, H (z) has a zero at z = 0. Its pole though is at z ¥ . (Note, with pole at ¥, H(z)
can only have ROC RH < ¥ , meaning it can only be non-causal.)
(a) solving LCCDE formally through its homogeneous and particular solutions
(d) assuming y [no - 1], , y [no - N ] are known, compute the forward recursion
N M
a bm
y [n ] = - å k y [n - k ] + å x[n - m], n = no , no + 1, (44)
k =1 a0 m =0 a0
\ h[n] causal and stable H(z) must have all its poles inside unit circle
Consider LCCDE
y [n ] = a y [n - 1] + x [n ]
1
Clearly H (z) =
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
1
h[n ] = a n u [n ] ¬¾¾
H (z) = , z > a
1 - az-1
1
h[n ] = - a n u [-n - 1] ¬¾¾
H (z) = , z <a
1 - az-1
y [n ] = a y [n - 1] + x [n ]
-2 0 0 0
-1 0 0 0
0 0 1 1
1 1 0 A
2
2 a 0 a
3 a2 0 a3
¥
Thus y [n ] = h[n ] = {0, 0, 1, a, a 2 , a3 , } = a n u[n ]
n=-2
For backward recursion, suppose y[2] = 0 and x[n] = d [n]. Re-arranging LCCDE as follows
1
y [n - 1] = ( y [n ] - x [n ])
a
2 0 0 0
1 0 0 0
0 0 1 -1 a
2
-1 -1 a 0 -1 a
2 3
-2 -1 a 0 -1 a
3
-3 -1 a 0 -1 a
4
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
M M
N(z)
å bk z-k b0 (1 - ck z-1)
k =0 k =1
H (z) = = N
= N
D( z )
å ak z-k a0 (1 - d k z-1)
k =0 k =1
N ( z ) M -N N -s
An s
Cm
H (z) = = å Br z-r + å -
+ å -1 m
(47)
D( z ) r =0 n =1 1 - d n z
1
m =1 (1 - dN -s +1z )
N(z)
An = (1 - d n z-1) H ( z ) = N
(48)
z =d n
a0 (1 - d k z -1
)
k =1
k ¹n z =dn
1 ìï d s -m é N (w -1) ùüï
Cm = ï ï ê úï
úïïý
s -m ï
(49)
(s - m )!(-dN -s +1) í dw s -m ê N -s
êa úï
ê 0 (1 - d k w ) úïï
ïï
ïîï ëê k =1 úïw =dN--1 s +1
ûþ
and Br are found by long division of N(z) by D(z) with division stopping
when degree of remainder is less than N
Can readily extend above procedure to H(z)’s with more than one repeated
pole
z-r = ¬¾¾
= d[n - r ]
ìïanu[n ] 1
1 ï ( k -1)!
= ïí
= ¬¾¾
1 - az-1 ïï-anu[-n - 1] 1
ïî ( k -1) !
ìï(n + 1) anu[n ] 1
1 ïï ( k -1)!
= ¬¾¾
= í
-1 2
(1 - az ) ïï-(n + 1) a u[-n - 2] 1
n
îï ( k -1)!
ìï 1 (n + 1)(n + 2) anu[n ] 1
1 ïï 2 ( k -1)!
= ¬¾¾
= í
(1 - az-1)3 ïï- 1 (n + 1)(n + 2) anu[-n - 3] 1
îï 2 ( k -1)!
ìï 1 (n + 1)(n + 2) (n + k - 1) anu[n ]
1 ï ( k -1)!
= ïí
= ¬¾¾
(1 - az-1)k ïïï- ( k -11)! (n + 1)(n + 2) (n + k - 1) anu[-n - k ]
î
7
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
H (z) has M = 5 non-zero zeros, N = 4 non-zero poles and M - N = 1 pole at z = 0. Two of the
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
M -N N -s s
An Cm
H (z ) = å Br z-r + å 1- d -1
+ å (1 - d -1 m
r =0 n=1 nz m=1 N -s +1z )
1 2 2
An C
= å Br z-r +å -1
+ å (1 - 0.3mz-1)m
r =0 n=11 - d n z m=1
-z-1 + 1
0.018z-4 - 0.156z-3 + 0.53z-2 - z-1 + 1 -0.018z-5 + 0.174z-4 - 0.926z-3 + 4.03z-2 - 7.5z-1 + 8
-0.018z-5 + 0.156z-4 - 0.53z-3 + z-2 - z-1
0.018z-4 - 0.396z-3 + 3.03z-2 - 6.5z-1 + 8
0.018z-4 - 0.156z-3 + 0.53z-2 - z-1 + 1
- 0.24z-3 + 2.5z-2 - 5.5z-1 + 7
Hence B1 = -1 and B0 = 1
A2 = (1 - d 2 z-1 ) H ( z )
z=d2
-1
8 - 7.5z + 4.03z-2 - 0.926z-3 + 0.174z-4 - 0.018z-5
= = 1 - j2
(1 - (0.2 + j 0.4)z-1)(1 - 0.3z-1)
2
z=0.2- j 0.4
A1 = A2* = 1 + j 2
Thus
1+ j 2 1- j 2 1 4
H ( z ) = 1 + (-1) ⋅ z-1 + + + +
1 - (0.2 + j 0.4)z-1 1 - (0.2 - j 0.4)z-1 1 - 0.3 z-1 (1 - 0.3z-1 )2
= d[n ] - d[n - 1] + 2Re {(1 + j 2)(0.2 + j 0.4)n } u[n ] + (4n + 5)(0.3)n u[n ]
8
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
ïì 2 - 2 z-1 ïüï n
-1 ïí ý = 2 ( 0.2 ) (cos qo n - 2 sin qo n) u[n ], qo = cos
-1
0.2
ïï1 - 0.4z + 0.2z ïï
-1 -2
î þ
It can be readily verified using MATLAB that above sequence equals 2Re {(1 + j 2)(0.2 + j 0.4)n } u [n ]
Example 12 (revisited)
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. 35 to find the residues B0 and B1
Quotient gives first 4 terms of h[n], namely, {8, 0.5, 0.29, 0.347, }
¥ ¥ ¥
Y (z) = å y [n ] z-n = å x[n - no ] z-n = å x[m] z-( m+no )
n=-¥ n=-¥ m=-¥
¥
= z-no å x[m] z-m = z-no X ( z )
m=-¥
If no = -1 , i.e. if x[n] shifted one sample left, then z-no = z and Y(z) will not converge as
z ¥ . Thus, RY = R X { z ¥} = { a < z < ¥} , i.e. RY is R X with ¥ deleted
But if no = 2 , i.e. if x[n] shifted 2 samples right, then z-no = z-2 and Y(z) will not converge
at z = 0. But R X already has form { a < z } which excludes z = 0. Thus, RY = R X and there
is no change in ROC
If no = -1 , i.e. if x[n] shifted one sample left, then z-no = z and Y(z) will not converge as
z ¥ . But R X already excludes z ¥ . Therefore, RY = R X and there is no change in
ROC
If no = 2 , i.e. if x[n] shifted 2 samples right, then z-no = z-2 and Y(z) will not converge at
z = 0. Thus, RY = RX {z = 0} = {0 < z < a } , i.e. RY is R X with origin deleted
Finally, reversing above arguments, we see that, starting with a sequence such as
x [n ] = a n +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 n u [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
x [n ] = (-0.7)(-0.7)n-1 u[n - 1]
Therefore, from Entry 5 of z-transform table, and time-shift and linearity properties
z -1
X ( z ) = (-0.7)
1 + 0.7 z-1
...
(c) x [n ] = (-0.7)n u[n + 1] n
−2 −1 0 1 2 3 4
Therefore, from Entries 4 and 5 of z-transform table, and time-shift and linearity properties
1 1
X (z) = - 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
1 b 4 z-4
X ( z ) = X1( z ) + X 2 ( z ) = -
1 - az-1 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 . In other words
R X = R1 Ç R2
R X = R1 Ç R2 = R1 Ç R1 = R1 = { z > a }
But
1 a 4 z-4 1 - a 4 z-4
X ( z ) = X1( z ) + X 2 ( z ) = - =
1 - az-1 1 - az-1 1 - az-1
R X É R1 Ç R2
1 a 4 z- 4
X ( z ) = X1( z ) + X 2 ( z ) = - = 1 + az-1 + a 2 z-2 + a3 z-3
1 - az-1 1 - az-1
as in Example (ii). But for X1( z ) and X 2 ( z ) to exist, we require respectively z < a and
z >a which contradicts one another. In other words, X(z) cannot exist. As for RX
(assuming it is meaningful to speak of one!), it is given by
RX = { z < a } Ç { z > a } = Æ
R1 Ç R2 = Æ = R X
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 = Æ
R1 Ç R2 = Æ Ç { z > b } = Æ = R X
Clearly x [n ] = - a n u[-n - 1]
1
X (z ) = , z < a
1 - az-1
while R X = { z < a } É R1 Ç R2
x [n ] = - a n u[-n - 1]
whose ROC is
RX = { z < a }
Hence R X É R1 Ç R2
x [n ] = x0 [n ] + x1[n ] + x2 [n ] + x3 [n ] + = a0 d [n ] + a1d[n - 1] + a 2d [n - 2] + a3 d [n - 3] +
Now, x[n] as written above is simply sample-by-sample decomposition of a n u[n ] . See Eq.
(18). Accordingly, from Entry 5 of z-transform table
RX = { z > a }
R X Ê (R0 Ç R1 Ç R2 Ç R3 Ç )
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
3. Linearity property applies only to finite sum of subsequences. See Example (vii)
4. Generally, a sketch of x[n] can be helpful before one attempts to find X(z).
See Examples (ii), (v), (vi) and (vii)
We next consider the inverse problem, i.e., find x[n] given X(z) and R X
6. From Examples (v) and (vi), we see that given a non-empty R X and an X(z),
the inverse transform is not unique. However, all these inverse transforms are
identical algebraically
8. In Tutorial Problem 19, it is shown that if X(z) has partial fraction expansion
a1 aN
X ( z ) = X1( z ) + + X N ( z ) = -1
++ (50)
1 - b1z 1 - bN z-1
and b1 ¹ ¹ bN ¹ 0 (52)
M
2. Suppose x = { x[n]} 2 , y = { y[n]}N 2 , and w = x * y = {w[n]}K 2 .
n=M1 n= N1 n= K1
Show that K1 = M1 + N1
and K2 = M 2 + N2
4. 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).)
ìï{-1, 0, 1, 2, 1, 0, 1, 2, 1, 0, -1} , -3 £ n £ 7
x[n] = ïí
ïïî0, otherwise
(a) X ( e jq )
q=0
(b) X (e jq )
q=p
(c) arg X (e jq )
p jq
(d) ò-p X (e ) dq
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 .
x[n] = ( 12 ) u[n]
n
(a)
( 12 )
n
(b) x[n] = (u[n] - u[n -10])
10. 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.
1- 1 z -1
(a) X ( z) = 2
, 1 < z < 1
1+ 3 z -1 + 1 z -2 4 2
4 8
1- 1 z-1
(b) X ( z) = 2
, z > 1
1+ 3 z-1 + 1 z-2 2
4 8
11. Two LTI systems, one with impulse response h[n] and the other with impulse response
g[n], are cascaded together as shown below.
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]
åk=n
n
(b) { x[n]} = x[k ]
o
(c) { x[n]} = e x[ n]
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.
( 12 )
n
x[n] = u[n] + 2n u[-n -1]
the output is
y[ n ] = 6 ( 12 ) u[ n ] - 6 ( 34 ) u[ n ]
n n
(a) Find the transfer function H(z) of the system. Where are its poles and zeros and
what is its ROC?
(b) Find the impulse response of the system for all n.
(c) Write the LCCDE that characterises the system.
(d) Is the system stable? Is it causal?
0 Re
18. Given
1
a nu[n] = ¬¾ =
1 - az-1
Use the properties of z-transform to find the z-transform of the following sequences.
where a1 , , a N ¹ 0
and b1 ¹ ¹ bN ¹ 0
2. Consider the convolution sum w[n] = å x[k ] y[n - k ] and the following set of figures.
k
x[k ]
0 M1 M2 k
y[k ]
N1 0 N2 k
y[-k ]
-N 2 0 -N1 k
y[-k + n] = y[n - k ]
n increasing
-N 2 + n 0 n -N1 + n k
As can be seen, as n increases from -¥ , x[k] and y[n-k] will start to overlap when
-N1 + n = M1
i.e. n = M1 + N1
i.e. n = M 2 + N2
1 - a2
4. DTFT {a n
} = 1 + a 2 - 2a cos q
5. (a) 6
(b) 2
(c) -2q
(d) 4p
(e) {-1, 0, 1, 2, 1, 0, 1, 2, 1, 0, -1}3n=-7
{- 12 , 0, 12 , 1, 0, 0, 1, 2, 1, 0, 0, 1, 12 , 0, - 12 }n=-7
7
(f)
DTFT { y*[-n]} = Y * (e jq )
whereupon
¥ ¥
1
g[0] =
2p ò 2 p
X ( e jq ) Y * ( e jq ) d q = å x[k ] y* [k - n] = å x[k ] y* [k ]
k =-¥ n=0 k =-¥
7. h[5] = 0
8. a= 16
17
,b= 4
17
, h[n] = 16 d[ n]
17
- 1 d[ n - 2]
17
1 - ( 12 ) z-10
10
= 1 + 12 z-1 + + ( 12 ) z-9 , z > 0
9
(b)
1- 1 z-1
2
1
(c) , z < 1
1- 1 z-1 2
2
x[ n] = 4 (- 12 ) u[ n ] - 3 (- 14 ) u[ n ]
n n
(b)
while y[ n - no ] = g[ n - no ] x[n - no ]
-1 1 -2 1 -3
13. H ( z) = ez = 1 + z -1 + z + z + , z >0
2! 3!
1 - 2 z -1
14. (a) H ( z) = , z > 3
1- 3 z -1 4
4
n-1
( 34 ) u[ n ] - 2 ( 34 )
n
(b) h[ n ] = u[ n -1]
( 52 ) 2n u[n] - ( 52 )(- 12 )
n
(b) h[ n ] = u[ n ]
1
18. (a)
(1 - az-1 ) 2
2
(b)
(1 - az-1 )3
(k -1)!
(c)
(1 - az-1 )k
Suppose the numerator can be factored such that, with no loss of generality, H(z) has
pole-zero cancellation at z = b1 . In other words, we can write H(z) as follows.
Given the above expression for H(z), suppose we now wish to perform a PFE. The
residue a1 is then given by
which contradicts the original assumption that a1 ¹ 0 . In other words, H(z) cannot
exhibit any pole-zero cancellations.