Solutions for Digital Signal Processing 5th Edition by Proakis
Solutions for Digital Signal Processing 5th Edition by Proakis
Proakis
CLICK HERE TO ACCESS COMPLETE Solutions
Solutions
CLICK HERE TO ACCESS THE COMPLETE Solutions
SOLUTIONS MANUAL
John G. Proakis
Northeastern University
Dimitris G. Manolakis
MIT Lincoln Laboratory
2
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
Chapter 1
1.1
(a) One dimensional, multichannel, discrete time, and digital.
(b) Multi dimensional, single channel, continuous-time, analog.
(c) One dimensional, single channel, continuous-time, analog.
(d) One dimensional, single channel, continuous-time, analog.
(e) One dimensional, multichannel, discrete-time, digital.
3
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
4
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
Chapter 2
2.1
(a)
1 2
x(n) = . . . 0, , , 1, 1, 1, 1, 0, . . .
3 3 ↑
. Refer to fig 2.1-1.
(b) After folding s(n) we have
1 1 1 1
2/3
1/3
-3 -2 -1 0 1 2 3 4
Figure 2.1-1:
2 1
x(−n) = . . . 0, 1, 1, 1, 1, , , 0, . . . .
↑ 3 3
5
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
(c)
2 1
x(−n + 4) = . . . 0, 1, 1, 1, 1, , , 0, . . .
↑ 3 3
(d) To obtain x(−n + k), first we fold x(n). This yields x(−n). Then, we shift x(−n) by k
samples to the right if k > 0, or k samples to the left if k < 0.
(e) Yes.
1 2
x(n) = δ(n − 2) + δ(n + 1) + u(n) − u(n − 4)
3 3
2.2
1 1
x(n) = . . . 0, 1, 1, 1, 1, , , 0, . . .
↑ 2 2
(a)
1 1
x(n − 2) = . . . 0, 0, 1, 1, 1, 1, , , 0, . . .
↑ 2 2
(b) ⎧ ⎫
⎨ 1 1 ⎬
x(4 − n) = . . . 0, , , 1, 1, 1, 1, 0, . . .
⎩ 2 2 ⎭
↑
(see 2.1(d))
(c)
1 1
x(n + 2) = . . . 0, 1, 1, 1, 1, , , 0, . . .
↑ 2 2
(d)
x(n)u(2 − n) = . . . 0, 1, 1, 1, 1, 0, 0, . . .
↑
(e)
x(n − 1)δ(n − 3) = . . . 0, 0, 1, 0, . . .
↑
(f)
(g)
x(n) + x(−n)
xe (n) = ,
2
1 1
x(−n) = . . . 0, , , 1, 1, 1, 1, 0, . . .
2 2 ↑
1 1 1 1 1 1
= . . . 0, , , , 1, 1, 1, , , , 0, . . .
4 4 2 2 4 4
6
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
(h)
x(n) − x(−n)
xo (n) =
2
1 1 1 1 1 1
= . . . 0, − , − , − , 0, 0, 0, , , , 0, . . .
4 4 2 2 4 4
2.3
(a)
⎧
⎨ 0, n<0
u(n) − u(n − 1) = δ(n) = 1, n=0
⎩
0, n>0
(b)
n
0, n<0
δ(k) = u(n) =
1, n≥0
k=−∞
∞
0, n<0
δ(n − k) =
1, n≥0
k=0
2.4
Let
1
xe (n) = [x(n) + x(−n)],
2
1
xo (n) = [x(n) − x(−n)].
2
Since
xe (−n) = xe (n)
and
xo (−n) = −xo (n),
it follows that
x(n) = xe (n) + xo (n).
we have
xe (n) = 4, 4, 4, 4, 4
↑
and
xo (n) = −2, −1, 0, 1, 2 .
↑
7
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
2.5
First, we prove that
∞
xe (n)xo (n) = 0
n=−∞
∞ ∞
xe (n)xo (n) = xe (−m)xo (−m)
n=−∞ m=−∞
∞
= − xe (m)xo (m)
m=−∞
∞
= − xe (n)xo (n)
n=−∞
∞
= xe (n)xo (n)
n=−∞
= 0
Then,
∞ ∞
2 2
x (n) = [xe (n) + xo (n)]
n=−∞ n=−∞
∞ ∞ ∞
= x2e (n) + x2o (n) + 2xe (n)xo (n)
n=−∞ n=−∞ n=−∞
= Ee + Eo
2.6
(a) No, the system is time variant. Proof: If
(b) (1)
x(n) = 0, 1, 1, 1, 1, 0, . . .
↑
(2)
y(n) = x(n2 ) = . . . , 0, 1, 1, 1, 0, . . .
↑
(3)
y(n − 2) = . . . , 0, 0, 1, 1, 1, 0, . . .
↑
8
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
(4)
x(n − 2) = . . . , 0, 0, 1, 1, 1, 1, 0, . . .
↑
(5)
y2 (n) = T [x(n − 2)] = . . . , 0, 1, 0, 0, 0, 1, 0, . . .
↑
(6)
y2 (n) = y(n − 2) ⇒ system is time variant.
(c) (1)
x(n) = 1, 1, 1, 1
↑
(2)
y(n) = 1, 0, 0, 0, 0, −1
↑
(3)
y(n − 2) = 0, 0, 1, 0, 0, 0, 0, −1
↑
(4)
x(n − 2) = 0, 0, 1, 1, 1, 1, 1
↑
(5)
y2 (n) = 0, 0, 1, 0, 0, 0, 0, −1
↑
(6)
y2 (n) = y(n − 2).
The system is time invariant, but this example alone does not constitute a proof.
(d) (1)
y(n) = nx(n),
x(n) = . . . , 0, 1, 1, 1, 1, 0, . . .
↑
(2)
y(n) = . . . , 0, 1, 2, 3, . . .
↑
(3)
y(n − 2) = . . . , 0, 0, 0, 1, 2, 3, . . .
↑
(4)
x(n − 2) = . . . , 0, 0, 0, 1, 1, 1, 1, . . .
↑
9
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
(5)
y2 (n) = T [x(n − 2)] = {. . . , 0, 0, 2, 3, 4, 5, . . .}
(6)
y2 (n) = y(n − 2) ⇒ the system is time variant.
2.7
(a) Static, nonlinear, time invariant, causal, stable.
(b) Dynamic, linear, time invariant, noncausal and unstable. The latter is easily proved.
For the bounded input x(k) = u(k), the output becomes
n+1
0, n < −1
y(n) = u(k) =
n + 2, n ≥ −1
k=−∞
2.8
(a) True. If
v1 (n) = T1 [x1 (n)] and
v2 (n) = T1 [x2 (n)],
then
α1 x1 (n) + α2 x2 (n)
yields
α1 v1 (n) + α2 v2 (n)
by the linearity property of T1 . Similarly, if
10
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
11
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
2.9
(a)
n
y(n) = h(k)x(n − k), x(n) = 0, n < 0
k=−∞
n+N n+N
y(n + N ) = h(k)x(n + N − k) = h(k)x(n − k)
k=−∞ k=−∞
n n+N
= h(k)x(n − k) + h(k)x(n − k)
k=−∞ k=n+1
n+N
= y(n) + h(k)x(n − k)
k=n+1
Then,
∞ ∞
y(n) = a h(k)u(n − k) + h(k)xo (n − k)
k=0 k=0
n
= a h(k) + yo (n)
k=0
clearly, n x2o (n) < ∞ ⇒ n yo2 (n) < ∞ (from (c) below) Hence,
y(n) = h(k)x(n − k)
k
∞ ∞ 2
y 2 (n) = h(k)x(n − k)
−∞ −∞ k
But
x(n − k)x(n − l) ≤ x2 (n) = Ex .
n n
12
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
Therefore,
y 2 (n) ≤ Ex |h(k)| |h(l)|.
n k l
For a BIBO stable system,
|h(k)| < M.
k
Hence,
Ey ≤ M 2 Ex , so that
Ey < 0 if Ex < 0.
2.10
The system is nonlinear. This is evident from observation of the pairs
x3 (n) ↔ y3 (n) and x2 (n) ↔ y2 (n).
If the system were linear, y2 (n) would be of the form
y2 (n) = {3, 6, 3}
because the system is time-invariant. However, this is not the case.
2.11
since
x1 (n) + x2 (n) = δ(n)
and the system is linear, the impulse response of the system is
y1 (n) + y2 (n) = 0, 3, −1, 2, 1 .
↑
2.12
(a) Any weighted linear combination of the signals xi (n), i = 1, 2, . . . , N .
(b) Any xi (n − k), where k is any integer and i = 1, 2, . . . , N .
2.13
A system is BIBO stable if and only if a bounded input produces a bounded output.
y(n) = h(k)x(n − k)
k
≤ Mx |h(k)|
k
13
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
where |x(n − k)| ≤ Mx . Therefore, |y(n)| < ∞ for all n, if and only if
|h(k)| < ∞.
k
2.14
(a) A system is causal ⇔ the output becomes nonzero after the input becomes non-zero. Hence,
(b)
n
y(n) = h(k)x(n − k), where x(n) = 0 for n < 0.
−∞
n
y(n) = h(k)x(n − k), and hence, y(n) = 0 for n < 0.
0
n
h(k)x(n − k) ⇒ h(k) = 0, k < 0.
−∞
2.15
(a)
N
For a = 1, an = N −M +1
n=M
N
for a = 1, an = aM + aM +1 + . . . + aN
n=M
N
(1 − a) an = aM + aM +1 − aM +1 + . . . + aN − aN − aN +1
n=M
= aM − aN +1
∞
1
an = , |a| < 1.
n=0
1−a
14
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
2.16
(a)
y(n) = h(k)x(n − k)
k
∞
y(n) = h(k)x(n − k) = h(k) x(n − k)
n n k k n=−∞
= h(k) x(n)
k n
(b) (1)
y(n) = h(n) ∗ x(n) = {1, 3, 7, 7, 7, 6, 4}
(2)
y(n) = {1, 4, 2, −4, 1}
(3)
1 1 3 5
y(n) = 0, , − , , −2, 0, − , −2
2 2 2 2
(4)
y(n) = {1, 2, 3, 4, 5}
(5)
y(n) = {0, 0, 1, −1, 2, 2, 1, 3}
15
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
2.17
(a)
x(n) = 1, 1, 1, 1
↑
h(n) = 6, 5, 4, 3, 2, 1
↑
n
y(n) = x(k)h(n − k)
k=0
y(0) = x(0)h(0) = 6,
y(1) = x(0)h(1) + x(1)h(0) = 11
y(2) = x(0)h(2) + x(1)h(1) + x(2)h(0) = 15
y(3) = x(0)h(3) + x(1)h(2) + x(2)h(1) + x(3)h(0) = 18
y(4) = x(0)h(4) + x(1)h(3) + x(2)h(2) + x(3)h(1) + x(4)h(0) = 14
y(5) = x(0)h(5) + x(1)h(4) + x(2)h(3) + x(3)h(2) + x(4)h(1) + x(5)h(0) = 10
y(6) = x(1)h(5) + x(2)h(4) + x(3)h(2) = 6
y(7) = x(2)h(5) + x(3)h(4) = 3
y(8) = x(3)h(5) = 1
y(n) = 0, n ≥ 9
y(n) = 6, 11, 15, 18, 14, 10, 6, 3, 1
↑
2.18
(a)
1 2 4 5
x(n) = 0, , , 1, , , 2
↑ 3 3 3 3
h(n) = 1, 1, 1, 1, 1
↑
y(n) = x(n) ∗ h(n)
1 10 20 11
= , 1, 2, , 5, , 6, 5, , 2
3 ↑ 3 3 3
16
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
(b)
1
x(n) =n[u(n) − u(n − 7)],
3
h(n) = u(n + 2) − u(n − 3)
y(n) = x(n) ∗ h(n)
1
= n[u(n) − u(n − 7)] ∗ [u(n + 2) − u(n − 3)]
3
1
= n[u(n) ∗ u(n + 2) − u(n) ∗ u(n − 3) − u(n − 7) ∗ u(n + 2) + u(n − 7) ∗ u(n − 3)]
3
1 10 20
y(n) = δ(n + 1) + δ(n) + 2δ(n − 1) + δ(n − 2) + 5δ(n − 3) + δ(n − 4) + 6δ(n − 5)
3 3 3
11
+5δ(n − 6) + 5δ(n − 6) + δ(n − 7) + δ(n − 8)
3
2.19
4
y(n) = h(k)x(n − k),
k=0
−3 −2 −1 5
x(n) = α ,α ,α , 1, α, . . . , α
↑
h(n) = 1, 1, 1, 1, 1
↑
4
y(n) = x(n − k), −3 ≤ n ≤ 9
k=0
= 0, otherwise.
Therefore,
y(−3) = α−3 ,
y(−2) = x(−3) + x(−2) = α−3 + α−2 ,
y(−1) = α−3 + α−2 + α−1 ,
y(0) = α−3 + α−2 + α−1 + 1
y(1) = α−3 + α−2 + α−1 + 1 + α,
y(2) = α−3 + α−2 + α−1 + 1 + α + α2
y(3) = α−1 + 1 + α + α2 + α3 ,
y(4) = α4 + α3 + α2 + α + 1
y(5) = α + α2 + α 3 + α 4 + α 5 ,
y(6) = α2 + α3 + α4 + α5
y(7) = α3 + α4 + α5 ,
y(8) = α4 + α5 ,
y(9) = α5
2.20
(a) 131 x 122 = 15982
(b) {1↑ , 3, 1} ∗ {1↑ , 2, 2} = {1, 5, 9, 8, 2}
17
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
(c) (1 + 3z + z 2 )(1 + 2z + 2z 2 ) = 1 + 5z + 9z 2 + 8z 3 + 2z 4
(d) 1.31 x 12.2 = 15.982.
(e) These are different ways to perform convolution.
2.21
(a)
n n
y(n) = ak u(k)bn−k u(n − k) = bn (ab−1 )k
k=0 k=0
bn+1 −an+1
u(n), a = b
y(n) = n
b−a
b (n + 1)u(n), a=b
(b)
x(n) =
1, 2, 1, 1
↑
h(n) = 1, −1, 0, 0, 1, 1
↑
y(n) = 1, 1, − 1, 0, 0, 3, 3, 2, 1
↑
(c)
x(n) = 1, 1, 1, 1, 1, 0, −1 ,
↑
h(n) = 1, 2, 3, 2, 1
↑
y(n) = 1, 3, 6, 8, 9, 8, 5, 1, −2, −2, −1
↑
(d)
x(n) = 1, 1, 1, 1, 1 ,
↑
h (n) = 0, 0, 1, 1, 1, 1, 1, 1
↑
18
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
2.22
(a)
(b)
1
y3 (n) = y1 (n), because
2
1
h3 (n) = h1 (n)
2
1
y4 (n) = y2 (n), because
4
1
h4 (n) = h2 (n)
4
(c) y2 (n) and y4 (n) are smoother than y1 (n), but y4 (n) will appear even smoother because of the
smaller scale factor.
(d) System 4 results in a smoother output. The negative value of h5 (0) is responsible for the
non-smooth characteristics of y5 (n)
(e)
1 3 1 1 1 1 3 9
y6 (n) = , , −1, , 1, −1, 0, , , 1, − , , −
2 2 2 2 2 2 2 2
2.23
We can express the unit sample in terms of the unit step function as δ(n) = u(n) − u(n − 1).
Then,
19
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
2.24
If
y1 (n) = ny1 (n − 1) + x1 (n) and
y2 (n) = ny2 (n − 1) + x2 (n) then
x(n) = ax1 (n) + bx2 (n)
produces the output
y(n) = ny(n − 1) + x(n), where
y(n) = ay1 (n) + by2 (n).
Hence, the system is linear. If the input is x(n − 1), we have
y(n − 1) = (n − 1)y(n − 2) + x(n − 1). But
y(n − 1) = ny(n − 2) + x(n − 1).
Hence, the system is time variant. If x(n) = u(n), then |x(n)| ≤ 1. But for this bounded input,
the output is
y(0) = 1, y(1) = 1 + 1 = 2, y(2) = 2x2 + 1 = 5, . . .
which is unbounded. Hence, the system is unstable.
2.25
(a)
δ(n) = γ(n) − aγ(n − 1) and,
δ(n − k) = γ(n − k) − aγ(n − k − 1). Then,
∞
x(n) = x(k)δ(n − k)
k=−∞
∞
= x(k)[γ(n − k) − aγ(n − k − 1)]
k=−∞
∞ ∞
x(n) = x(k)γ(n − k) − a x(k)γ(n − k − 1)
k=−∞ k=−∞
∞ ∞
x(n) = x(k)γ(n − k) − a x(k − 1)γ(n − k)
k=−∞ k=−∞
∞
= [x(k) − ax(k − 1)]γ(n − k)
k=−∞
Thus, ck = x(k) − ax(k − 1)
(b)
y(n) = T [x(n)]
∞
= T[ ck γ(n − k)]
k=−∞
∞
= ck T [γ(n − k)]
k=−∞
∞
= ck g(n − k)
k=−∞
20
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
(c)
h(n) = T [δ(n)]
= T [γ(n) − aγ(n − 1)]
= g(n) − ag(n − 1)
2.26
With x(n) = 0, we have
4
y(n − 1) + y(n − 1) = 0
3
4
y(−1) = − y(−2)
3
4
y(0) = (− )2 y(−2)
3
4
y(1) = (− )3 y(−2)
3
..
.
4
y(k) = (− )k+2 y(−2) ← zero-input response.
3
2.27
2.28
(a) L1 = N1 + M1 and L2 = N2 + M2
(b) Partial overlap from left:
low N1 + M1 high N1 + M2 − 1
low N2 + M1 + 1 high N2 + M2
21
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
(c)
x(n) = 1, 1, 1, 1, 1, 1, 1
↑
h(n) = 2, 2, 2, 2
↑
N1 = −2,
N2 = 4,
M1 = −1,
M2 = 2,
2.29
(a)
y(n) − 0.6y(n − 1) + 0.08y(n − 2) = x(n).
The characteristic equation is
λ2 − 0.6λ + 0.08 = 0.
λ = 0.2, 0.4 Hence,
1n 2n
yh (n) = c1 + c2 .
5 5
With x(n) = δ(n), the initial conditions are
y(0) = 1,
y(1) − 0.6y(0) = 0 ⇒ y(1) = 0.6.
Hence,c1 + c2 = 1 and
1 2
c1 + = 0.6 ⇒ c1 = −1, c2 = 3.
5 5
1 n 2 n
Therefore h(n) = −( ) + 2( ) u(n)
5 5
The step response is
n
s(n) = h(n − k), n ≥ 0
k=0
n
2 1
= 2( )n−k − ( )n−k
5 5
k=0
n+1 n+1
1 2 1 1
= ( −1 − ( − 1 u(n)
0.12 5 0.16 5
(b)
y(n) − 0.7y(n − 1) + 0.1y(n − 2) = 2x(n) − x(n − 2).
The characteristic equation is
λ2 − 0.7λ + 0.1 = 0.
22
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
λ = 12 , 15 Hence,
1n 1n
yh (n) = c1 + c2 .
2 5
y(0) = 2,
y(1) − 0.7y(0) = 0 ⇒ y(1) = 1.4.
Hence,c1 + c2 = 2 and
1 1 7
c1 + = 1.4 =
2 5 5
2 14
⇒ c1 + c2 = .
5 5
These equations yield
10 4
c1 = , c2 = − .
3 3
10 1 n 4 1 n
h(n) = ( ) − ( ) u(n)
3 2 3 5
n
s(n) = h(n − k),
k=0
n n
10 1 4 1
= ( )n−k − ( )n−k
3 2 3 5
k=0 k=0
n n
10 1 n 4 1
= ( ) 2k − ( )n 5k
3 2 3 5
k=0 k=0
10 1 n n+1 1 1n
= ( (2 − 1)u(n) − ( (5n+1 − 1)u(n)
3 2 3 5
2.30
1 1 1 1
h(n) = 1, , , ,
↑ 2 4 8 16
y(n) = 1, 2, 2.5, 3, 3, 3, 2, 1, 0
↑
x(0)h(0) = y(0) ⇒ x(0) = 1
1 3
x(0) + x(1) = y(1) ⇒ x(1) =
2 2
23
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
2.31
(a) h(n) = h1 (n) ∗ [h2 (n) − h3 (n) ∗ h4 (n)]
(b)
(c)
x(n) = 1, 0, 0, 3, 0, −4
↑
1 5 25 13
y(n) = , , 2, , , 5, 2, 0, 0, . . .
2 4 ↑ 4 2
2.32
First, we determine
an+6 − 1 an−9 − 1
s(n + 5) − s(n − 10) = u(n + 5) − u(n − 10)
a−1 a−1
24
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
2.33
2.34
∞ ∞
|h(n)| = |a|n
n=−∞ n=0,neven
∞
= |a|
2n
n=0
1
=
1 − |a|2
2.35
h(n) = an u(n). The response to u(n) is
∞
y1 (n) = u(k)h(n − k)
k=0
n
= an−k
k=0
n
= an a−k
k=0
1 − an+1
= u(n)
1−a
Then, y(n) = y1 (n) − y1 (n − 10)
1
= (1 − an+1 )u(n) − (1 − an−9 )u(n − 10)
1−a
2.36
We may use the result in problem 2.32 with a = 12 . Thus,
1 1
y(n) = 2 1 − ( )n+1 u(n) − 2 1 − ( )n−9 u(n − 10)
2 2
25
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
2.37
(a)
∞
y(n) = h(k)x(n − k)
k=−∞
n
1
= ( )k 2n−k
2
k=0
n
1
= 2n ( )k
4
k=0
1 n+1 4
= 2 1−( )
n
( )
4 3
2 n+1 1 n+1
= 2 −( ) u(n)
3 2
(b)
∞
y(n) = h(k)x(n − k)
k=−∞
∞
= h(k)
k=0
∞
1
= ( )k = 2, n < 0
2
k=0
∞
y(n) = h(k)
k=n
∞
1
= ( )k
2
k=n
∞ n−1
1 1
= ( )k − ( )k
2 2
k=0 k=0
1 − ( 12 )n
= 2−( 1 )
2
1
= 2( )n , n ≥ 0.
2
2.38
(a)
(b) No.
26
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
2.39
(a) x(n)δ(n − n0 ) = x(n0 ). Thus, only the value of x(n) at n = n0 is of interest.
x(n) ∗ δ(n − n0 ) = x(n − n0 ). Thus, we obtain the shifted version of the sequence x(n).
(b)
∞
y(n) = h(k)x(n − k)
k=−∞
= h(n) ∗ x(n)
Linearity:x1 (n) → y1 (n) = h(n) ∗ x1 (n)
x2 (n) → y2 (n) = h(n) ∗ x2 (n)
Then x(n) = αx1 (n) + βx2 (n) → y(n) = h(n) ∗ x(n)
y(n) = h(n) ∗ [αx1 (n) + βx2 (n)]
= αh(n) ∗ x1 (n) + βh(n) ∗ x2 (n)
= αy1 (n) + βy2 (n)
Time Invariance:
x(n) → y(n) = h(n) ∗ x(n)
x(n − n0 ) → y1 (n) = h(n) ∗ x(n − n0 )
= h(k)x(n − n0 − k)
k
= y(n − n0 )
2.40
(a) s(n) = −a1 s(n − 1) − a2 s(n − 2) − . . . − aN s(n − N ) + b0 v(n). Refer to fig 2.40-1.
(b) v(n) = b10 [s(n) + a1 s(n − 1) + a2 s(n − 2) + . . . + aN s(n − N )] . Refer to fig 2.40-2
27
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
v(n) s(n)
b0 +
z-1
+ -a 1
z-1
+ -a 2
+
z -1
-a
N
Figure 2.40-1:
s(n) v(n)
+ 1/b0
z -1
a1 +
z -1
a2 +
z-1
aN
Figure 2.40-2:
28
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
2.41
1
y(n) =− y(n − 1) + x(n) + 2x(n − 2)
2
1
y(−2) = − y(−3) + x(−2) + 2x(−4) = 1
2
1 3
y(−1) = − y(−2) + x(−1) + 2x(−3) =
2 2
1 17
y(0) = − y(−1) + 2x(−2) + x(0) =
2 4
1 47
y(1) = − y(0) + x(1) + 2x(−1) = , etc
2 8
2.42
x(n) y(n)
+ 1/2 +
z-1
+ -1/2
z-1
z -1
z -1
z -1
3/2
Figure 2.42-1:
29
Copyright © 2022 Pearson Education, Inc.
CLICK HERE TO ACCESS THE COMPLETE Solutions
x(n) y(n)
+ 1/2 +
z-1
+ -1/2
z-1
z -1
z -1
z -1
3/2
Figure 2.42-2:
2.43
(a)
x(n) = 1, 0, 0, . . .
↑
1
y(n) =y(n − 1) + x(n) + x(n − 1)
2
y(0) = x(0) = 1,
1 3
y(1) = y(0) + x(1) + x(0) =
2 2
1 3
y(2) = y(1) + x(2) + x(1) = . Thus, we obtain
2
4
3 3 3 3 3
y(n) = 1, , , , , , . . .
2 4 8 16 32
5 13 29 61
y(n) = 1, , , , , . . .
2 4 8 16
30
Copyright © 2022 Pearson Education, Inc.