0% found this document useful (0 votes)
33 views

Chapter 13 Problems

DSP

Uploaded by

Ananya A M
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views

Chapter 13 Problems

DSP

Uploaded by

Ananya A M
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

Solutions to Problems in Chapter 13

Problems with Solutions

Problem 13.1

Sketch the pole-zero plot and compute the impulse response h[ n] of the system with transfer

function:

z (1 − 0.8 z −1 )
H ( z) =
( z 2 − 0.8 z + 0.64)(1 + 2 z −1 )

and with ROC: 0.8 < z < 2 . Specify whether or not the system is causal and stable.

Answer:

z ( z − 0.8) z −1 (1 − 0.8 z −1 )
H ( z) = 2 = π π
, 0.8 < z < 2
( z − 0.8 z + 0.64)( z + 2) j
−1
−j
−1 −1
(1 − 0.8e z )(1 − 0.8e
3 3
z )(1 + 2 z )
A A* C
= π
+ π
+
j
3 −1
−j
3 −1
(1 + 2 z −1 )
(1 − 0.8e z ) (1 − 0.8e z )
z <2
z > 0.8 z > 0.8

The coefficients are given by:

1
π π π π
−j −j −j −j
−1 −1
z (1 − 0.8 z ) 1.25e 3
(1 − e 3
) 1.25e 3
(1 − e 3
)
A= π
= 2π π
= 2π π
=
−j −j −j −j −j
−1 −1
(1 − 0.8e 3
z )(1 + 2 z ) z =0.8e j 3 π
(1 − e 3
)(1 + 2.5e 3
) (3.5 − e 3
+ 2.5e 3
)
1 3 1 3 
1.25  − j − (− − j ) 5
 2 2 2 2 = 4 5(21 + j 3 3)
= = = 0.224 − 0.0555 j
3 1 468
(5.25 − 1.5 j ) (21 − j 3 3)
2 4

z −1 (1 − 0.8 z −1 ) −0.7
C= π π
= = −0.92
j −j (1 − 0.4 + 0.16)
(1 − 0.8e 3 z −1 )(1 − 0.8e 3
z −1 ) z =−2

Thus,

0.224 − 0.0555 j 0.224 + 0.0555 j 0.92


H ( z) = π
+ π

j −j (1 + 2 z −1 )
(1 − 0.8e 3 z −1 ) (1 − 0.8e 3
z −1 )
z <2
z > 0.8 z > 0.8

The inverse z-transform is obtained using the table:

π n π n
 j   −j 
h[n] = ( 0.05 + j 0.1)  0.8e  u[n] + ( 0.05 − j 0.1)  0.8e 3  u[n] − 1.84(−2) n u[−n − 1]
3

   
π
 j n 
= 2 Re e 3 (0.05 + j 0.1)  ( 0.8 ) u[n] − 1.84(−2) n u[−n − 1].
n

 
n  π π 
= 2 ( 0.8 )  0.05cos n − 0.1sin n  u[n] − 1.84(−2) n u[ −n − 1]
 3 3 

The pole-zero plot is in Figure 13.1.

2
Figure 13.1: Pole-zero plot of transfer function in Problem 13.1.

The system is not causal since the ROC is a ring , but it is stable as it includes the unit circle.

Problem 13.2

z
Compute the inverse z-transform of X ( z ) = , z < 0.5 using the power series
(1 − 0.5 z −1 )

expansion method.

Answer:

z 2z2
X ( z) = = ,
(1 − 0.5 z −1 ) 2 z − 1

long division yields:

3
−2 z 2 − 4 z 3 − (2)3 z 4 − …
−1 + 2 z 2z2
2z 2 − 4z3
4z3
4 z3 − 8z 4
8z 4

Note that the resulting power series converges because the ROC implies 2 z < 1 . The signal is

x[n] = −2δ [n + 2] − 4δ [n + 3] − 8δ [n + 4]…


1
= −( ) n +1 u[−n − 2].
2

Problem 13.3

Consider the stable LTI system defined by its transfer function

z2 + z − 2
H ( z) = 2
z + z + 0.5

(a) Sketch the pole-zero plot for this transfer function, and give its ROC. Is the system causal?

Answer:

The poles are p1 = −0.5 + j 0.5, p2 = −0.5 − j 0.5 . The zeros are z1 = −2, z2 = 1 . The system is

stable, so its ROC must include the unit circle. With the fact that H (∞) is finite, we can

conclude that the system is causal. The pole-zero plot is shown in Figure 13.2.

4
Figure 13.2: Pole-zero plot of transfer function in Problem 13.3(a).

(b) Find the corresponding difference system relating the output y[ n] to the input x[ n] .

Answer:

We first write the transfer function as a function of z −1 of the form:

1 + z −1 − 2 z −2
H ( z) = .
1 + z −1 + 0.5 z −2

The corresponding difference system is

y[n] + y[ n − 1] + 0.5 y[ n − 2] = x[ n] + x[ n − 1] − 2 x[ n − 2] .

(c) Sketch the direct form realization of this system.

Answer:

The direct form realization of the system is given in Figure 13.3.

5
Figure 13.3: Direct form realization of transfer function in Problem 13.3.

Problem 13.4

(a bit of actuarial mathematics using the unilateral z-transform…)

The balance of a bank account after each year with interest compounded annually may be

described by the difference equation

y[n] = (1 + r ) y[n − 1] + x[n] ,

where r is the annual interest rate, y[n] is the account balance at the beginning of the ( n + 1 )st

year, the input "signal" x[ n] = M (u[ n] − u[ n − L]) is composed of L consecutive annual deposits

of M dollars, and the initial condition y[−1] = y−1 is the initial amount in the account before the

first deposit.

(a) Is this system stable?

Answer:

6
The system is unstable since the system is causal and the pole 1 + r is larger than one, i.e.,

outside of the unit circle.

(b) Use the unilateral z-transform to compute Y ( z )

Answer:

Taking the unilateral z-transform on both sides, we obtain:

( )
Y ( z ) − (1 + r ) z −1Y ( z ) + y[−1] = X ( z )
(1 + r ) y[−1] X( z)
Y ( z) = +
1 − (1 + r ) z −1
1 − (1 + r ) z −1
(1 + r ) y[−1] M (1 − z − L )
Y ( z) = +
1 − (1 + r ) z −1 1 − (1 + r ) z −1  (1 − z −1 )

(1 + r ) y[−1](1 − z −1 ) + M (1 − z − L )
=
1 − (1 + r ) z −1  (1 − z −1 )
more useful form:
(1 + r ) y[−1] + M ∑ k =0 z − k
L −1

=
1 − (1 + r ) z 
−1

(c) Find the annual deposit M as a function of the final balance in the account after L years

y[ L − 1] and the interest rate r . Compute the annual deposit M if you want to accrue $100,000

after 20 years at 5% annual interest rate with an initial balance of y−1 = $1000 .

Answer:

The account balance at the beginning of the (n+1)st year is

7
y[n] = Z −1 {Y ( z )}
 (1 + r ) y[−1] + M ∑ L −1 z − k 
−1
=Z  k =0

1 − (1 + r ) z 
−1
 
L −1
= (1 + r ) y[−1] (1 + r ) u[n] + M ∑ (1 + r )
n n−k
u[n − k ]
k =0

When the last payment is made at n = L − 1, we get

L −1
y[ L − 1] = (1 + r ) y[−1] (1 + r ) + M ∑ (1 + r )
L −1 L −1− k

k =0
L −1
= (1 + r ) y[−1] + M ∑ (1 + r )
L m

m =0

which yields:

r  y[ L − 1] − (1 + r ) y[−1]
L
y[ L − 1] − (1 + r ) y[−1] y[ L − 1] − (1 + r ) y[−1]
L L

M = = =  
1 − (1 + r ) (1 + r ) − 1
L −1 L L

∑ (1 + r )
m

m =0 1 − (1 + r )

r  y[ L − 1] − (1 + r ) y[−1]
L

M =  
(1 + r ) − 1
L

0.05 $100000 − (1.05 ) ⋅ $1000 


20

=  
(1.05) − 1
20

= $2944

8
Exercises

Problem 13.5

Compute the z-transform of each of the following signals and sketch its pole-zero plot, indicating

the ROC.

3π π
(a) x[n] = α n cos(ω 0 n + θ )u[n], α > 1. Use the values α = 1.5, ω 0 = , θ = − for the
4 4

pole-zero plot.

Answer:

x[n] =
2
α e c
1 n j ( ω 0 n +θ )
h
+ e − j (ω 0n +θ ) u[n]

1 1
= e jθ (αe jω 0 ) n u[n] + e − jθ (αe − jω 0 ) n u[n]
2 2

The z-transform:


X ( z) = ∑ x[n]z
n =−∞
−n

1 jθ ∞ 1 ∞
= e ∑ (α e jω0 z −1 ) n + e − jθ ∑ (α e − jω0 z −1 ) n , α e jω0 z −1 < 1
2 n =0 2 n =0

1 e jθ e − jθ 
=  jω0 −1
+ − jω 0 −1 
, z >α
2 1 − α e z 1−αe z 
1  e jθ − α e jθ e − jω0 z −1 + e − jθ − α e − jθ e jω0 z −1 
=  , z > α
2 (1 − α e jω0 z −1 )(1 − α e − jω0 z −1 ) 
cos θ − α cos(θ − ω 0 ) z −1
= , z >α
1 − 2α cos ω 0 z −1 + α 2 z −2

For the pole-zero plot:

9
cos θ − α cos(θ − ω 0 ) z −1
X ( z) = , z >α
1 − 2α cos ω 0 z −1 + α 2 z −2
1
− 1.5 z −1
= 2 , z > 1.5
1 −1 −2
1 + 2(1.5) z + (1.5) z 2

2
1 1 3
z( z − 1.5) z( z − )
= 2 = 2 2 , z > 1.5
3π 3π
3 j −j
z +
2
z + 2.25 ( z − 1.5e 4
)( z − 1.5e 4
)
2

Im{z}


4
Re{z}
1.5
-1 1 2.12

-1

(b) x[n] = u[n + 4] − u[n]

Answer:


X ( z) = ∑ x[n]z
n =−∞
−n

= z 4 + z 3 + z 2 + z1 , z <∞

10
For pole-zero plot:

2π 4π 6π 8π
j j j j
X ( z) = ( z − e 5
)( z − e 5
)( z − e 5
)( z − e 5
), z <∞

Im{z}


Re{z}
5
-1 1

ROC excludes ∞

-1

(c) x[n] = (−2) n u[−n + 3]

Answer:

x[n] = (−2) n u[−n + 3] = (−2)3 (−2) n −3 u[−(n − 3)]

∞ 0
X ( z ) = z −3 ∑ w[n]z − n = −8 z −3 ∑ (−2 z −1 ) n
n =−∞ n =−∞
+∞ +∞
= −8 z −3 ∑ (−2 z −1 ) − m = −8 z −3 ∑ (−0.5 z ) m
m=0 m=0
−3
−8 z −8 z −3
= , (−0.5) z < 1 = , z <2
1 − (−0.5) z 1 + 0.5 z
−16 z −4
= , z <2
1 + 2 z −1

11
Pole zero-plot:

−16
X ( z) = , z <2
z ( z + 2)
3

Im{z}

mult. 3
-2 -1 1 2 Re{z}

-1

Problem 13.6

z2
Compute the inverse z-transform of X ( z ) = , 0.2 < z < ∞ using the power series
z + 0.2

expansion method.

Problem 13.7

Consider the following so-called auto-regressive moving-average causal filter S initially at rest:

S: y[n] − 0.9 y[n − 1] + 0.81 y[n − 2] = x[n] − x[n − 2] .

12
(a) Compute the z-transform of the impulse response of the filter H ( z ) (the transfer function)

and give its region of convergence. Sketch the pole-zero plot.

Answer:

The z-transform of this filter is given by:

Y ( z) 1 − z −2 (1 − z −1 )(1 + z −1 )
H ( z) = = = π π
, z > 0.9
X ( z ) 1 − 0.9 z −1 + 0.81z −2 j
−1
−j
−1
(1 − 0.9e 3 z )(1 − 0.9e 3
z )

Pole zero plot:

Im{z}

π
3
-1 1
Re{z}

-1

(b) Compute the impulse response h[n] of the filter.

Answer:

13
π
Using the table, we identify the angles and magnitude of the poles: r = 0.9, ω 0 = , thus
3

Y ( z) 1 − z −2 B(1 − 0.45 z −1 ) + 0.7794Cz −1


H ( z) = = = A + , z > 0.9
X ( z ) 1 − 0.9 z −1 + 0.81z −2 1 − 0.9 z −1 + 0.81z −2

Letting z tend to infinity, we find that A + B = 1 . We find the remaining two equations by

multiplying on both sides by the denominator:

1 − z −2 = A − 0.9 Az −1 + 0.81Az −2 + B(1 − 0.45 z −1 ) + 0.7794Cz −1


.
⇒ −0.9 A − 0.45B + 0.7794C = 0, and 0.81A = −1

We obtain:

A = −1.235, B = 2.235, C = −0.1354 ,

so that

2.235(1 − 0.45 z −1 ) + (−0.1354)0.7794 z −1


H ( z ) = −1.235 + , z > 0.9 .
1 − 0.9 z −1 + 0.81z −2

From the table:

π  π 
h[n] = −1.235δ [n] + 2.235(0.9) n cos  n  u[n] − 0.1354(0.9)n sin  n  u[n]
3  3 

(c) Compute the frequency response of the filter. Plot its magnitude. What type of filter is it?

Low-pass, high-pass or band-pass?

Answer:

14
1 − e −2 jω
H (e jω ) =
1 − 0.9e − jω + 0.81e −2 jω
1 − e −2 jω
H (e jω ) =
1 − 0.9e − jω + 0.81e −2 jω

Magnitude:

12

10

8 H (e jω )

0
−π -3 -2 -1 0 1 2 3 π
ω

This is clearly a bandpass filter.

(d) Compute and sketch the unit step response s[n] of the filter.

Answer:

15
1 1 + z −1 A(1 − 0.45 z −1 ) + 0.7794 Bz −1
S ( z) = H ( z) = = , z > 0.9
1 − z −1 1 − 0.9 z −1 + 0.81z −2 1 − 0.9 z −1 + 0.81z −2
(1 − 0.45 z −1 ) + 0.7794(1.86) z −1
= , z > 0.9
1 − 0.9 z −1 + 0.81z −2

From the table:

π  π 
s[n] = (0.9) n cos  n  u[n] + 1.86(0.9) n sin  n  u[n]
3  3 

Problem 13.8

z −3 − 1.2 z −4
Consider a DLTI system with transfer function H ( z ) = .
( z − 0.8)( z + 0.8)

(a) Sketch the pole-zero plot of the system.

(b) Find the ROC that makes this system stable.

(c) Is the system causal with the ROC that you found in (b)? Justify your answer.

(d) Suppose that H (e jω ) is bounded for all frequencies. Find the response of the system y[n] to

the input x[n] = u[n] .

Problem 13.9

1
Compute the inverse z-transform x[n] of X ( z ) = , z > 0.4 using the method of long
z ( z + 0.4)

division and sketch it.

Answer:

16
1 z −2
X ( z) = = , 0.4 < z
z ( z + 0.4) (1 + 0.4 z −1 )

Long division yields:

z −2 − 0.4 z −3 + 0.16 z −4 − 0.064 z −5 …


1 + 0.4 z −1 z −2
−( z −2 + 0.4 z −3 )
− 0.4 z −3
−(−0.4 z −3 − 0.16 z −4 )
0.16 z −4
−(0.16 z −4 + 0.064 z −5 )
− 0.064 z −5

Note that the resulting power series converges because the ROC implies 0.4 z −1 < 1 . The time-

domain signal is:

x[n] = δ [n − 2] − 0.4δ [n − 3] + (0.4) 2 δ [n − 4] − (0.4)3 δ [n − 5] + …


= (−0.4) n − 2 u[n − 2]

This signal is plotted below.

1.2
1
0.8
0.6
0.4
0.2
0
-5 -0.2 0 5 10 15 20 25 30
-0.4
-0.6

17
Problem 13.10

Sketch the pole-zero plot and compute the impulse response h[n] of the stable system with

2000 z 3 + 1450 z 2 + 135 z


transfer function: H ( z ) = .
(100 z 2 − 81)(5 z + 4)

Specify its ROC. Specify whether the system is causal or not.

Problem 13.11

z −1
Consider the DLTI system with transfer function H ( z ) = −1
.
z ( z + 0.4)

(a) Sketch the pole-zero plot of the system.

z −1 z2 − z
Answer: H ( z ) = =
z −1 ( z + 0.4) ( z + 0.4)

poles at –0.4 and at infinity, zeros at 0 and 1.

Im{z}

-0.4
Re{z}
-1
1

-1

18
(b) Find the ROC that makes this system stable.

Answer:

For stability, the ROC must include the unit circle, so it is z > 0.4 , excluding infinity.

(c) Is the system causal with the ROC that you found in (b)? Justify your answer.

Answer:

For the system to be causal, we must have lim H ( z ) < ∞ , which is not the case here. Hence the
z →∞

system is not causal.

(d) Suppose that H (e jω ) is bounded for all frequencies. Calculate the response of the system

y[n] to the input x[n] = u[n] .

Answer:

1
This means that the ROC is chosen as z > 0.4 . We have X ( z ) = , z > 1 , and
1 − z −1

z 2 ( z − 1) z2 z
Y ( z ) = H ( z )U ( z ) = = = , 0.4 < z < ∞
( z + 0.4)( z − 1) ( z + 0.4) (1 + 0.4 z −1 )

thus, y[n ] = ( −0.4)n +1 u[n + 1] .

19

You might also like