Digital Signal Processing Solutions Manual

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 431 [warning: Documents this large are best viewed by clicking the View PDF Link!]

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.
1.2
(a) f=0.01π
2π=1
200 periodic with Np= 200.
(b) f=30π
105 (1
2π) = 1
7periodic with Np= 7.
(c) f=3π
2π=3
2periodic with Np= 2.
(d) f=3
2πnon-periodic.
(e) f=62π
10 (1
2π) = 31
10 periodic with Np= 10.
1.3
(a) Periodic with period Tp=2π
5.
(b) f=5
2πnon-periodic.
(c) f=1
12πnon-periodic.
(d) cos(n
8) is non-periodic; cos(πn
8) is periodic; Their product is non-periodic.
(e) cos(πn
2) is periodic with period Np=4
sin(πn
8) is periodic with period Np=16
cos(πn
4+π
3) is periodic with period Np=8
Therefore, x(n) is periodic with period Np=16. (16 is the least common multiple of 4,8,16).
1.4
(a) w=2πk
Nimplies that f=k
N. Let
α= GCD of (k, N),i.e.,
k=kα, N =Nα.
Then,
f=k
N,which implies that
N=N
α.
3
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b)
N= 7
k= 01234567
GCD(k, N) = 71111117
Np= 17777771
(c)
N= 16
k= 0123456789101112 ... 16
GCD(k, N) = 16121412181214 ... 16
Np= 1 6 8 16 4 16 8 16 2 16 8 16 4 ... 1
1.5
(a) Refer to fig 1.5-1
(b)
0 5 10 15 20 25 30
−3
−2
−1
0
1
2
3
−−−> t (ms)
−−−> xa(t)
Figure 1.5-1:
x(n) = xa(nT )
=xa(n/Fs)
= 3sin(πn/3)
f=1
2π(π
3)
=1
6, Np= 6
4
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
010 20 t (ms)
3
-3
Figure 1.5-2:
(c)Refer to fig 1.5-2
x(n) = n0,3
2,3
2,0,3
2,3
2o, Np= 6.
(d) Yes.
x(1) = 3 = 3sin(100π
Fs
)Fs= 200 samples/sec.
1.6
(a)
x(n) = Acos(2πF0n/Fs+θ)
=Acos(2π(T/Tp)n+θ)
But T/Tp=fx(n) is periodic if f is rational.
(b) If x(n) is periodic, then f=k/N where N is the period. Then,
Td= ( k
fT) = k(Tp
T)T=kTp.
Thus, it takes k periods (kTp) of the analog signal to make 1 period (Td) of the discrete signal.
(c) Td=kTpNT =kTpf=k/N =T/Tpf is rational x(n) is periodic.
1.7
(a) Fmax = 10kHz Fs2Fmax = 20kHz.
(b) For Fs= 8kHz, Ffold =Fs/2 = 4kHz 5kHz will alias to 3kHz.
(c) F=9kHz will alias to 1kHz.
1.8
(a) Fmax = 100kHz, Fs2Fmax = 200Hz.
(b) Ffold =Fs
2= 125Hz.
5
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
1.9
(a) Fmax = 360Hz, FN= 2Fmax = 720Hz.
(b) Ffold =Fs
2= 300Hz.
(c)
x(n) = xa(nT )
=xa(n/Fs)
=sin(480πn/600) + 3sin(720πn/600)
x(n) = sin(4πn/5) 3sin(4πn/5)
=2sin(4πn/5).
Therefore, w= 4π/5.
(d) ya(t) = x(Fst) = 2sin(480πt).
1.10
(a)
Number of bits/sample = log21024 = 10.
Fs=[10,000 bits/sec]
[10 bits/sample]
= 1000 samples/sec.
Ffold = 500Hz.
(b)
Fmax =1800π
2π
= 900Hz
FN= 2Fmax = 1800Hz.
(c)
f1=600π
2π(1
Fs
)
= 0.3;
f2=1800π
2π(1
Fs
)
= 0.9;
But f2= 0.9>0.5f2= 0.1.
Hence, x(n) = 3cos[(2π)(0.3)n] + 2cos[(2π)(0.1)n]
(d) =xmaxxmin
m1=5(5)
1023 =10
1023 .
1.11
x(n) = xa(nT )
= 3cos 100πn
200 + 2sin 250πn
200
6
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
= 3cos πn
22sin 3πn
4
T=1
1000 ya(t) = x(t/T )
= 3cos π1000t
22sin 3π1000t
4
ya(t) = 3cos(500πt)2sin(750πt)
1.12
(a) For Fs= 300Hz,
x(n) = 3cos πn
6+ 10sin(πn)cos πn
3
= 3cos πn
63cos πn
3
(b) xr(t) = 3cos(10000πt/6) cos(10000πt/3)
1.13
(a)
Range = xmax xmin = 12.7.
m= 1 + range
= 127 + 1 = 128 log2(128)
= 7 bits.
(b) m= 1 + 127
0.02 = 636 log2(636) 10 bit A/D.
1.14
R= (20samples
sec )×(8 bits
sample)
= 160bits
sec
Ffold =Fs
2= 10Hz.
Resolution = 1volt
281
= 0.004.
1.15
(a) Refer to fig 1.15-1. With a sampling frequency of 5kHz, the maximum frequency that can be
represented is 2.5kHz. Therefore, a frequency of 4.5kHz is aliased to 500Hz and the frequency of
3kHz is aliased to 2kHz.
7
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 50 100
−1
−0.5
0
0.5
1Fs = 5KHz, F0=500Hz
0 50 100
−1
−0.5
0
0.5
1Fs = 5KHz, F0=2000Hz
0 50 100
−1
−0.5
0
0.5
1Fs = 5KHz, F0=3000Hz
0 50 100
−1
−0.5
0
0.5
1Fs = 5KHz, F0=4500Hz
Figure 1.15-1:
(b) Refer to fig 1.15-2. y(n) is a sinusoidal signal. By taking the even numbered samples, the
sampling frequency is reduced to half i.e., 25kHz which is still greater than the nyquist rate. The
frequency of the downsampled signal is 2kHz.
1.16
(a) for levels = 64, using truncation refer to fig 1.16-1.
for levels = 128, using truncation refer to fig 1.16-2.
for levels = 256, using truncation refer to fig 1.16-3.
8
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Figure 1.15-2:
0 50 100 150 200
−1
−0.5
0
0.5
1
levels = 64, using truncation, SQNR = 31.3341dB
−−> n
−−> x(n)
0 50 100 150 200
−1
−0.5
0
0.5
1
−−> n
−−> xq(n)
0 50 100 150 200
−0.04
−0.03
−0.02
−0.01
0
−−> n
−−> e(n)
Figure 1.16-1:
9
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 50 100 150 200
−1
−0.5
0
0.5
1
levels = 128, using truncation, SQNR = 37.359dB
−−> n
−−> x(n)
0 50 100 150 200
−1
−0.5
0
0.5
1
−−> n
−−> xq(n)
0 50 100 150 200
−0.02
−0.015
−0.01
−0.005
0
−−> n
−−> e(n)
Figure 1.16-2:
0 50 100 150 200
−1
−0.5
0
0.5
1
levels = 256, using truncation, SQNR=43.7739dB
−−> n
−−> x(n)
0 50 100 150 200
−1
−0.5
0
0.5
1
−−> n
−−> xq(n)
0 50 100 150 200
−8
−6
−4
−2
0x 10−3
−−> n
−−> e(n)
Figure 1.16-3:
10
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b) for levels = 64, using rounding refer to fig 1.16-4.
for levels = 128, using rounding refer to fig 1.16-5.
for levels = 256, using rounding refer to fig 1.16-6.
0 50 100 150 200
−1
−0.5
0
0.5
1
levels = 64, using rounding, SQNR=32.754dB
−−> n
−−> x(n)
0 50 100 150 200
−1
−0.5
0
0.5
1
−−> n
−−> xq(n)
0 50 100 150 200
−0.04
−0.02
0
0.02
0.04
−−> n
−−> e(n)
Figure 1.16-4:
11
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 50 100 150 200
−1
−0.5
0
0.5
1
levels = 128, using rounding, SQNR=39.2008dB
−−> n
−−> x(n)
0 50 100 150 200
−1
−0.5
0
0.5
1
−−> n
−−> xq(n)
0 50 100 150 200
−0.02
−0.01
0
0.01
0.02
−−> n
−−> e(n)
Figure 1.16-5:
0 50 100 150 200
−1
−0.5
0
0.5
1
levels = 256, using rounding, SQNR=44.0353dB
−−> n
−−> x(n)
0 50 100 150 200
−1
−0.5
0
0.5
1
−−> n
−−> xq(n)
0 50 100 150 200
−0.01
−0.005
0
0.005
0.01
−−> n
−−> e(n)
Figure 1.16-6:
12
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(c) The sqnr with rounding is greater than with truncation. But the sqnr improves as the number
of quantization levels are increased.
(d)
levels 64 128 256
theoretical sqnr 43.9000 49.9200 55.9400
sqnr with truncation 31.3341 37.359 43.7739
sqnr with rounding 32.754 39.2008 44.0353
The theoretical sqnr is given in the table above. It can be seen that theoretical sqnr is much
higher than those obtained by simulations. The decrease in the sqnr is because of the truncation
and rounding.
13
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
14
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Chapter 2
2.1
(a)
x(n) = ...0,1
3,2
3,1
,1,1,1,0,...
. Refer to fig 2.1-1.
(b) After folding s(n) we have
-3 -2 -1 01234
1111
1/3
2/3
Figure 2.1-1:
x(n) = ...0,1,1,1,1
,2
3,1
3,0,....
After delaying the folded signal by 4 samples, we have
x(n+ 4) = ...0,0
,1,1,1,1,2
3,1
3,0,....
On the other hand, if we delay x(n) by 4 samples we have
x(n4) = ...0
,0,1
3,2
3,1,1,1,1,0,....
Now, if we fold x(n4) we have
x(n4) = ...0,1,1,1,1,2
3,1
3,0,0
,...
15
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(c)
x(n+ 4) = ...0
,1,1,1,1,2
3,1
3,0, . . .
(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 ksamples to the left if k < 0.
(e) Yes.
x(n) = 1
3δ(n2) + 2
3δ(n+ 1) + u(n)u(n4)
2.2
x(n) = ...0,1,1
,1,1,1
2,1
2,0,...
(a)
x(n2) = ...0,0
,1,1,1,1,1
2,1
2,0, . . .
(b)
x(4 n) =
...0,1
2
,1
2,1,1,1,1,0, . . .
(see 2.1(d))
(c)
x(n+ 2) = ...0,1,1,1,1
,1
2,1
2,0, . . .
(d)
x(n)u(2 n) = ...0,1,1
,1,1,0,0, . . .
(e)
x(n1)δ(n3) = ...0
,0,1,0, . . .
(f)
x(n2) = {...0, x(4), x(1), x(0), x(1), x(4),0,...}
=...0,1
2,1,1
,1,1
2,0,...
(g)
xe(n) = x(n) + x(n)
2,
x(n) = ...0,1
2,1
2,1,1,1
,1,0,...
=...0,1
4,1
4,1
2,1,1,1,1
2,1
4,1
4,0,...
16
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(h)
xo(n) = x(n)x(n)
2
=...0,1
4,1
4,1
2,0,0,0,1
2,1
4,1
4,0,...
2.3
(a)
u(n)u(n1) = δ(n) =
0, n < 0
1, n = 0
0, n > 0
(b)
n
X
k=−∞
δ(k) = u(n) = 0, n < 0
1, n 0
X
k=0
δ(nk) = 0, n < 0
1, n 0
2.4
Let
xe(n) = 1
2[x(n) + x(n)],
xo(n) = 1
2[x(n)x(n)].
Since
xe(n) = xe(n)
and
xo(n) = xo(n),
it follows that
x(n) = xe(n) + xo(n).
The decomposition is unique. For
x(n) = 2,3,4
,5,6,
we have
xe(n) = 4,4,4
,4,4
and
xo(n) = 2,1,0
,1,2.
17
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
2.5
First, we prove that
X
n=−∞
xe(n)xo(n) = 0
X
n=−∞
xe(n)xo(n) =
X
m=−∞
xe(m)xo(m)
=
X
m=−∞
xe(m)xo(m)
=
X
n=−∞
xe(n)xo(n)
=
X
n=−∞
xe(n)xo(n)
= 0
Then,
X
n=−∞
x2(n) =
X
n=−∞
[xe(n) + xo(n)]2
=
X
n=−∞
x2
e(n) +
X
n=−∞
x2
o(n) +
X
n=−∞
2xe(n)xo(n)
=Ee+Eo
2.6
(a) No, the system is time variant. Proof: If
x(n)y(n) = x(n2)
x(nk)y1(n) = x[(nk)2]
=x(n2+k22nk)
6=y(nk)
(b) (1)
x(n) = 0,1
,1,1,1,0,...
(2)
y(n) = x(n2) = . . . , 0,1,1
,1,0,...
(3)
y(n2) = . . . , 0,0
,1,1,1,0,...
18
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(4)
x(n2) = . . . , 0
,0,1,1,1,1,0,...
(5)
y2(n) = T[x(n2)] = . . . , 0,1,0,0
,0,1,0,...
(6)
y2(n)6=y(n2) system is time variant.
(c) (1)
x(n) = 1
,1,1,1
(2)
y(n) = 1
,0,0,0,0,1
(3)
y(n2) = 0
,0,1,0,0,0,0,1
(4)
x(n2) = 0
,0,1,1,1,1,1
(5)
y2(n) = 0
,0,1,0,0,0,0,1
(6)
y2(n) = y(n2).
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(n2) = . . . , 0
,0,0,1,2,3,...
(4)
x(n2) = . . . , 0,0
,0,1,1,1,1,...
19
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(5)
y2(n) = T[x(n2)] = {. . . , 0,0,2,3,4,5,...}
(6)
y2(n)6=y(n2) 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
y(n) =
n+1
X
k=−∞
u(k) = 0, n < 1
n+ 2, n ≥ −1
since y(n)→ ∞ as n→ ∞, the system is unstable.
(c) Static, linear, timevariant, causal, stable.
(d) Dynamic, linear, time invariant, noncausal, stable.
(e) Static, nonlinear, time invariant, causal, stable.
(f) Static, nonlinear, time invariant, causal, stable.
(g) Static, nonlinear, time invariant, causal, stable.
(h) Static, linear, time invariant, causal, stable.
(i) Dynamic, linear, time variant, noncausal, unstable. Note that the bounded input
x(n) = u(n) produces an unbounded output.
(j) Dynamic, linear, time variant, noncausal, stable.
(k) Static, nonlinear, time invariant, causal, stable.
(l) Dynamic, linear, time invariant, noncausal, stable.
(m) Static, nonlinear, time invariant, causal, stable.
(n) Static, linear, time invariant, causal, stable.
2.8
(a) True. If
v1(n) = T1[x1(n)] and
v2(n) = T1[x2(n)],
then
α1x1(n) + α2x2(n)
yields
α1v1(n) + α2v2(n)
by the linearity property of T1. Similarly, if
y1(n) = T2[v1(n)] and
y2(n) = T2[v2(n)],
then
β1v1(n) + β2v2(n)y(n) = β1y1(n) + β2y2(n)
by the linearity property of T2. Since
v1(n) = T1[x1(n)] and
20
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
v2(n) = T2[x2(n)],
it follows that
A1x1(n) + A2x2(n)
yields the output
A1T[x1(n)] + A2T[x2(n)],
where T=T1T2. Hence Tis linear.
(b) True. For T1, if
x(n)v(n) and
x(nk)v(nk),
For T2,if
v(n)y(n)
andv(nk)y(nk).
Hence, For T1T2,if
x(n)y(n) and
x(nk)y(nk)
Therefore, T=T1T2is time invariant.
(c) True. T1is causal v(n) depends only on x(k) for kn.T2is causal y(n) depends only on v(k) for k
n. Therefore, y(n) depends only on x(k) for kn. Hence, Tis causal.
(d) True. Combine (a) and (b).
(e) True. This follows from h1(n)h2(n) = h2(n)h1(n)
(f) False. For example, consider
T1:y(n) = nx(n) and
T2:y(n) = nx(n+ 1).
Then,
T2[T1[δ(n)]] = T2(0) = 0.
T1[T2[δ(n)]] = T1[δ(n+ 1)]
=δ(n+ 1)
6= 0.
(g) False. For example, consider
T1:y(n) = x(n) + band
T2:y(n) = x(n)b, where b6= 0.
Then,
T[x(n)] = T2[T1[x(n)]] = T2[x(n) + b] = x(n).
Hence Tis linear.
(h) True.
T1is stable v(n) is bounded if x(n) is bounded.
T2is stable y(n) is bounded if v(n) is bounded .
21
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Hence, y(n) is bounded if x(n) is bounded ⇒ T =T1T2is stable.
(i) Inverse of (c). T1and for T2are noncausal ⇒ T is noncausal. Example:
T1:y(n) = x(n+ 1) and
T2:y(n) = x(n2)
⇒ T :y(n) = x(n1),
which is causal. Hence, the inverse of (c) is false.
Inverse of (h): T1and/or T2is unstable, implies Tis unstable. Example:
T1:y(n) = ex(n),stable and T2:y(n) = ln[x(n)],which is unstable.
But T:y(n) = x(n),which is stable. Hence, the inverse of (h) is false.
2.9
(a)
y(n) =
n
X
k=−∞
h(k)x(nk), x(n) = 0, n < 0
y(n+N) =
n+N
X
k=−∞
h(k)x(n+Nk) =
n+N
X
k=−∞
h(k)x(nk)
=
n
X
k=−∞
h(k)x(nk) +
n+N
X
k=n+1
h(k)x(nk)
=y(n) +
n+N
X
k=n+1
h(k)x(nk)
For a BIBO system, limn→∞|h(n)|= 0.Therefore,
limn→∞
n+N
X
k=n+1
h(k)x(nk) = 0 and
limn→∞y(n+N) = y(N).
(b) Let x(n) = xo(n) + au(n),where ais a constant and
xo(n) is a bounded signal with lim
n→∞ xo(n) = 0.
Then,
y(n) = a
X
k=0
h(k)u(nk) +
X
k=0
h(k)xo(nk)
=a
n
X
k=0
h(k) + yo(n)
clearly, Pnx2
o(n)<∞ ⇒ Pny2
o(n)<(from (c) below) Hence,
limn→∞|yo(n)|= 0.
22
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
and, thus, limn→∞y(n) = aPn
k=0 h(k) = constant.
(c)
y(n) = X
k
h(k)x(nk)
X
−∞
y2(n) =
X
−∞ "X
k
h(k)x(nk)#2
=X
kX
l
h(k)h(l)X
n
x(nk)x(nl)
But X
n
x(nk)x(nl)X
n
x2(n) = Ex.
Therefore,
X
n
y2(n)ExX
k|h(k)|X
l|h(l)|.
For a BIBO stable system,
X
k|h(k)|< M.
Hence,
EyM2Ex,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.
If the system were time invariant, the response to x3(n) would be
3
,2,1,3,1.
But this is not the case.
23
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
2.12
(a) Any weighted linear combination of the signals xi(n), i = 1,2,...,N.
(b) Any xi(nk), 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) = X
k
h(k)x(nk)
|y(n)| ≤ X
k|h(k)||x(nk)|
MxX
k|h(k)|
where |x(nk)| ≤ Mx. Therefore, |y(n)|<for all n, if and only if
X
k|h(k)|<.
2.14
(a) A system is causal the output becomes nonzero after the input becomes non-zero. Hence,
x(n) = 0 for n < noy(n) = 0 for n < no.
(b)
y(n) =
n
X
−∞
h(k)x(nk),where x(n) = 0 for n < 0.
If h(k) = 0 for k < 0, then
y(n) =
n
X
0
h(k)x(nk),and hence, y(n) = 0 for n < 0.
On the other hand, if y(n) = 0 for n < 0, then
n
X
−∞
h(k)x(nk)h(k) = 0, k < 0.
2.15
(a)
For a= 1,
N
X
n=M
an=NM+ 1
for a6= 1,
N
X
n=M
an=aM+aM+1 +...+aN
(1 a)
N
X
n=M
an=aM+aM+1 aM+1 +...+aNaNaN+1
=aMaN+1
24
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b) For M= 0,|a|<1, and N→ ∞,
X
n=0
an=1
1a,|a|<1.
2.16
(a)
y(n) = X
k
h(k)x(nk)
X
n
y(n) = X
nX
k
h(k)x(nk) = X
k
h(k)
X
n=−∞
x(nk)
= X
k
h(k)! X
n
x(n)!
(b) (1)
y(n) = h(n)x(n) = {1,3,7,7,7,6,4}
X
n
y(n) = 35,X
k
h(k) = 5,X
k
x(k) = 7
(2)
y(n) = {1,4,2,4,1}
X
n
y(n) = 4,X
k
h(k) = 2,X
k
x(k) = 2
(3)
y(n) = 0,1
2,1
2,3
2,2,0,5
2,2
X
n
y(n) = 5,X
n
h(n) = 2.5,X
n
x(n) = 2
(4)
y(n) = {1,2,3,4,5}
X
n
y(n) = 15,X
n
h(n) = 1,X
n
x(n) = 15
(5)
y(n) = {0,0,1,1,2,2,1,3}
X
n
y(n) = 8,X
n
h(n) = 4,X
n
x(n) = 2
(6)
y(n) = {0,0,1,1,2,2,1,3}
X
n
y(n) = 8,X
n
h(n) = 2,X
n
x(n) = 4
(7)
y(n) = {0,1,4,4,5,1,3}
25
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
X
n
y(n) = 2,X
n
h(n) = 1,X
n
x(n) = 2
(8)
y(n) = u(n) + u(n1) + 2u(n2)
X
n
y(n) = ,X
n
h(n) = ,X
n
x(n) = 4
(9)
y(n) = {1,1,5,2,3,5,1,4}
X
n
y(n) = 0,X
n
h(n) = 0,X
n
x(n) = 4
(10)
y(n) = {1,4,4,4,10,4,4,4,1}
X
n
y(n) = 36,X
n
h(n) = 6,X
n
x(n) = 6
(11)
y(n) = [2(1
2)n(1
4)n]u(n)
X
n
y(n) = 8
3,X
n
h(n) = 4
3,X
n
x(n) = 2
2.17
(a)
x(n) = 1
,1,1,1
h(n) = 6
,5,4,3,2,1
y(n) =
n
X
k=0
x(k)h(nk)
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
26
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b) By following the same procedure as in (a), we obtain
y(n) = 6,11,15,18
,14,10,6,3,1
(c) By following the same procedure as in (a), we obtain
y(n) = 1,2
,2,2,1
(d) By following the same procedure as in (a), we obtain
y(n) = 1
,2,2,2,1
2.18
(a)
x(n) = 0
,1
3,2
3,1,4
3,5
3,2
h(n) = 1,1,1
,1,1
y(n) = x(n)h(n)
=1
3,1
,2,10
3,5,20
3,6,5,11
3,2
(b)
x(n) = 1
3n[u(n)u(n7)],
h(n) = u(n+ 2) u(n3)
y(n) = x(n)h(n)
=1
3n[u(n)u(n7)] [u(n+ 2) u(n3)]
=1
3n[u(n)u(n+ 2) u(n)u(n3) u(n7) u(n+ 2) + u(n7) u(n3)]
y(n) = 1
3δ(n+ 1) + δ(n) + 2δ(n1) + 10
3δ(n2) + 5δ(n3) + 20
3δ(n4) + 6δ(n5)
+5δ(n6) + 5δ(n6) + 11
3δ(n7) + δ(n8)
2.19
y(n) =
4
X
k=0
h(k)x(nk),
x(n) = α3, α2, α1,1
,...,α5
h(n) = 1
,1,1,1,1
27
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
y(n) =
4
X
k=0
x(nk),3n9
= 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}
(c) (1 + 3z+z2)(1 + 2z+ 2z2) = 1 + 5z+ 9z2+ 8z3+ 2z4
(d) 1.31 x 12.2 = 15.982.
(e) These are different ways to perform convolution.
2.21
(a)
y(n) =
n
X
k=0
aku(k)bnku(nk) = bn
n
X
k=0
(ab1)k
y(n) = bn+1an+1
bau(n), a 6=b
bn(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
28
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-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
h(n) = h(n) + h(n9),
y(n) = y(n) + y(n9),where
y(n) = 0
,0,1,2,3,4,5,5,4,3,2,1
2.22
(a)
yi(n) = x(n)hi(n)
y1(n) = x(n) + x(n1)
={1,5,6,5,8,8,6,7,9,12,12,15,9},similarly
y2(n) = {1,6,11,11,13,16,14,13,15,21,25,28,24,9}
y3(n) = {0.5,2.5,3,2.5,4,4,3,3.5,4.5,6,6,7.5,4.5}
y4(n) = {0.25,1.5,2.75,2.75,3.25,4,3.5,3.25,3.75,5.25,6.25,7,6,2.25}
y5(n) = {0.25,0.5,1.25,0.75,0.25,1,0.5,0.25,0,0.25,0.75,1,3,2.25}
(b)
y3(n) = 1
2y1(n),because
h3(n) = 1
2h1(n)
y4(n) = 1
4y2(n),because
h4(n) = 1
4h2(n)
(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)
y6(n) = 1
2,3
2,1,1
2,1,1,0,1
2,1
2,1,1
2,3
2,9
2
y2(n) is smoother than y6(n).
29
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
2.23
We can express the unit sample in terms of the unit step function as δ(n) = u(n)u(n1).
Then,
h(n) = h(n)δ(n)
=h(n)(u(n)u(n1)
=h(n)u(n)h(n)u(n1)
=s(n)s(n1)
Using this definition of h(n)
y(n) = h(n)x(n)
= (s(n)s(n1)) x(n)
=s(n)x(n)s(n1) x(n)
2.24
If
y1(n) = ny1(n1) + x1(n) and
y2(n) = ny2(n1) + x2(n) then
x(n) = ax1(n) + bx2(n)
produces the output
y(n) = ny(n1) + x(n),where
y(n) = ay1(n) + by2(n).
Hence, the system is linear. If the input is x(n1), we have
y(n1) = (n1)y(n2) + x(n1).But
y(n1) = ny(n2) + x(n1).
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)(n1) and,
δ(nk) = γ(nk)(nk1).Then,
x(n) =
X
k=−∞
x(k)δ(nk)
=
X
k=−∞
x(k)[γ(nk)(nk1)]
30
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
x(n) =
X
k=−∞
x(k)γ(nk)a
X
k=−∞
x(k)γ(nk1)
x(n) =
X
k=−∞
x(k)γ(nk)a
X
k=−∞
x(k1)γ(nk)
=
X
k=−∞
[x(k)ax(k1)]γ(nk)
Thus, ck=x(k)ax(k1)
(b)
y(n) = T[x(n)]
=T[
X
k=−∞
ckγ(nk)]
=
X
k=−∞
ckT[γ(nk)]
=
X
k=−∞
ckg(nk)
(c)
h(n) = T[δ(n)]
=T[γ(n)(n1)]
=g(n)ag(n1)
2.26
With x(n) = 0, we have
y(n1) + 4
3y(n1) = 0
y(1) = 4
3y(2)
y(0) = (4
3)2y(2)
y(1) = (4
3)3y(2)
.
.
.
y(k) = (4
3)k+2y(2) zero-input response.
2.27
Consider the homogeneous equation:
y(n)5
6y(n1) + 1
6y(n2) = 0.
The characteristic equation is
λ25
6λ+1
6= 0=1
2,1
3.
31
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Hence,
yh(n) = c1(1
2)n+c2(1
3)n
The particular solution to
x(n) = 2nu(n) is
yp(n) = k(2n)u(n).
Substitute this solution into the difference equation. Then, we obtain
k(2n)u(n)k(5
6)(2n1)u(n1) + k(1
6)(2n2)u(n2) = 2nu(n)
For n = 2,
4k5k
3+k
6= 4 k=8
5.
Therefore, the total solution is
y(n) = yp(n) + yh(n) = 8
5(2n)u(n) + c1(1
2)nu(n) + c2(1
3)nu(n).
To determine c1and c2, assume that y(2) = y(1) = 0. Then,
y(0) = 1 and
y(1) = 5
6y(0) + 2 = 17
6
Thus,
8
5+c1+c2= 1 c1+c2=3
5
16
5+1
2c1+1
3c2=17
63c1+ 2c2=11
5
and, therefore,
c1=1, c2=2
5.
The total solution is
y(n) = 8
5(2)n(1
2)n+2
5(1
3)nu(n)
32
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
2.28
Fig. 2.28-1 shows the transient response, yzi(n), for y(1) = 1 and the steady state response,
yzs(n).
0 5 10 15 20 25 30 35 40 45 50
0
0.2
0.4
0.6
0.8
1
Normalized Transient Response
0 5 10 15 20 25 30 35 40 45 50
0
2
4
6
8
10
Steady State Response
Figure 2.28-1:
2.29
h(n) = h1(n)h2(n)
=
X
k=−∞
ak[u(k)u(kN)][u(nk)u(nkM)]
=
X
k=−∞
aku(k)u(nk)
X
k=−∞
aku(k)u(nkM)
X
k=−∞
aku(kN)u(nk) +
X
k=−∞
aku(kN)u(nkM)
= n
X
k=0
ak
nM
X
k=0
ak! n
X
k=N
ak
nM
X
k=N
ak!
= 0
33
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
2.30
y(n)3y(n1) 4y(n2) = x(n) + 2x(n1)
The characteristic equation is
λ23λ4 = 0.
Hence, λ= 4,1 and
yh(n) = c1(n)4n+c2(1)n.
Since 4 is a characteristic root and the excitation is
x(n) = 4nu(n),
we assume a particular solution of the form
yp(n) = kn4nu(n).
Then
kn4nu(n)3k(n1)4n1u(n1) 4k(n2)4n2u(n2)
= 4nu(n) + 2(4)n1u(n1)
. For n= 2,
k(32 12) = 42+ 8 = 24 k=6
5.
The total solution is
y(n) = yp(n) + yh(n)
=6
5n4n+c14n+c2(1)nu(n)
To solve for c1and c2, we assume that y(1) = y(2) = 0. Then,
y(0) = 1 and
y(1) = 3y(0) + 4 + 2 = 9
Hence,
c1+c2= 1 and
24
5+ 4c1c2= 9
4c1c2=21
5
Therefore,
c1=26
25 and c2=1
25
The total solution is
y(n) = 6
5n4n+26
254n1
25(1)nu(n)
34
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
2.31
From 2.30, the characteristic values are λ= 4,1.Hence
yh(n) = c14n+c2(1)n
When x(n) = δ(N),we find that
y(0) = 1 and
y(1) 3y(0) = 2 or
y(1) = 5.
Hence,
c1+c2= 1 and 4c1c2= 5
This yields, c1=6
5and c2=1
5. Therefore,
h(n) = 6
54n1
5(1)nu(n)
2.32
(a) L1=N1+M1and L2=N2+M2
(b) Partial overlap from left:
low N1+M1high N1+M21
Full overlap: low N1+M2high N2+M1
Partial overlap from right:
low N2+M1+ 1 high N2+M2
(c)
x(n) = 1,1,1
,1,1,1,1
h(n) = 2,2
,2,2
N1=2,
N2= 4,
M1=1,
M2= 2,
Partial overlap from left: n=3n=1L1=3
Full overlap: n= 0 n= 3
Partial overlap from right:n= 4 n= 6 L2= 6
35
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
2.33
(a)
y(n)0.6y(n1) + 0.08y(n2) = x(n).
The characteristic equation is
λ20.6λ+ 0.08 = 0.
λ= 0.2,0.4 Hence,
yh(n) = c1
1
5
n
+c2
2
5
n
.
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
5c1+2
5= 0.6c1=1, c2= 3.
Therefore h(n) = (1
5)n+ 2(2
5)nu(n)
The step response is
s(n) =
n
X
k=0
h(nk), n 0
=
n
X
k=0 2(2
5)nk(1
5)nk
=1
0.12 (2
5
n+1
11
0.16 (1
5
n+1
1u(n)
(b)
y(n)0.7y(n1) + 0.1y(n2) = 2x(n)x(n2).
The characteristic equation is
λ20.7λ+ 0.1 = 0.
λ=1
2,1
5Hence,
yh(n) = c1
1
2
n
+c2
1
5
n
.
With x(n) = δ(n),we have
y(0) = 2,
y(1) 0.7y(0) = 0 y(1) = 1.4.
Hence,c1+c2= 2 and
1
2c1+1
5= 1.4 = 7
5
c1+2
5c2=14
5.
These equations yield
c1=10
3, c2=4
3.
h(n) = 10
3(1
2)n4
3(1
5)nu(n)
36
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
The step response is
s(n) =
n
X
k=0
h(nk),
=10
3
n
X
k=0
(1
2)nk4
3
n
X
k=0
(1
5)nk
=10
3(1
2)n
n
X
k=0
2k4
3(1
5)n
n
X
k=0
5k
=10
3(1
2
n
(2n+1 1)u(n)1
3(1
5
n
(5n+1 1)u(n)
2.34
h(n) = 1
,1
2,1
4,1
8,1
16
y(n) = 1
,2,2.5,3,3,3,2,1,0
x(0)h(0) = y(0) x(0) = 1
1
2x(0) + x(1) = y(1) x(1) = 3
2
By continuing this process, we obtain
x(n) = 1,3
2,3
2,7
4,3
2,...
2.35
(a) h(n) = h1(n)[h2(n)h3(n)h4(n)]
(b)
h3(n)h4(n) = (n1)u(n2)
h2(n)h3(n)h4(n) = 2u(n)δ(n)
h1(n) = 1
2δ(n) + 1
4δ(n1) + 1
2δ(n2)
Hence h(n) = 1
2δ(n) + 1
4δ(n1) + 1
2δ(n2)[2u(n)δ(n)]
=1
2δ(n) + 5
4δ(n1) + 2δ(n2) + 5
2u(n3)
(c)
x(n) = 1,0,0
,3,0,4
y(n) = 1
2,5
4,2
,25
4,13
2,5,2,0,0,...
37
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
2.36
First, we determine
s(n) = u(n)h(n)
s(n) =
X
k=0
u(k)h(nk)
=
n
X
k=0
h(nk)
=
X
k=0
ank
=an+1 1
a1, n 0
For x(n) = u(n+ 5) u(n10), we have the response
s(n+ 5) s(n10) = an+6 1
a1u(n+ 5) an91
a1u(n10)
From figure P2.33,
y(n) = x(n)h(n)x(n)h(n2)
Hence, y(n) = an+6 1
a1u(n+ 5) an91
a1u(n10)
an+4 1
a1u(n+ 3) + an11 1
a1u(n12)
2.37
h(n) = [u(n)u(nM)] /M
s(n) =
X
k=−∞
u(k)h(nk)
=
n
X
k=0
h(nk) = n+1
M, n < M
1, n M
2.38
X
n=−∞ |h(n)|=
X
n=0,neven |a|n
=
X
n=0 |a|2n
=1
1− |a|2
Stable if |a|<1
38
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
2.39
h(n) = anu(n).The response to u(n) is
y1(n) =
X
k=0
u(k)h(nk)
=
n
X
k=0
ank
=an
n
X
k=0
ak
=1an+1
1au(n)
Then, y(n) = y1(n)y1(n10)
=1
1a(1 an+1)u(n)(1 an9)u(n10)
2.40
We may use the result in problem 2.36 with a=1
2. Thus,
y(n) = 2 1(1
2)n+1u(n)21(1
2)n9u(n10)
2.41
(a)
y(n) =
X
k=−∞
h(k)x(nk)
=
n
X
k=0
(1
2)k2nk
= 2n
n
X
k=0
(1
4)k
= 2n1(1
4)n+1(4
3)
=2
32n+1 (1
2)n+1u(n)
(b)
y(n) =
X
k=−∞
h(k)x(nk)
=
X
k=0
h(k)
=
X
k=0
(1
2)k= 2, n < 0
39
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
y(n) =
X
k=n
h(k)
=
X
k=n
(1
2)k
=
X
k=0
(1
2)k
n1
X
k=0
(1
2)k
= 2 (1(1
2)n
1
2
)
= 2(1
2)n, n 0.
2.42
(a)
he(n) = h1(n)h2(n)h3(n)
= [δ(n)δ(n1)] u(n)h(n)
= [u(n)u(n1)] h(n)
=δ(n)h(n)
=h(n)
(b) No.
2.43
(a) x(n)δ(nn0) = x(n0).Thus, only the value of x(n) at n=n0is of interest.
x(n)δ(nn0) = x(nn0).Thus, we obtain the shifted version of the sequence x(n).
(b)
y(n) =
X
k=−∞
h(k)x(nk)
=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(nn0)y1(n) = h(n)x(nn0)
=X
k
h(k)x(nn0k)
=y(nn0)
(c) h(n) = δ(nn0).
40
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
2.44
(a) s(n) = a1s(n1) a2s(n2) ...aNs(nN) + b0v(n).Refer to fig 2.44-1.
(b) v(n) = 1
b0[s(n) + a1s(n1) + a2s(n2) + ...+aNs(nN)] .Refer to fig 2.44-2
v(n) +
+
+
+
z
-1
z
-1
z-1
-a 1
-a 2
-aN
s(n)
b0
Figure 2.44-1:
41
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
s(n)
1/b0
v(n)
a1
a2
a
N
z -1
z-1
z
-1
+
+
+
+
Figure 2.44-2:
2.45
y(n) = 1
2y(n1) + x(n) + 2x(n2)
y(2) = 1
2y(3) + x(2) + 2x(4) = 1
y(1) = 1
2y(2) + x(1) + 2x(3) = 3
2
y(0) = 1
2y(1) + 2x(2) + x(0) = 17
4
y(1) = 1
2y(0) + x(1) + 2x(1) = 47
8,etc
2.46
(a) Refer to fig 2.46-1
(b) Refer to fig 2.46-2
42
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
x(n) 1/2
-1/2
+
+
2
z
-1
z
-1
z-1
z-1
z-1
3/2
+y(n)
Figure 2.46-1:
2.47
(a)
x(n) = 1
,0,0,...
y(n) = 1
2y(n1) + x(n) + x(n1)
y(0) = x(0) = 1,
y(1) = 1
2y(0) + x(1) + x(0) = 3
2
y(2) = 1
2y(1) + x(2) + x(1) = 3
4.Thus, we obtain
y(n) = 1,3
2,3
4,3
8,3
16,3
32,...
(b) y(n) = 1
2y(n1) + x(n) + x(n1)
(c) As in part(a), we obtain
y(n) = 1,5
2,13
4,29
8,61
16,...
(d)
y(n) = u(n)h(n)
=X
k
u(k)h(nk)
43
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
x(n) y(n)
z-1
z-1
z-1
z-1
-1
-2
-3
+
+
+
Figure 2.46-2:
=
n
X
k=0
h(nk)
y(0) = h(0) = 1
y(1) = h(0) + h(1) = 5
2
y(2) = h(0) + h(1) + h(2) = 13
4,etc
(e) from part(a), h(n) = 0 for n < 0the system is causal.
X
n=0 |h(n)|= 1 + 3
2(1 + 1
2+1
4+...) = 4 system is stable
2.48
(a)
y(n) = ay(n1) + bx(n)
h(n) = banu(n)
X
n=0
h(n) = b
1a= 1
b= 1 a.
44
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(a)
s(n) =
n
X
k=0
h(nk)
=b1an+1
1au(n)
s() = b
1a= 1
b= 1 a.
(c) b= 1 ain both cases.
2.49
(a)
y(n) = 0.8y(n1) + 2x(n) + 3x(n1)
y(n)0.8y(n1) = 2x(n) + 3x(n1)
The characteristic equation is
λ0.8 = 0
λ= 0.8.
yh(n) = c(0.8)n
Let us first consider the response of the sytem
y(n)0.8y(n1) = x(n)
to x(n) = δ(n).Since y(0) = 1, it folows that c= 1. Then, the impulse response of the original
system is
h(n) = 2(0.8)nu(n) + 3(0.8)n1u(n1)
= 2δ(n) + 4.6(0.8)n1u(n1)
(b) The inverse system is characterized by the difference equation
x(n) = 1.5x(n1) + 1
2y(n)0.4y(n1)
Refer to fig 2.49-1
2.50
y(n) = 0.9y(n1) + x(n) + 2x(n1) + 3x(n2)
(a)For x(n) = δ(n), we have
y(0) = 1,
y(1) = 2.9,
y(2) = 5.61,
y(3) = 5.049,
y(4) = 4.544,
y(5) = 4.090,...
45
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
y(n)
-1.5 -0.4
z-1
0.5 +
x(n)
+
Figure 2.49-1:
(b)
s(0) = y(0) = 1,
s(1) = y(0) + y(1) = 3.91
s(2) = y(0) + y(1) + y(2) = 9.51
s(3) = y(0) + y(1) + y(2) + y(3) = 14.56
s(4) =
4
X
0
y(n) = 19.10
s(5) =
5
X
0
y(n) = 23.19
(c)
h(n) = (0.9)nu(n) + 2(0.9)n1u(n1) + 3(0.9)n2u(n2)
=δ(n) + 2.9δ(n1) + 5.61(0.9)n2u(n2)
2.51
(a)
y(n) = 1
3x(n) + 1
3x(n3) + y(n1)
for x(n) = δ(n),we have
h(n) = 1
3,1
3,1
3,2
3,2
3,2
3,2
3,...
(b)
y(n) = 1
2y(n1) + 1
8y(n2) + 1
2x(n2)
with x(n) = δ(n),and
y(1) = y(2) = 0,we obtain
h(n) = 0,0,1
2,1
4,3
16,1
8,11
128,15
256,41
1024,...
46
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(c)
y(n) = 1.4y(n1) 0.48y(n2) + x(n)
with x(n) = δ(n),and
y(1) = y(2) = 0,we obtain
h(n) = {1,1.4,1.48,1.4,1.2496,1.0774,0.9086,...}
(d) All three systems are IIR.
(e)
y(n) = 1.4y(n1) 0.48y(n2) + x(n)
The characteristic equation is
λ21.4λ+ 0.48 = 0 Hence
λ= 0.8,0.6.and
yh(n) = c1(0.8)n+c2(0.6)nFor x(n) = δ(n).We have,
c1+c2= 1 and
0.8c1+ 0.6c2= 1.4
c1= 4,
c2=3.Therefore
h(n) = [4(0.8)n3(0.6)n]u(n)
2.52
(a)
h1(n) = c0δ(n) + c1δ(n1) + c2δ(n2)
h2(n) = b2δ(n) + b1δ(n1) + b0δ(n2)
h3(n) = a0δ(n) + (a1+a0a2)δ(n1) + a1a2δ(n2)
(b) The only question is whether
h3(n)?
=h2(n) = h1(n)
Let a0=c0,
a1+a2c0=c1,
a2a1=c2.Hence
c2
a2
+a2c0c1= 0
c0a2
2c1a2+c2= 0
For c06= 0,the quadratic has a real solution if and only if
c2
14c0c20
2.53
(a)
y(n) = 1
2y(n1) + x(n) + x(n1)
For y(n)1
2y(n1) = δ(n),the solution is
h(n) = (1
2)nu(n) + (1
2)n1u(n1)
47
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b) h1(n)[δ(n) + δ(n1)] = (1
2)nu(n) + (1
2)n1u(n1).
2.54
(a)
convolution: y1(n) = 1
,3,7,7,7,6,4
correlation: γ1(n) = 1,3,7,7,7
,6,4
(b)
convolution: y2(n) = 1
2,0
,3
2,2,1
2,6,5
2,2
correlation: γ1(n) = 1
2,0
,3
2,2,1
2,6,5
2,2
Note that y2(n) = γ2(n),because h2(n) = h2(n) (c)
convolution: y3(n) = 4
,11,20,30,20,11,4
correlation: γ1(n) = 1,4,10,20
,25,24,16
(c)
convolution: y4(n) = 1
,4,10,20,25,24,16
correlation: γ4(n) = 4,11,20,30
,20,11,4
Note that h3(n) = h4(n+ 3),
hence, γ3(n) = y4(n+ 3)
and h4(n) = h3(n+ 3),
γ4(n) = y3(n+ 3)
2.55
Obviously, the length of h(n) is 2, i.e.
h(n) = {h0, h1}
h0= 1
3h0+h1= 4
h0= 1, h1= 1
2.56
(2.5.6) y(n) =
N
X
k=1
aky(nk) +
M
X
k=0
bkx(nk)
48
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(2.5.9) w(n) =
N
X
k=1
akw(nk) + x(n)
(2.5.10) y(n) =
M
X
k=0
bkw(nk)
From (2.5.9) we obtain
x(n) = w(n) +
N
X
k=1
akw(nk) (A)
By substituting (2.5.10) for y(n) and (A) into (2.5.6), we obtain L.H.S = R.H.S.
2.57
y(n)4y(n1) + 4y(n2) = x(n)x(n1)
The characteristic equation is
λ24λ+ 4 = 0
λ= 2,2.Hence,
yh(n) = c12n+c2n2n
The particular solution is
yp(n) = k(1)nu(n).
Substituting this solution into the difference equation, we obtain
k(1)nu(n)4k(1)n1u(n1) + 4k(1)n2u(n2) = (1)nu(n)(1)n1u(n1)
For n= 2, k(1 + 4 + 4) = 2 k=2
9. The total solution is
y(n) = c12n+c2n2n+2
9(1)nu(n)
From the initial condtions, we obtain y(0) = 1, y(1) = 2. Then,
c1+2
9= 1
c1=7
9,
2c1+ 2c22
9= 2
c2=1
3,
2.58
From problem 2.57,
h(n) = [c12n+c2n2n]u(n)
With y(0) = 1, y(1) = 3,we have
c1= 1
2c1+ 2c2= 3
49
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
c2=1
2
Thus h(n) = 2n+1
2n2nu(n)
2.59
x(n) = x(n)δ(n)
=x(n)[u(n)u(n1)]
= [x(n)x(n1)] u(n)
=
X
k=−∞
[x(k)x(k1)] u(nk)
2.60
Let h(n) be the impulse response of the system
s(k) =
k
X
m=−∞
h(m)
h(k) = s(k)s(k1)
y(n) =
X
k=−∞
h(k)x(nk)
=
X
k=−∞
[s(k)s(k1)] x(nk)
2.61
x(n) = 1, n0Nnn0+N
0,otherwise
y(n) = 1,NnN
0,otherwise
γxx(l) =
X
n=−∞
x(n)x(nl)
The range of non-zero values of γxx(l) is determined by
n0Nnn0+N
n0Nnln0+N
which implies
2Nl2N
For a given shift l, the number of terms in the summation for which both x(n) and x(nl) are
non-zero is 2N+ 1 − |l|, and the value of each term is 1. Hence,
γxx(l) = 2N+ 1 − |l|,2Nl2N
0,otherwise
50
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
For γxy (l) we have
γxy(l) = 2N+ 1 − |ln0|, n02Nln0+ 2N
0,otherwise
2.62
(a)
γxx(l) =
X
n=−∞
x(n)x(nl)
γxx(3) = x(0)x(3) = 1
γxx(2) = x(0)x(2) + x(1)x(3) = 3
γxx(1) = x(0)x(1) + x(1)x(2) + x(2)x(3) = 5
γxx(0) =
3
X
n=0
x2(n) = 7
Also γxx(l) = γxx(l)
Therefore γxx(l) = 1,3,5,7
,5,3,1
(b)
γyy (l) =
X
n=−∞
y(n)y(nl)
We obtain
γyy (l) = {1,3,5,7,5,3,1}
we observe that y(n) = x(n+ 3), which is equivalent to reversing the sequence x(n). This has
not changed the autocorrelation sequence.
2.63
γxx(l) =
X
n=−∞
x(n)x(nl)
=2N+ 1 − |l|,2Nl2N
0,otherwise
γxx(0) = 2N+ 1
Therefore, the normalized autocorrelation is
ρxx(l) = 1
2N+ 1(2N+ 1 − |l|),2Nl2N
= 0,otherwise
2.64
(a)
γxx(l) =
X
n=−∞
x(n)x(nl)
51
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=
X
n=−∞
[s(n) + γ1s(nk1) + γ2s(nk2)]
[s(nl) + γ1s(nlk1) + γ2s(nlk2)]
= (1 + γ2
1+γ2
2)γss(l) + γ1[γss(l+k1) + γss(lk1)]
+γ2[γss(l+k2) + γss(lk2)]
+γ1γ2[γss(l+k1k2) + γss(l+k2k1)]
(b) γxx(l) has peaks at l= 0,±k1,±k2and ±(k1+k2). Suppose that k1< k2. Then, we can
determine γ1and k1. The problem is to determine γ2and k2from the other peaks.
(c) If γ2= 0, the peaks occur at l= 0 and l=±k1.Then, it is easy to obtain γ1and k1.
2.65
(a) The shift at which the crosscorrelation is maximum is the amount of delay D.
(b) variance = 0.01. Refer to fig 2.65-1.
(b) Delay D = 20. Refer to fig 2.65-1.
0 50 100 150 200
−1
−0.5
0
0.5
1
−−> n
−−> x(n)
0 50 100 150 200
−1.5
−1
−0.5
0
0.5
1
1.5
−−> n
−−> y(n)
−20 0 20
−5
0
5
10
15
−−> l
−−> rxy(l)
Figure 2.65-1: variance = 0.01
(c) variance = 0.1. Delay D = 20. Refer to fig 2.65-2.
(d) Variance = 1. delay D = 20. Refer to fig 2.65-3.
(e) x(n) = {−1,1,1,+1,+1,+1,+1,1,+1,1,+1,+1,1,1,+1}. Refer to fig 2.65-4.
(f) Refer to fig 2.65-5.
52
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 50 100 150 200
−1
−0.5
0
0.5
1
−−> n
−−> x(n)
0 50 100 150 200
−1.5
−1
−0.5
0
0.5
1
1.5
−−> n
−−> y(n)
−20 0 20
−5
0
5
10
15
20
−−> rxy(l)
Figure 2.65-2: variance = 0.1
0 50 100 150 200
−1
−0.5
0
0.5
1
−−> n
−−> x(n)
0 50 100 150 200
−3
−2
−1
0
1
2
3
−−> n
−−> y(n)
−20 0 20
−5
0
5
10
15
−−> l
−−> rxy(l)
Figure 2.65-3: variance = 1
53
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 50 100 150 200
−1
−0.5
0
0.5
1
−−> n
−−> x(n)
0 50 100 150 200
−1.5
−1
−0.5
0
0.5
1
−−> n
−−> y(n)
−20 0 20
−10
−5
0
5
10
15
20
−−> n
−−> rxy(l)
Figure 2.65-4:
0 50 100 150 200
−1
−0.5
0
0.5
1
−−> n
−−> x(n)
0 50 100 150 200
−1.5
−1
−0.5
0
0.5
1
1.5
−−> n
−−> y(n)
−20 0 20
−10
−5
0
5
10
15
20
−−> n
−−> rxy(l)
Figure 2.65-5:
54
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
2.66
(a) Refer to fig 2.66-1.
(b) Refer to fig 2.66-2.
0 5 10 15 20 25 30 35 40 45 50
−0.5
0
0.5
1
−−> n
−−> h(n)
impulse response h(n) of the system
Figure 2.66-1:
(c) Refer to fig 2.66-3.
(d) The step responses in fig 2.66-2 and fig 2.66-3 are similar except for the steady state value
after n=20.
55
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 5 10 15 20 25 30 35 40 45 50
0.7
0.8
0.9
1
1.1
1.2
1.3
1.4
1.5
1.6
−−> n
−−> s(n)
zero−state step response s(n)
Figure 2.66-2:
0 5 10 15 20 25 30 35 40 45 50
0.7
0.8
0.9
1
1.1
1.2
1.3
1.4
1.5
1.6
−−> n
−−> s(n)
step response
Figure 2.66-3:
56
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
2.67
Refer to fig 2.67-1.
0 10 20 30 40 50 60 70 80 90 100
−2
−1
0
1
2
3
4
5
6
7
−−> n
−−> h(n)
Figure 2.67-1:
57
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
58
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Chapter 3
3.1
(a)
X(z) = X
n
x(n)zn
= 3z5+ 6 + z14z2ROC: 0 <|z|<
(b)
X(z) = X
n
x(n)zn
=
X
n=5
(1
2)nzn
=
X
n=5
(1
2z)n
=
X
m=0
(1
2z1)m+5
= (z1
2)51
11
2z1
= ( 1
32)z5
11
2z1ROC: |z|>1
2
3.2
(a)
X(z) = X
n
x(n)zn
=
X
n=0
(1 + n)zn
=
X
n=0
zn+
X
n=0
nzn
But
X
n=0
zn=1
1z1ROC: |z|>1
59
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
and
X
n=0
nzn=z1
(1 z1)2ROC: |z|>1
Therefore, X(z) = 1z1
(1 z1)2+z1
(1 z1)2
=1
(1 z1)2
(b)
X(z) =
X
n=0
(an+an)zn
=
X
n=0
anzn+
X
n=0
anzn
But
X
n=0
anzn=1
1az1ROC: |z|>|a|
and
X
n=0
anzn=1
(1 1
az1)2ROC: |z|>1
|a|
Hence, X(z) = 1
1az1+1
11
az1
=2(a+1
a)z1
(1 az1)(1 1
az1)ROC: |z|>max (|a|,1
|a|)
(c)
X(z) =
X
n=0
(1
2)nzn
=1
1 + 1
2z1,|z|>1
2
(d)
X(z) =
X
n=0
nansinw0nzn
=
X
n=0
nanejw0nejw0n
2jzn
=1
2jaejw0z1
(1 aejw0z1)2aejw0z1
(1 aejw0z1)2
=az1(az1)3sinw0
(1 2acosw0z1+a2z2)2,|z|> a
(e)
X(z) =
X
n=0
nancosw0nzn
=
X
n=0
nanejw0n+ejw0n
2zn
60
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=1
2aejw0z1
(1 aejw0z1)2+aejw0z1
(1 aejw0z1)2
=az1+ (az1)3sinw02a2z2
(1 2acosw0z1+a2z2)2,|z|> a
(f)
X(z) = A
X
n=0
rncos(w0n+φ)zn
=A
X
n=0
rnejw0nejφ +ejw0nejφ
2zn
=A
2ejφ
1rejw0z1+ejφ
1rejw0z1
=Acosφ rcos(w0φ)z1
12rcosw0z1+r2z2,|z|> r
(g)
X(z) =
X
n=1
1
2(n2+n)(1
3)n1zn
But
X
n=1
n(1
3)n1z1=(1
3)3z1
(1 1
3z1)2=z1
(1 1
3z1)2
X
n=1
n2(1
3)n1zn=z1+1
3z2
(1 1
3z1)3
Therefore, X(z) = 1
2z1
(1 1
3z1)2+z1+1
3z2
(1 1
3z1)3
=z1
(1 1
3z1)3,|z|>1
3
(h)
X(z) =
X
n=0
(1
2)nzn
X
n=10
(1
2)nzn
=1
11
2z1(1
2)10z10
11
2z1
=1(1
2z1)10
11
2z1,|z|>1
2
The pole-zero patterns are as follows:
(a) Double pole at z= 1 and a zero at z= 0.
(b) Poles at z=aand z=1
a. Zeros at z= 0 and z=1
2(a+1
a).
(c) Pole at z=1
2and zero at z= 0.
(d) Double poles at z=aejw0and z=aejw0and zeros at z= 0, z=±a.
(e) Double poles at z=aejw0and z=aejw0and zeros are obtained by solving the quadratic
acosw0z22a2z+a3cosw0= 0.
(f) Poles at z=rejw0and z=aejw0and zeros at z= 0, and z=rcos(w0φ)/cosφ.
(g) Triple pole at z=1
3and zeros at z= 0 and z=1
3. Hence there is a pole-zero cancellation so
61
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
that in reality there is only a double pole at z=1
3and a zero at z= 0.
(h) X(z) has a pole of order 9 at z= 0. For nine zeros which we find from the roots of
1(1
2z1)10 = 0
or, equivalently, (1
2)10 z10 = 0
Hence, zn=1
2ej2πn
10 , n = 1,2,...,k.
Note the pole-zero cancellation at z=1
2.
3.3
(a)
X1(z) =
X
n=0
(1
3)nzn+
0
X
n=−∞
(1
2)nzn1
=1
11
3z1+
X
n=0
(1
2)nzn1
=1
11
3z1+1
11
2z1,
=
5
6
(1 1
3z1)(1 1
2z)
The ROC is 1
3<|z|<2.
(b)
X2(z) =
X
n=0
(1
3)nzn
X
n=0
2nzn
=1
11
3z11
12z1,
=5
3z1
(1 1
3z1)(1 2z1)
The ROC is |z|>2.
(c)
X3(z) =
X
n=−∞
x1(n+ 4)zn
=z4X1(z)
=
5
6z4
(1 1
3z1)(1 1
2z)
The ROC is 1
3<|z|<2.
(d)
X4(z) =
X
n=−∞
x1(n)zn
62
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=
X
m=−∞
x1(m)zm
=X1(z1)
=
5
6
(1 1
3z)(1 1
2z1)
The ROC is 1
2<|z|<3.
3.4
(a)
X(z) =
X
n=0
n(1)nzn
=zd
dz
X
n=0
(1)nzn
=zd
dz 1
1 + z1
=z1
(1 + z1)2,|z|>1
(b)
X(z) =
X
n=0
n2zn
=z2d2
dz2
X
n=0
zn
=z2d2
dz21
1z1
=z1
(1 z1)2+2z1
(1 z1)3
=z1(1 + z1)
(1 z1)3,|z|>1
(c)
X(z) = 1
X
n=−∞ nanzn
=zd
dz
1
X
n=−∞
a(n)zn
=zd
dz 1
1az1
=az1
(1 az1)2,|z|<|a|
(d)
X(z) =
X
n=0
(1)ncos(π
3n)zn
63
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
From formula (9) in table 3.3 with a=1,
X(z) = 1 + z1cosπ
3
1 + 2z1cosπ
3+z2
=1 + 1
2z1
1 + z1+z2,ROC: |z|>1
(e)
X(z) =
X
n=0
(1)nzn
=1
1 + z1,|z|>1
(f)
x(n) = 1
,0,1,0,1,1
X(z) = 1 z2+z4z5, z 6= 0
3.5
Right-sided sequence :xr(n) = 0, n < n0
Xr(z) = 1
X
n=n0
xr(n)zn+
X
n=0
xr(n)zn
The term P1
n=n0xr(n)znconverges for all zexcept z=.
The term P
n=0 xr(n)znconverges for all |z|> r0where some r0. Hence Xr(z) converges for
r0<|z|<when n0<0 and |z|> r0for n0>0
Left-sided sequence :xl(n) = 0, n > n0
Xl(z) =
0
X
n=−∞
xl(n)zn+
n0
X
n=1
xl(n)zn
The first term converges for some |z|< rl. The second term converges for all z, except z= 0.
Hence, Xl(z) converges for 0 <|z|< rlwhen n0>0, and for |z|< rlwhen n0<0.
Finite-Duration Two-sided sequence :x(n) = 0, n > n0and n < n1,where n0> n1
X(z) =
n0
X
n=n1
x(n)zn
=1
X
n=n1
x(n)zn+
n=n0
X
n=0
x(n)zn
The first term converges everywhere except z=.
The second term converges everywhere except z= 0. Therefore, X(z) converges for 0 <|z|<.
64
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
3.6
y(n) =
n
X
k=−∞
x(k)
y(n)y(n1) = x(n)
Hence,Y(z)Y(z)z1=X(z)
Y(z) = X(z)
1z1
3.7
x1(n) = (1
3)n, n 0
(1
2)n, n < 0
X1(z) =
X
n=0
(1
3)nzn+1
X
n=−∞
(1
2)nzn
=1
11
3z1+1
11
2z1
=
5
6
(1 1
3z1)(1 1
2z)
X2(z) =
X
n=0
(1
2)nzn
=1
11
2z1,1
2<|z|<2
Then,Y(z) = 2
11
3z1+
10
3
11
2z1+4
3
12z1
Hence,y(n) = 2(1
3)n+10
3(1
2)n, n 0
4
3(2)n, n < 0
3.8
(a)
y(n) =
n
X
k=−∞
x(k)
=
X
k=−∞
x(k)u(nk)
=x(n)u(n)
Y(z) = X(z)U(z)
=X(z)
1z1
(b)
u(n)u(n) =
X
k=−∞
u(k)u(nk)
65
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=
n
X
k=−∞
u(k) = (n+ 1)u(n)
Hence,x(n) = u(n)u(n)
andX(z) = 1
(1 z1)2,|z|>1
3.9
y(n) = x(n)ejw0n. From the scaling theorem, we have Y(z) = X(ejw0z). Thus, the poles and
zeros are phase rotated by an angle w0.
3.10
x(n) = 1
2[u(n) + (1)nu(n)]
X+(z) = (1
1z1+1
1+z1)
2
From the final value theorem
x() = lim
z1(z1)X+(z)
= lim
z1(z+z(z1)
z+ 1 )
=1
2
3.11
(a)
X(z) = 1 + 2z4
12z1+z2
= 1 + 4z1+ 7z2+ 10z3+...
Therefore,x(n) = 1
,4,7,10,...,3n+ 1,...
(b)
X(z) = 2z+ 5z2+ 8z3+...
Therefore,x(n) = . . . , (3n+ 1),...,11,8,5,2,0
3.12
X(z) = 1
(1 2z1)(1 z1)2
=A
(1 2z1)+B
(1 z1)+Cz1
(1 z1)2
A= 4, B =3, C =1
Hence,x(n) = [4(2)n3n]u(n)
66
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
3.13
(a)
x1(n) = x(n
2), n even
0, n odd
X1(z) =
X
n=−∞
x1(n)zn
=
X
n=−∞
x(n
2)zn
=
X
k=−∞
x(k)z2k
=X(z2)
(b)
x2(n) = x(2n)
X2(z) =
X
n=−∞
x2(n)zn
=
X
n=−∞
x(2n)zn
=
X
k=−∞
x(k)zk
2
=
X
k=−∞ x(k) + (1)kx(k)
2zk
2, k even
=1
2
X
k=−∞
x(k)zk
2+1
2
X
k=−∞
x(k)(z1
2)k
=1
2X(z+X(z)
3.14
(a)
X(z) = 13z1
1 + 3z1+ 2z2
=A
(1 + z1)+B
(1 + 2z1)
A= 2, B =1
Hence,x(n) = [2(1)n(2)n]u(n)
(b)
X(z) = 1
1z1+1
2z2
=A(1 1
2z1) + B(1
2z1)
1z1+1
2z2
67
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
A= 1, B = 1
Hence,X(z) = 11
2(cosπ
4)z1
121
2(cosπ
4)z1+ ( 1
2)2z2
+
1
2(sinπ
4)z1
121
2(cosπ
4)z1+ ( 1
2)2z2
Hence,x(n) = (1
2)ncosπ
4n+ ( 1
2)nsinπ
4nu(n)
(c)
X(z) = z6
1z1+z7
1z1
x(n) = u(n6) + u(n7)
(d)
X(z) = 1
1 + z2+ 2 z2
1 + z2
X(z) = 2 1
1 + z2
x(n) = cosπ
2nu(n) + 2cosπ
2(n2)u(n2)
x(n) = 2δ(n)cosπ
2nu(n)
(e)
X(z) = 1
4
1 + 6z1+z2
(1 2z1+ 2z2)(1 1
2z1)
=A(1 z1)
12z1+ 2z2+Bz1
12z1+ 2z2+C
11
2z1
A=3
5, B =23
10, C =17
20
Hence,x(n) = 3
5(1
2)ncosπ
4n+23
10(1
2)nsinπ
4n+17
20(1
2)nu(n)
(f)
X(z) = 21.5z1
11.5z1+ 0.5z2
=1
11
2z1+1
1z1
x(n) = (1
2)n+ 1u(n)
(g)
X(z) = 1 + 2z1+z2
1 + 4z1+ 4z2
= 1 2z1+ 3z2
(1 + 2z1)(1 + 2z1)
68
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
= 1 2z1
1 + 2z1+z2
(1 + 2z1)2
x(n) = δ(n)2(2)n1u(n1) + (n1)(2)n1u(n1)
=δ(n) + (n3)(2)n1u(n1)
(h)
X(z) = 1
4
(z+1
2)(z+1
4)
(z1
2)(z1
2ejπ
4)(z1
2ejπ
4)
=1
4
(1 + 3
4z1+1
8z2)z1
(1 1
2z1)(1 z1+1
2z2)
=A(1 1
2z1)z1
1z1+1
2z2+A(1
2z1)z1
1z1+1
2z2+Cz1
11
2z1
A=1
2, B =7
8, C =3
4
Hence,x(n) = 1
2(1
2)n1
2cosπ
4(n1) + 7
8(1
2)n1
2sinπ
4(n1) + 3
4(1
2)n1u(n1)
(i)
X(z) = 11
4z1
1 + 1
2z1
=1
1 + 1
2z11
4
z1
1 + 1
2z1
x(n) = (1
2)nu(n) + 1
4(1
2)n1u(n1)
(j)
X(z) = 1az1
z1a
=1
a1az1
11
az1
=1
a1
11
az1az1
11
az1
x(n) = 1
a(1
a)nu(n) + ( 1
a)n1u(n1)
= (1
a)n+1u(n) + ( 1
a)n1u(n1)
3.15
X(z) = 5z1
(1 2z1)(3 z1)
=1
12z1+1
11
3z1
If |z|>2, x(n) = 2n(1
3)nu(n)
69
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
If 1
3<|z|<2, x(n) = (1
3)nu(n1) 2nu(n1)
If |z|<1
3, x(n) = (1
3)nu(n1) 2nu(n1)
3.16
(a)
x1(n) = 1
4(1
4)n1u(n1)
X1(z) = (1
4)z1
11
4z1,|z|>1
4
x2(n) = 1 + (1
2)nu(n)
X2(z) = 1
1z1+1
11
2z1,|z|>1
Y(z) = X1(z)X2(z)
=4
3
11
4z1+
1
3
1z1+1
11
2z1
y(n) = 4
3(1
4)n+1
3+ (1
2)nu(n)
(b)
x1(n) = u(n)
X1(z) = 1
1z1,
x2(n) = δ(n) + (1
2)nu(n)
X2(z) = 1 + 1
11
2z1
Y(z) = X1(z)X2(z)
=3
1z11
11
2z1
y(n) = 3(1
2)nu(n)
(c)
x1(n) = (1
2)nu(n)
X1(z) = 1
11
2z1,
x2(n) = cosπnu(n)
X2(z) = 1 + z1
1 + 2z1+z2
Y(z) = X1(z)X2(z)
=1 + z1
(1 1
2z1)(1 + 2z1+z2)
70
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=A(1 + z1)
1 + 2z1+z2+B
11
2z1
A=2
3, B =1
3
y(n) = 2
3cosπn +1
3(1
2)nu(n)
(d)
x1(n) = nu(n)
X1(z) = z1
(1 z1)2,
x2(n) = 2nu(n1)
X2(z) = 2z1
12z1
Y(z) = X1(z)X2(z)
=2z2
(1 z1)2(1 2z1)
=2
1z12z1
(1 z1)2+2
12z1
y(n) = 2(n+ 1) + 2n+1u(n)
3.17
z+[x(n+ 1)] = zX+(z)x(0)
=zX+(z)zx(0)
Therefore, zX+(z) =
X
n=0
x(n+ 1)zn+zx(0)
(z1)X+(z) =
X
n=0
x(n)zn+
X
n=0
x(n+ 1)zn+zx(0)
limz1X+(z)(z1) = x(0) +
X
n=0
x(n+ 1)
X
n=0
x(n)
=limm→∞ [x(0) + x(1) + x(2) + ...+x(m)
x(0) x(1)x(2) ...x(m)]
=limm→∞x(m+ 1)
=x()
3.18
(a)
X
n=−∞
x(n)zn=
X
n=−∞ x(n)(z)n
=X(z)
71
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b)
1
2[X(z) + X(z)] = 1
2[z{x(n)}+z{x(n)}]
=zx(n) + x(n)
2
=z[Re {x(n)}]
(c)
1
2j[X(z)X(z)] = zx(n)x(n)
2j
=z[Im {x(n)}]
(d)
Xk(z) =
X
n=−∞,n/kinteger
x(n
k)zn
=
X
m=−∞
x(m)zmk
=X(zk)
(e)
X
n=−∞
ejw0nx(n)zn=
X
n=−∞
x(n)(ejw0z)n
=X(zejw0)
3.19
(a)
X(z) = log(1 2z),|z|<1
2
Y(z) = zdX(z)
dz
=1
11
2z1,|z|<1
2
y(n) = (1
2)n, n < 0
Then,x(n) = 1
ny(n)
=1
n(1
2)nu(n1)
(b)
X(z) = log(1 1
2z1),|z|>1
2
Y(z) = zdX(z)
dz
72
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=1
2z1
11
2z1,|z|>1
2
Hence,y(n) = 1
2(1
2)n1u(n1)
x(n) = 1
ny(n)
=1
n(1
2)nu(n1)
3.20
(a)
x1(n) = rnsinw0nu(n),0< r < 1
X1(z) = rsinw0z1
12rcosw0z1+r2z2
Zero at z= 0 and poles at z=re±jw0=r(cosw0±jsinw0).
(b)
X2(z) = z
(1 rejw0z1)(1 rejw0z1)
=z
12rcosw0z1+r2z2
(c) X1(z) and X2(z) differ by a constant, which can be determined by giving the value of X1(z)
at z= 1.
3.21
Assume that the polynomial has real coefficients and a complex root and prove that the complex
conjugate of the root will also be a root. Hence, let p(z) be a polynomial and z1is a complex
root. Then,
anzn
1+an1zn1
1+...+a1z1+a0= 0 (1)
The complex conjugate of (1) is
an(z
1)n+an1(z
1)n1+...+a1(z
1) + a0= 0
Therefore, z
1is also a root.
3.22
Convolution property:
z{x1(n)x2(n)}=
X
n=−∞ "
X
k=−∞
x1(k)x2(nk)#zn
=
X
k=−∞
x1(k)
X
n=−∞
x2(nk)zn
73
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=
X
k=−∞
x1(k)zkX2(z)
=X1(z)X2(z)
Correlation property:
r12(l) = x1(n)x2(n)
R12(z) = z{x1(n)x2(n)}
=X1(z)z{x2(n)}
=X1(z)X2(z1)
3.23
X(z) = 1 + z+z2
2! +z3
3! +...
+1 + z1+z2
2! +z3
3! +...
x(n) = δ(n) + 1
n!
3.24
(a)
X(z) = 1
1 + 1.5z10.5z2
=0.136
10.28z1+0.864
1 + 1.78z1
Hence, x(n) = [0.136(0.28)n+ 0.864(1.78)n]u(n)
(b)
X(z) = 1
10.5z1+ 0.6z2
=10.25z1
10.5z1+ 0.6z2+ 0.3412 0.7326z1
10.5z1+ 0.6z2
Then, x(n) = (0.7746)n[cos1.24n+ 0.3412sin1.24n]u(n)
partial check: x(0) = 1, x(1) = 0.5016, x(2) = 0.3476, x() = 0. From difference equation,
x(n)0.5x(n1) + 0.6x(n2) = δ(n) we obtain, x(0) = 1, x(1) = 0.5, x(2) = 0.35, x() = 0.
3.25
(a)
X(z) = 1
11.5z1+ 0.5z2
=2
1z11
10.5z1
For |z|<0.5, x(n) = [(0.5)n2] u(n1)
74
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
For |z|>1, x(n) = [2 (0.5)n]u(n)
For 0.5<|z|<1, x(n) = (0.5)nu(n)2u(n1)
(b)
X(z) = 1
(1 0.5z1)2
=0.5z1
(1 0.5z1)22z
For |z|>0.5, x(n) = 2(n+ 1)(0.5)n+1u(n+ 1)
= (n+ 1)(0.5)nu(n)
For |z|<0.5, x(n) = 2(n+ 1)(0.5)n+1u(n2)
=(n+ 1)(0.5)nu(n1)
3.26
X(z) = 3
110
3z1+z2
=3
8
11
3z1+
27
8
13z1
ROC: 1
3<|z|<3, x(n) = 3
8(1
3)nu(n)27
83nu(n1)
3.27
X(z) =
X
n=−∞
x(n)zn
=
X
n=−∞
x1(n)x
2(n)zn
=
X
n=−∞
1
2πj Ic
X1(v)vn1dvx
2(n)zn
=1
2πj Ic
X1(v)dv "
X
n=−∞
x
2(n)(z
v)n#v1
=1
2πj Ic
X1(v)"
X
n=−∞
x2(n)(z
v)n#
v1dv
=1
2πj Ic
X1(v)X
2(z
v)v1dv
3.28
Conjugation property:
75
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
X
n=−∞
x(n)zn="
X
n=−∞
x(n)(z)n#
=X(z)
Parseval’s relation:
X
n=−∞
x1(n)x
2(n) =
X
n=−∞
1
2πj Ic
X1(v)vn1dvx
2(n)
=1
2πj Ic
X1(v)"
X
n=−∞
x
2(n)( 1
v)n#v1dv
=1
2πj Ic
X1(v)X
2(1
v)dv
3.29
x(n) = 1
2πj Ic
zndz
za,
where the radius of the contour cis rc>|a|. For n < 0, let w=1
z. Then,
x(n) = 1
2πj Ic
1
awn1
w1
a
dw,
where the radius of cis 1
rc. Since 1
rc<|a|, there are no poles within cand, hence x(n) = 0 for
n < 0.
3.30
x(n) = x(N1n),since x(n) is even. Then
X(z) =
N1
X
n=0
x(n)zn
=x(0) + x(1)z1+...+x(N2)zN+2 +x(N1)zN+1
=z(N1)/2
N
21
X
n=0
x(n)hz(N12n)/2+z(N12n)/2iNeven
If we substitute z1for zand multiply both sides by z(N1) we obtain
z(N1)X(z1) = X(z)
Hence, X(z) and X(z1) have identical roots. This means that if z1is root (or a zero) of X(z)
then 1
z1is also a root. Since x(n) is real, then z
1must also be a root and so must 1
z
1
3.31
From the definition of the Fibonacci sequence, y(n) = y(n1) + y(n2), y(0) = 1.This is
equivalent to a system described by the difference equation y(n) = y(n1) + y(n2) + x(n),
76
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
where x(n) = δ(n) and y(n) = 0, n < 0. The z-transform of this difference equation is Y(z) =
z1Y(z) + z2Y(z) = X(z) Hence, for X(z) = 1,we have
Y(z) = 1
1z1z2
Y(z) = A
15+1
2z1+B
115
2z1
where A=5 + 1
25, B =51
25=15
25
Hence, y(n) = 5 + 1
25(5 + 1
2)nu(n)15
25(15
2)nu(n)
=1
5"(1 + 5
2)n+1 (15
2)n+1#u(n)
3.32
(a)
Y(z)10.2z1=X(z)10.3z10.02z2
Y(z)
X(z)=(1 0.1z1)(1 0.2z1)
10.2z1
= 1 0.1z1
(b)
Y(z) = X(z)10.1z1
Y(z)
X(z)= 1 0.1z1
Therefore, (a) and (b) are equivalent systems.
3.33
X(z) = 1
1az1
x1(n) = anu(n)
or x2(n) = anu(n1)
Both x1(n) and x2(n) have the same autocorrelation sequence. Another sequence is obtained
from X(z1) = 1
1az
X(z1) = 1
1az
= 1 1
11
az1
Hence x3(n) = δ(n)(1
a)nu(n)
We observe that x3(n) has the same autocorrelation as x1(n) and x2(n)
77
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
3.34
H(z) = −∞
X
n=1
3nzn+
X
n=0
(2
5)nzn
=1
13z1+1
12
5z1,ROC: 2
5<|z|<3
X(z) = 1
1z1
Y(z) = H(z)X(z)
=13
5z1
(1 z1)(1 3z1)(1 2
5z1),ROC: 1 <|z|<2
=
13
6
1z1
3
2
13z1
2
3
12
5z1
Therefore,
y(n) = 3
23nu(n1) + 13
62
3(2
5)nu(n)
3.35
(a)
h(n) = (1
3)nu(n)
H(z) = 1
11
3z1
x(n) = (1
2)ncosπn
3u(n)
X(z) = 11
4z1
11
2z1+1
4z2
Y(z) = H(z)X(z)
=11
4z1
(1 1
3z1)(1 1
2z1+1
4z2)
=
1
7
11
3z1+
6
7(1 1
4z1
11
2z1+1
4z2+33
7
3
4z1
11
2z1+1
4z2
Therefore,
y(n) = "1
7(1
3)n+6
7(1
2)ncosπn
3+33
7(1
2)nsinπn
3#u(n)
(b)
h(n) = (1
2)nu(n)
H(z) = 1
11
2z1
x(n) = (1
3)nu(n) + (1
2)nu(n1)
78
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
X(z) = 1
11
3z11
12z1
Y(z) = H(z)X(z)
=5
3z1
(1 1
2z1)(1 1
3z1)(1 2z1)
=
10
3
11
2z1+2
11
3z1+4
3
12z1
Therefore,
y(n) = 10
3(1
2)n2(1
3)nu(n) + 4
32nu(n1)
(c)
y(n) = 0.1y(n1) + 0.2y(n2) + x(n) + x(n1)
H(z) = 1 + z1
1 + 0.1z10.2z2
x(n) = (1
3)nu(n)
X(z) = 1
11
3z1
Y(z) = H(z)X(z)
=1 + z1
(1 1
3z1)(1 + 0.1z10.2z2)
=8
11
3z1+
28
3
10.4z1+1
3
1 + 0.5z1
Therefore,
y(n) = 8(1
3)n+28
3(2
5)n1
3(1
2)nu(n)
(d)
y(n) = 1
2x(n)1
2x(n1)
Y(z) = 1
2(1 z1)X(z)
X(z) = 10
1 + z2
Hence, Y(z) = 10(1 z1)/2
1 + z2
y(n) = 5cosπn
2u(n)5cosπ(n1)
2u(n1)
=h5cosπn
25sinπn
2iu(n1) + 5δ(n)
= 5δ(n) + 10
2sin(πn
2+π
4)u(n1)
=10
2sin(πn
2+π
4)u(n)
(e)
y(n) = y(n2) + 10x(n)
79
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Y(z) = 10
1 + z2X(z)
X(z) = 10
1 + z2
Y(z) = 100
(1 + z2)2
=50
1 + jz1+50
1jz1+25jz1
(1 + jz1)2+25jz1
(1 jz1)2
Therefore,
y(n) = {50 [jn+ (j)n]25n[jn+ (j)n]}u(n)
= (50 25n)(jn+ (j)n)u(n)
= (50 25n)2cosπn
2u(n)
(f)
h(n) = (2
5)nu(n)
H(z) = 1
12
5z1
x(n) = u(n)u(n7)
X(z) = 1zn
1z1
Y(z) = H(z)X(z)
=1zn
(1 2
5z1)(1 z1)
=
5
3
1z1+2
3
12
5z15
3
1z1+2
3
12
5z1z7
Therefore,
y(n) = 1
352(2
5)nu(n)1
352(2
5)n7u(n7)
(g)
h(n) = (1
2)nu(n)
H(z) = 1
11
2z1
x(n) = (1)n,− ∞ < n <
=cosπn, − ∞ < n <
x(n) is periodic sequence and its z-transform does not exist.
y(n) = |H(w0)|cos[πn + Θ(w0)], w0=π
H(z) = 1
11
2ejw
H(π) = 1
1 + 1
2
=2
3,Θ = 0.
Hence, y(n) = 2
3cosπn, − ∞ < n <
80
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(h)
h(n) = (1
2)nu(n)
H(z) = 1
11
2z1
x(n) = (n+ 1)(1
4)nu(n)
X(z) = 1
11
4z1+
1
4z1
(1 1
4z1)2
Y(z) = H(z)X(z)
=1
(1 1
2z1)(1 1
4z1)2
=4
11
2z1+1
4z1
(1 1
4z1)2+3
11
4z1
Therefore,
y(n) = 4(1
2)nn(1
4)n3(1
4)nu(n)
3.36
H(z) = 12z1+ 2z2z3
(1 z1)(1 1
2z1)(1 1
5z1),1
2<|z|<1
=1z1+z2
(1 1
2z1)(1 1
5z1),1
2<|z|<1
(a) Z1,2=1±j3
2, p1=1
2, p2=1
5
(b) H(z) = 1 + 5
2
11
2z1+2.8
11
5z1z1
h(n) = δ(n) + 5(1
2)n14(1
5)nu(n)
3.37
y(n) = 0.7y(n1) 0.12y(n2) + x(n1) + x(n2)
Y(z) = z1+z2
10.7z1+ 0.12z2X(z)
x(n) = nu(n)
X(z) = z1
(1 z1)2
Y(z) = z2+z3
(1 z1)2(1 3
10 z1)(1 2
50 z2)
System is stable
Y(z) = 4.76z1
(1 z1)2+12.36
(1 z1)+26.5
(1 3
10 z1)+38.9
(1 2
5z1)
81
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
y(n) = 4.76n12.36 26.5( 3
10)n+ 38.9( 2
5)nu(n)
3.38
(a)
y(n) = 3
4y(n1) 1
8y(n2) + x(n)
Y(z) = 1
13
4z1+1
8z2X(z)
Impulse Response: X(z) = 1
Y(z) = 2
11
2z11
11
4z1
h(n) = 2(1
2)n(1
4)nu(n)
Since the poles of H(z) are inside the unit circle, the system is stable (poles at z=1
2,1
4).
Step Response: X(z) = 1
1z1
Y(z) =
8
3
1z12
11
2z1+
1
3
11
4z1
y(n) = 8
32(1
2)n+1
3(1
4)nu(n)
(b)
y(n) = y(n1) 1
2y(n2) + x(n) + x(n1)
Y(z) = 1 + z1
1z1+1
2z2X(z)
H(z) has zeros at z= 0,1, and poles at z=1±j
2. Hence, the system is stable.
Impulse Response: X(z) = 1
Y(z) = 1(2)1cosπ
4z1
12(2)1cosπ
4z1+ ( 1
2)2z2+
3
2z1
1z1+1
2z2
y(n) = h(n) = ( 1
2)nhcosπ
4n+sinπ
4niu(n)
Step Response: X(z) = 1
1z1
Y(z) = 1 + z1
(1 z1)(1 z1+1
2z2
=(1 1
2z1)
1z1+1
2z2+
1
2z1
1z1+1
2z2+2
1z1
y(n) = ( 1
2)nhsinπ
4ncosπ
4niu(n) + 2u(n)
(c)
H(z) = z1(1 + z1)
(1 z1)3
82
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
h(n) = n2u(n)
Triple pole on the unit circle the system is unstable.
Step Response: X(z) = 1
1z1
Y(z) = z1(1 + z1)
(1 z1)4
=1
3
z1(1 + 4z1+z2)
(1 z1)4+1
2
z1(1 + z1)
(1 z1)3+1
6
z1
(1 z1)2
y(n) = (1
3n3+1
2n2+1
6n)u(n)
=1
6n(n+ 1)(2n+ 1)u(n)
(d)
y(n) = 0.6y(n1) 0.08y(n2) + x(n)
Y(z) = 1
10.6z1+ 0.08z2X(z)
Impulse Response: X(z) = 1
H(z) = 1
(1 1
5z1)(1 2
5z1)
zeros at z= 0, poles at p1=1
2, p2=2
5system is stable.
H(z) = 1
11
5z1+2
12
5z1
h(n) = 2(2
5)n(1
5)nu(n)
Step Response: X(z) = 1
1z1
Y(z) = 1
(1 1
5z1)(1 2
5z1)(1 z1)
Y(z) =
25
12
1z1+
1
4
11
5z1+4
3
12
5z1
y(n) = 25
12 +1
4(1
5)n4
3(2
5)nu(n)
(e)
y(n) = 0.7y(n1) 0.1y(n2) + 2x(n)x(n2)
Y(z) = 2z2
10.7z1+ 0.1z2X(z)
=2z2
(1 1
5z1)(1 1
2z1)X(z)
zeros at z= 0,2, and poles at z=1
2,1
5. Hence, the system is stable.
Impulse Response: X(z) = 1
H(z) = 2 + 5
3
11
2z1+
46
15
11
5z1z1
83
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
h(n) = 2δ(n)5
3(1
2)n1u(n1) + 46
15(1
5)n1u(n1)
Step Response: X(z) = 1
1z1
Y(z) = 2z2
(1 z1)(1 1
2z1)(1 1
5z1)
=
5
2
1z1+
10
3
11
2z1+23
6
11
5z1
y(n) = 5
2+10
3(1
2)n23
6(1
5)nu(n)
3.39
X(z) = (1 + z1)
(1 1
2z1)(1 pz1)(1 pz1), p =1
2+j
2
(a)
x1(n) = x(n+ 2)
X1(z) = z2X(z1)
=z2(1 + z)
(1 1
2z)(1 pz)(1 pz),ROC:|z|<2
Zero at z=1, Poles at z= 2,1
p,1
pand z= 0.
(b)
x2(n) = ejπn
3x(n)
X2(z) = X(ejπ
3z)
=1 + ejπ
3z1
(1 1
2ejπ
3z1)(1 pejπ
3z1)(1 pejπ
3z1)
All poles and zeros are rotated by π
3in a counterclockwise direction. The ROC for X2(z) is
the same as the ROC of X(z).
3.40
x(n) = (1
2)nu(n)1
4(1
2)n1u(n1)
X(z) = 1
11
2z11
4
z1
11
2z1
=11
4z1
11
2z1
y(n) = (1
3)nu(n)
Y(z) = 1
11
3z1
84
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(a)
H(z) = Y(z)X(z)
=11
2z1
(1 1
4z1)(1 1
3z1)
=3
11
4z12
11
3z1
h(n) = 3(1
4)n2(1
3)nu(n)
(b)
H(z) = 11
2z1
17
12 z1+1
12 z2
y(n) = 7
12y(n1) 1
12y(n2) + x(n)1
2x(n1)
(c) Refer to fig 3.40-1.
(d) The poles of the system are inside the unit circle. Hence, the system is stable.
x(n)
7/12
-1/12
-1/2
+
+
+
z-1
z
-1
y(n)
Figure 3.40-1:
3.41
H(z) = 1
1 + a1z1+a2z2
If a2
14a2<0,there are two complex poles
p1,2=a1±jp4a2a2
1
2
85
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
|p1,2|2= (a1
2)2+ p4a2a2
1
2!2
<1
a2<1
If a2
1a4a20,there are two real poles
p1,2=a1±pa2
14a2
2
a1+pa2
14a2
2<1 and
a1pa2
14a2
2>1
a1a2<1 and
a1+a2>1
Refer to fig 3.41-1.
real
real
real
-1-2 1 2
complex
a2
a1
-1
a1
+a2=-1 a1
-a 2=1
a2
=1/4 a
12
Figure 3.41-1:
3.42
H(z) = z1+1
2z2
13
5z1+2
25 z2
86
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(a)
H(z) = z17
2
11
5z1+
9
2
12
5z1
h(n) = 7
2(1
5)n1+9
2(2
5)n1u(n1)
(b)
Y(z) = H(z)X(z)
X(z) = 1
1z1
Y(z) =
25
8
1z1+
7
8
11
5z1+3
12
5z1
y(n) = 25
8+7
8(1
5)n3(2
5)nu(n)
(c) Determine the response caused by the initial conditions and add it to the response in (b).
y(n)3
5y(n1) + 2
25y(n2) = 0
Y+(z)3
5Y+(z)z1+ 1+2
25 Y+(z)z2+z1+ 2= 0
Y+(z) =
2
25 z111
25
(1 1
5z1)(1 2
5z1)
=
1
25
11
5z1+12
25
12
5z1
y+(n) = 1
25(1
5)n12
25(2
5)nu(n)
Therefore, the total step response is
y(n) = 25
8+33
200(1
5)n87
25(2
5)nu(n)
3.43
[aY (z) + X(z)] z2=Y(z)
Y(z) = z2
1az2X(z)
Assume that a > 0. Then
H(z) = 1
a+
1
a
(1 az1)(1 + az1)
=1
a+1
2a
1
1az1+1
2a
1
1 + az1
h(n) = 1
aδ(n) + 1
2a(a)n+ (a)nu(n)
Step Response: X(z) = 1
1z1
Y(z) = z2
(1 z1)(1 az1)(1 + az1)
87
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=
1
(a1)
1z1+
1
2(aa)
1az1+
1
2(a+a)
1 + az1
y(n) = 1
a1+1
2(aa)(a)n+1
2(a+a)(a)nu(n)
3.44
y(n) = a1y(n1) + b0x(n) + b1x(n1)
Y(z) = b0+b1z1
1 + a1z1X(z)
(a)
H(z) = b0+b1z1
1 + a1z1h(n) = b0(a1)nu(n) + b1(a1)n1u(n1)
=b0+(b1b0a1)z1
1 + a1z1h(n) = b0δ(n) + (b1b0a1)(a1)n1u(n1)
(b)
Step Response: X(z) = 1
1z1
Y(z) = b0+b1z1
(1 z1)(1 + a1z1)
=b0+b1
1 + a1
1
1z1+a1b0b1
1 + a1
1
1 + a1z1
y(n) = b0+b1
1 + a1
+a1b0b1
1 + a1
(a1)nu(n)
(c) Let us compute the zero-input response and add it to the response in (b). Hence,
Y+(z) + a1z1Y+(z) + A= 0
Y+(z) = a1A
1 + a1z1
yzi(n) = a1A(a1)nu(n)
The total response to a unit step is
y(n) = b0+b1
1 + a1
+a1b0b1a1A(1 + a1)
1 + a1
(a1)nu(n)
(d)
x(n) = cosw0nu(n)
X(z) = 1z1cosw0
12z1cosw0+z2
Y(z) = (b0+b1z1)(1 z1cosw0)
(1 + a1z1)(1 2z1cosw0+z2)
=A
1 + a1z1+B(1 z1cosw0)
12z1cosw0+z2+C(z1cosw0)
12z1cosw0+z2
Then, y(n) = [A(a1)n+Bcosw0+Csinw0]u(n)
88
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
where A, B and Care determined from the equations
A+B=b0
(2cosw0)A+ (a1cosw0)B+ (sinw0)C=b1b0cosw0
A(a1cosw0)B+ (sinw0)C=b1cosw0
3.45
y(n) = 1
2y(n1) + 4x(n) + 3x(n1)
Y(z) = 4 + 3z1
11
2z1X(z)
x(n) = ejw0nu(n)
X(z) = 1
1ejw0z1
Y(z) = 4 + 3z1
(1 1
2z1)(1 ejw0z1)
Y(z) = A
11
2z1+B
1ejw0z1
where A=5
1
2ejw0
B=4ejw0+ 3
ejw01
2
Then y(n) = A(1
2)n+Bejw0nu(n)
The steady state response is
limn→∞y(n)yss(n) = Bejw0n
3.46
(a)
H(z) = C(zrejΘ)(zrejΘ)
z(z+ 0.8)
=C12rcosΘz1+r2z2
(1 + 0.8z1)
H(z)|z=1 = 1 C=1.8
12rcosΘ + r2= 2.77
(b) The poles are inside the unit circle, so the system is stable.
(c) y(n) = 0.8y(n1) + Cx(n)1.53Cx(n1) + 2.25Cx(n2). Refer to fig 3.46-1.
3.47
(a)
X1(z) = z2+z+ 1 + z1+z2
89
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
x(n)
-0.8 -1.5 3
2.25
+
++
z-1
z-1
cy(n)
Figure 3.46-1:
X2(z) = 1 + z1+z2
Y(z) = X1(z)X2(z)
=z2+ 2z+ 3 + 3z1+ 3z2+ 2z3+z4
Hence, x1(n)x2(n) = y(n)
=1,2,3
,3,3,2,1
By one-sided transform:
X+
1(z) = 1 + z1+z2
X+
2(z) = 1 + z1+z2
Y+(z) = 1 + 2z1+ 3z2+ 2z3+z4
Hence, y(n) = {1,2,3,2,1}
(b) Since both x1(n) and x2(n) are causal, the one-sided and two-sided transform yield identical
results. Thus,
Y(z) = X1(z)X2(z)
=1
(1 1
2z1)(1 1
3z1)
=3
11
2z12
11
3z1
Therefore, y(n) = 3(1
2)n2(1
3)nu(n)
(c)
By convolution,
y(n) = x1(n)x2(n)
=4,11,20,30
,20,11,4
90
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
By one-sided z-transform,
X+
1(z) = 2 + 3z1+ 4z2
X+
2(z) = 2 + z1
Y+(z) = X+
1(z)X+
2(z)
= 4 + 8z1+ 11z2+ 4z3
Therefore, y(n) = 4
,8,11,4
(d) Both x1(n) and x2(n) are causal. Hence, both types of transform yield the same result, i.e,
X1(z) = 1 + z1+z2+z3+z4
X2(z) = 1 + z1+z2
Then, Y(z) = X1(z)X2(z)
= 1 + 2z1+ 3z2+ 3z3+ 3z4+ 2z5+z6
Therefore, y(n) = 1
,2,3,3,3,2,1
3.48
X+(z) =
X
n=0
x(n)zn
=
X
n=0
zn
=1
1z1,|z|>1
3.49
(a)
Y+(z) + 1
2z1Y+(z) + y(1)1
4z2Y+(z) + z1y(1) + y(2)= 0
(a)
Hence, Y+(z) =
1
4z11
4
1 + 1
2z11
4z2
=0.154
10.31z10.404
1 + 0.81z1
Therefore, y(n) = [0.154(0.31)n0.404(0.81)n]u(n)
(b)
Y+(z)1.5z1Y+(z) + 1+ 0.5z2Y+(z) + z1+ 0= 0
Y+(z) = 1.50.5z1
11.5z1+ 0.5z2
=2
1z10.5
10.5z1
Therefore, y(n) = [2 0.5(0.5)n]u(n)
=2(0.5)n+1u(n)
91
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(c)
Y+(z)0.5z1Y+(z) + 1=1
11
3z1
Y+(z) = 1.51
6z1
(1 1
3z1)(1 0.5z1)
=
7
2
10.5z12
11
3z1
Hence, y(n) = 7
2(0.5)n2(1
3)nu(n)
(d)
Y+(z)1
4z2Y+(z) + 1=1
1z1
Y+(z) =
5
41
4z1
(1 z1)(1 1
4z2)
=
4
3
1z1+3
8
11
2z1+
7
24
1 + 1
2z1
Hence, y(n) = 4
33
8(1
2)n+7
24(1
2)nu(n)
3.50
If h(n) is real, even and has a finite duration 2N+ 1, then (with M= 2N+ 1)
H(z) = h(0) + h(1)z1+h(2)z2+...+h(M1)z(M1)/2
since h(n) = h(Mn1),then
H(z) = z(M1)/2(h(0) hz(M1)/2+z(M1)/2i
+h(1) hz(M3)/2+z(M3)/2i+. . . +h(M1/2))
with M= 2N+ 1, the expression becomes
H(z) = zN(h(0) zN+zN
+h(1) hzN1+z(N1)i
+h(2) hzN2+z(N2)i+...+h(N))
=zN(h(N) +
N1
X
n=0
h(n)zNn+
N1
X
n=0
h(n)z(Nn))
=zNh(N) + P(z) + P(z1)
Now, suppose z1is a root of H(z), i.e.,
H(z1) = zN
1h(N) + P(z1) + P(z1
1)= 0
Then, h(N) + P(z1) + P(z1
1) = 0.
This implies that H(1
z1) = 0 since we again have
h(N) + P(z1
1) + P(z1) = 0.
92
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
3.51
(a)
H(z) = z1
(z+1
2)(z+ 3)(z2),ROC: 1
2<|z|<2
(b) The system can be causal if the ROC is |z|>3, but it cannot be stable.
(c)
H(z) = A
1 + 1
2z1+B
1 + 3z1+C
12z1
(1) The system can be causal; (2) The system can be anti-causal; (3) There are two other
noncausal responses.The corresponding ROC for each of these possibilities are :
ROC1:|z|>3; ROC2:|z|<3; ROC3:1
2<|z|<2; ROC4: 2 <|z|<3;
3.52
x(n) is causal.
(a)
X(z) =
X
n=0
x(n)zn
limz→∞X(z) = x(0)
(b)(i) X(z) = (z1
2)4
(z1
3)3limz→∞X(z) = ∞ ⇒ x(n) is not causal.
(ii) X(z) = (11
2z2)2
11
3z1limz→∞X(z) = 1 Hence X(z) can be associated wih a causal
sequence.
(iii) X(z) = (z1
3)2
(z1
2)3limz→∞X(z) = 0. Hence X(z) can be associated wih a causal
sequence.
3.53
The answer is no. For the given system h1(n) = anu(n)H1(z) = 1
1az1,|a|<1.This system
is causal and stable. However when h2(n) = anu(n+ 3) H2(z) = a3z3
1az1the system is stable
but is not causal.
3.54
Initial value theorem for anticausal signals: If x(n) is anticausal, then x(0) = limz0X(z)
Proof: X(z) = P0
n=−∞ x(n)zn=x(0) + x(1)z+x(2)z2+... Then limz0X(z) = x(0)
3.55
s(n) = (1
3)n2u(n+ 2)
(a)
h(n) = s(n)s(n1)
93
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
= (1
3)n2u(n+ 2) (1
3)n3u(n+ 1)
= 34δ(n+ 2) 54δ(n+ 1) 18(1
3)nu(n)
H(z) = 81z254z+18
11
3z1
=81z(z1)
11
3z1
H(z) has zeros at z= 0,1 and a pole at z=1
3.
(b) h(n) = 81δ(n+ 2) 54δ(n+ 1) 18(1
3)nu(n)
(c) The system is not causal, but it is stable since the pole is inside the unit circle.
3.56
(a)
x(n) = 1
2πj Ic
zn1
11
2z1dz
=1
2πj Ic
zn
z1
2
dz
for n0, x(n) = (1
2)n
for n < 0, x(1) = 1
2πj Ic
1
z(z1
2)dz
=1
z1
2|z=0 +1
z|z=1
2= 0
x(2) = 1
2πj Ic
1
z2(z1
2)dz
=d
dz 1
z1
2|z=0 +1
z2|z=1
2= 0
By continuing this process, we find that x(n) = 0 for n < 0.
(b)
X(z) = 1
11
2z1,|z|<1
2
x(n) = 1
2πj Ic
zn
z1
2
dz, where c is contour of radius less than1
2
For n0, there are no poles enclosed in c and, hence, x(n) = 0. For n < 0, we have
x(1) = 1
2πj Ic
1
z(z1
2)dz
=1
z1
2|z=0 =2
x(2) = 1
2πj Ic
1
z2(z1
2)dz
=d
dz 1
z1
2|z=0 =4
94
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Alternatively, we may change variables by letting w=z1. Then,
x(n) = 1
2πj Ic
wn
w11
2
(1
w2)dw,
=1
2πj Ic
1
wn+1(1 1
2w)dw
=1
2πj Ic
2wn1
w2) dw
=(2)n, n < 0
(c)
X(z) = za
1az ,|z|>1
|a|
x(n) = 1
2πj Ic
zn1za
1az dz, c has a radius greater than 1
|a|
=1
2πj Ic
1
a
zn1(za)
z1
a
dz
For n0, x(n) = 1
a(1
a)n1(1
aa)
= ( 1
a)n1(1
a)n+1
For n= 0, x(n) = 1
2πj Ic
1
a
(za)
z(z1
a)dz
=1
aa
1
a
+
1
aa
1
a
=1
a(a2+ 1 a2)
=1
a
For n < 0,we let w=z1.Then
x(n) = 1
2πj Ic
wn1(w1a)
1aw1(1
w2)dw,
= 0,for n < 0
(d)
X(z) = 11
4z1
11
6z11
6z2,|z|>1
2
=
3
10
11
2z1+
7
10
1 + 1
3z1
x(n) = 1
2πj Ic
3
10 zn
z1
2
dz +1
2πj Ic
7
10 zn
z+1
3
dz
where the radius of the contour c is greater than |z|=1
2. Then, for n0
x(n) = 3
10(1
2)n+7
10(1
3)nu(n)
For n < 0, x(n) = 0
95
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
3.57
X(z) = 1a2
(1 az)(1 az1), a < |z|<1
a,0< a < 1
=1
1az1+1
11
az1
x(n) = 1
2πj Ic
zn
zadz 1
2πj Ic
zn
z1
a
dz
For n0,1
2πj Ic
zn
zadz =anand
1
2πj Ic
zn
z1
a
dz = 0
For n < 0,1
2πj Ic
zn
zadz = 0 and
1
2πj Ic
zn
z1
a
dz =an
3.58
X(z) = z20
(z1
2)(z2)5(z+5
2)2(z+ 3),1
2<|z|<2
x(n) = 1
2πj Ic
zn1z20
(z1
2)(z2)5(z+5
2)2(z+ 3)dz
x(18) = 1
2πj Ic
z
(z1
2)(z2)5(z+5
2)2(z+ 3)dz
=
1
2
(1
22)5(1
2+5
2)2(1
2+ 3)
=1
2
(3
2)5(3)2(7
2)
=25
(37)(7)
=32
15309
96
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Chapter 4
4.1
(a) Since xa(t) is periodic, it can be represented by the fourier series
xa(t) =
X
k=−∞
ckej2πkt/τ
where ck=1
τZτ
0
Asin(πt/τ)ej2πkt/τ dt
=A
j2τZτ
0hejπt/τ ejπt/τ iej2πkt/τ dt
=A
j2τejπ(12k)t/τ
jπ
2(1 2k)ejπ(1+2k)t/τ
jπ
2(1 + 2k)τ
0
=A
π1
12k+1
1 + 2k
=2A
π(1 4k2)
Then, Xa(F) = Z
−∞
xa(t)ej2π(Fk
τ)tdt
=
X
k=−∞
ckZ
−∞
ej2π(Fk
τ)tdt
=
X
k=−∞
ckδ(Fk
τ)
Hence, the spectrum of xa(t) consists of spectral lines of frequencies k
τ, k = 0,±1,±2,...with
amplitude |ck|and phases 6ck.
(b) Px=1
τRτ
0x2
a(t)dt =1
τRτ
0A2sin2(πt
τ)dt =A2
2
(c) The power spectral density spectrum is |ck|2, k = 0,±1,±2,.... Refer to fig 4.1-1.
(d) Parseval’s relation
Px=1
τZτ
0
x2
a(t)dt
=|ck|2
X
k=−∞ |ck|2=4A2
π2
X
k=−∞
1
(4k21)2
97
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
.
.
.
.
.
...
..
.
|c
-2 |2
|c-1 |2
|c
0|
2
|c
1|2
|c 2|2
-1 0 1 2-2 k
Figure 4.1-1:
=4A2
π21 + 2
32+2
152+...
1 + 2
32+2
152+...= 1.2337(Infinite series sum to π2
8)
Hence,
X
k=−∞ |ck|2=4A2
π2(1.2337)
=A2
2
4.2
(a)
xa(t) = Aeatu(t), a > 0
Xa(F) = Z
0
Aeatej2πF tdt
=A
aj2πF e(a+j2πF )t
0
=A
a+j2πF
|Xa(F)|=A
pa2+ (2πF )2
98
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
6Xa(F) = tan1(2πF
a)
Refer to fig 4.2-1
−10 −5 0 5 10
0
0.1
0.2
0.3
0.4
0.5 A = 2, a = 4
−−> F
|Xa(F)|
−10 −5 0 5 10
−2
−1
0
1
2
−−> F
phase of Xa(F)
Figure 4.2-1:
(b)
Xa(F) = Z
0
Aeatej2πF tdt +Z
0
Aeatej2πF tdt
=A
aj2πF +A
a+j2πF
=2aA
a2+ (2πF )2
|Xa(F)|=2aA
a2+ (2πF )2
6Xa(F) = 0
Refer to fig 4.2-2
4.3
(a) Refer to fig 4.3-1.
x(t) = 1|t|
τ,|t| ≤ τ
0,otherwise
Xa(F) = Z0
τ
(1 + t
τ)ej2πF tdt +Zτ
0
(1 t
τ)ej2πF tdt
Alternatively, we may find the fourier transform of
y(t) = x(t) = 1
τ,τ < t 0
1
τ,0< t τ
99
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 5 10 15 20 25
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7 A = 2, a = 6
−−−> F
|Xa(F)|
Figure 4.2-2:
x(t)
t
0τ
−τ 0 1/τ 2/τ
|X(F)|
F
Figure 4.3-1:
100
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Then,
Y(F) = Zτ
τ
y(t)ej2πF tdt
=Z0
τ
1
τej2πF tdt +Zτ
0
(1
τ)ej2πF tdt
=2sin2πF τ
jπF τ
and X(F) = 1
j2πF Y(F)
=τsinπF τ
πF τ 2
|X(F)|=τsinπF τ
πF τ 2
6Xa(F) = 0
(b)
ck=1
TpZTp/2
Tp/2
x(t)ej2πkt/Tpdt
=1
TpZ0
τ
(1 + t
τ)ej2πkt/Tpdt +Zτ
0
(1 t
τ)ej2πkt/Tpdt
=τ
Tpsinπkτ/Tp
πkτ /Tp2
(c) From (a) and (b), we have ck=1
TpXa(k
Tp)
4.4
(a)
x(n) = . . . , 1,0,1,2,3
,2,1,0,1,...
N= 6
ck=1
6
5
X
n=0
x(n)ej2πkn/6
=h3 + 2ej2πk
6+ej2πk
3+ej4πk
3+ 2ej10πk
6i
=1
63 + 4cosπk
3+ 2cos2πk
3
Hence, c0=9
6, c1=4
6, c2= 0, c3=1
6, c4= 0, c5=4
6
(b)
Pt=1
6
5
X
n=0 |x(n)|2
=1
6(32+ 22+ 12+ 02+ 12+ 22)
101
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=19
16
Pf=
5
X
n=0 |c(n)|2
=(9
16)2+ ( 4
6)2+ 02+ (1
6)2+ 02+ (4
6)2)
=19
16
Thus, Pt=Pf
=19
16
4.5
x(n) = 2 + 2cosπn/4 + cosπn/2 + 1
2cos3πn/4,N= 8
(a)
ck=1
8
7
X
n=0
x(n)ejπkn/4
x(n) = 11
2,2 + 3
42,1,23
42,1
2,23
42,1,2 + 3
42
Hence, c0= 2, c1=c7= 1, c2=c6=1
2, c3=c5=1
4, c4= 0
(b)
P=
7
X
i=0 |c(i)|2
= 4 + 1 + 1 + 1
4+1
4+1
16 +1
16
=53
8
4.6
(a)
x(n) = 4sinπ(n2)
3
= 4sin2π(n2)
6
ck=1
6
5
X
n=0
x(n)e2jπkn/6
=4
6
5
X
n=0
sin2π(n2)
6e2jπkn/6
=1
3hej2πk/3ejπk/3+ejπk/3+ej2πk/3i
102
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=1
3(j2) sin2πk
6+sinπk
3ej2πk/3
Hence, c0= 0, c1=j2ej2π/3, c2=c3=c4= 0, c5=c
1
and |c1|=|c5|= 2,|c0|=|c2|=|c3|=|c4|= 0
6c1=π+π
22π
3=5π
6
6c5=5π
6
6c0=6c2=6c3=6c4= 0
(b)
x(n) = cos2πn
3+sin2πn
5N= 15
ck=c1k+c2k
where c1kis the DTFS coefficients of cos 2πn
3and c2kis the DTFS coefficients of sin 2πn
5. But
cos2πn
3=1
2(ej2πn
3+ej2πn
3)
Hence,
c1k=1
2, k = 5,10
0,otherwise
Similarly,
sin2πn
5=1
2j(ej2πn
5ej2πn
5).
Hence,
c2k=
1
2j, k = 3
1
2j, k = 12
0,otherwise
Therefore,
ck=c1k+c2k
1
2j, k = 3
1
2, k = 5
1
2, k = 10
1
2j, k = 12
0,otherwise
(c) x(n) = cos2πn
3sin2πn
5=1
2sin16πn
15 1
2sin4πn
15 . Hence, N= 15. Following the same method
as in (b) above, we find that
ck=
1
4j, k = 2,7
1
4j, k = 8,13
0,otherwise
(d)
N= 5
ck=1
5
4
X
n=0
x(n)ej2πnk
5
=1
5hej2πk
5+ 2ej4πk
52ej6πk
5ej8πk
5i
=2j
5sin(2πk
5)2sin(4πk
5)
103
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Therefore, c0= 0,
c1=2j
5sin(2π
5) + 2sin(4π
5)
c2=2j
5sin(4π
5)2sin(2π
5)
c3=c2
c4=c1
(e)
N= 6
ck=1
6
5
X
n=0
x(n)ej2πnk
6
=1
6h1 + 2ejπk
3ej2πk
3ej4πk
3+ 2ej5πk
3i
=1
61 + 4cos(πk
3)2cos(2πk
3)
Therefore, c0=1
2
c1=2
3
c2= 0
c3=5
6
c4= 0
c5=2
3
(f)
N= 5
ck=1
5
4
X
n=0
x(n)ej2πnk
5
=1
5h1 + ej2πk
5i
=2
5cos(πk
5)ejπk
5
Therefore, c0=2
5
c1=2
5cos(π
5)ejπ
5
c2=2
5cos(2π
5)ej2π
5
c3=2
5cos(3π
5)ej3π
5
c4=2
5cos(4π
5)ej4π
5
(g) N= 1 ck=x(0) = 1 or c0= 1
(h)
N= 2
104
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
ck=1
2
1
X
n=0
x(n)ejπnk
=1
2(1 ejπk)
c0= 0, c1= 1
4.7
(a)
x(n) =
7
X
k=0
ckej2πnk
8
Note that if ck=ej2πpk
8,then
7
X
k=0
ej2πpk
8ej2πnk
8=
7
X
n=0
ej2π(p+n)k
8
= 8, p =n
= 0, p 6=n
Since ck=1
2hej2πk
8+ej2πk
8i+1
2jhej6πk
8ej6πk
8i
We have x(n) = 4δ(n+ 1) + 4δ(n1) 4jδ(n+ 3) + 4jδ(n3),3n5
(b)
c0= 0, c1=3
2, c2=3
2, c3= 0, c4=3
2, c5=3
2, c6=c7= 0
x(n) =
7
X
k=0
ckej2πnk
8
=3
2hejπn
4+ej2πn
4ej4πn
4ej5πn
4i
=3hsinπn
2+sinπn
4iejπ(3n2)
4
(c)
x(n) =
4
X
k=3
ckej2πnk
8
= 2 + ejπn
4+ejπn
4+1
2ejπn
2+1
2ejπn
2+1
4ej3πn
4+1
4ej3πn
4
= 2 + 2cosπn
4+cosπn
2+1
2cos3πn
4
4.8
(a)
If k= 0,±N, ±2N,...
N1
X
n=0
ej2πkn/N =
N1
X
n=0
1 = N
105
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
If k6= 0,±N, ±2N, . . .
N1
X
n=0
ej2πkn/N =1ej2πk
1ej2πk/N
= 0
(b) Refer to fig 4.8-1.
(c)
s3
s3(0)
(2)
s3(4)
s3(1)
s3(3)
s3(5)
k=3
s2(1)
s2(0)
s2(2)
s2(5)
s2(4)
s2(3)
k=2
s1
(2) s1(1)
s1(0)
s1
(5)
s1
(4)
s1
(3)
k=1
s
s (0)
s
s
s
s (3)
s s
s(0)
s
s
s(3)
4(5)
4(2)
4(1)
4(4)
4
4
5(4) 5(5)
5
5(1)
5(2)
5
s6(0)
.
.
.
s6(5)
k=6k=4 k=5
Figure 4.8-1:
N1
X
n=0
sk(n)s
i(n) =
N1
X
n=0
ej2πkn/N ej2πin/N
=
N1
X
n=0
ej2π(ki)n/N
=N, k =i
= 0, k 6=i
Therefore, the {sk(n)}are orthogonal.
4.9
(a)
x(n) = u(n)u(n6)
106
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
X(w) =
X
n=−∞
x(n)ejwn
=
5
X
n=0
ejwn
=1ej6w
1ejw
(b)
x(n) = 2nu(n)
X(w) =
0
X
n=−∞
2nejwn
=
X
m=0
(ejw
2)n
=2
2ejw
(c)
x(n) = (1
4)nu(n+ 4)
X(w) =
X
n=4
(1
4)nejwn
= (
X
m=0
(1
4)mejwm)44ej4w
=44ej4w
11
4ejw
(d)
x(n) = αnsinw0nu(n),|α|<1
X(w) =
X
n=0
αnejw0nejw0n
2jejwn
=1
2j
X
n=0 hαej(ww0)in1
2j
X
n=0 hαej(w+w0)in
=1
2j1
1αej(ww0)1
1αej(w+w0)
=αsinw0ejw
12αcosw0ejw +α2ej2w
(e)
x(n) = |α|nsinw0n, |α|<1
Note that
X
n=−∞ |x(n)|=
X
n=−∞ |α|n|sinw0n|
Suppose that w0=π
2,so that |sinw0n|= 1.
X
n=−∞ |α|n=
X
n=−∞ |x(n)| → ∞.
107
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Therefore, the fourier transform does not exist.
(f)
x(n) = 2(1
2)n,|n| ≤ 4
0,otherwise
X(w) =
4
X
n=4
x(n)ejwn
=
4
X
n=42(1
2)nejwn
=2ej4w
1ejw
1
24ej4w+ 4ej4w3ej3w+ej3w2ej2w+ 2ej2wejw +ejw
=2ej4w
1ejw +j[4sin4w+ 3sin3w+ 2sin2w+sinw]
(g)
X(w) =
X
n=−∞
x(n)ejwn
=2ej2wejw +ejw + 2ej2w
=2j[2sin2w+sinw]
(h)
x(n) = A(2M+ 1 − |n|),|n| ≤ M
0,|n|> M
X(w) =
M
X
n=M
x(n)ejwn
=A
M
X
n=M
(2M+ 1 − |n|)ejwn
= (2M+ 1)A+A
M
X
k=1
(2M+ 1 k)(ejwk +ejwk)
= (2M+ 1)A+ 2A
M
X
k=1
(2M+ 1 k)coswk
4.10
(a)
x(n) = 1
2πZπ
π
X(w)ejwndw
=1
2πZw0
π
ejwndw +1
2πZπ
w0
ejwndw
x(0) = 1
2π(πw0) + 1
2π(πw0)
108
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=πw0
π
For n6= 0,Zw0
π
ejwndw =1
jnejwn|w0
π
=1
jn(ejw0nejπn)
Zπ
w0
ejwndw =1
jnejwn|π
w0
=1
jn(ejπn ejw0n)
Hence, x(n) = sinnw0
, n 6= 0
(b)
X(w) = cos2(w)
= (1
2ejw +1
2ejw)2
=1
4(ej2w+ 2 + ej2w)
x(n) = 1
2πZπ
π
X(w)ejwndw
=1
8π[2πδ(n+ 2) + 4πδ(n) + 2πδ(n2)]
=1
4[δ(n+ 2) + 2δ(n) + δ(n2)]
(c)
x(n) = 1
2πZπ
π
X(w)ejwndw
=1
2πZw0+δw
2
w0δw
2
ejwndw
=2
πδw sin(w/2)
w/2ejnw0
(d)
x(n) = 1
2πRe (Zπ/8
0
2ejwndw +Z3π/8
π/8
ejwndw +Z7π/8
6π/8
ejwndw +Zπ
7π/8
ejwndw)
=1
π"Zπ/8
0
2coswndw +Z3π/8
π/8
coswndw +Z7π/8
6π/8
coswndw +Zπ
7π/8
2coswndw#
=1
sin7πn
8+sin6πn
8sin3πn
8sinπn
8
4.11
xe(n) = x(n) + x(n)
2
109
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=1
2,0,1,2
,1,0,1
2
xo(n) = x(n)x(n)
2
=1
2,0,2,0
,2,0,1
2
Then, XR(w) =
3
X
n=3
xe(n)ejwn
jXI(w) =
3
X
n=3
xo(n)ejwn
Now, Y(w) = XI(w) + XR(w)ej2w.Therefore,
y(n) = F1{XI(w)}+F1XR(w)ej2w
=jxo(n) + xe(n+ 2)
=1
2,0,1j
2,2,1 + j
2,0
,1
2j2,0,j
2
4.12
(a)
x(n) = 1
2π"Z9π/10
8π/10
ejwndw +Z8π/10
9π/10
ejwndw + 2 Zπ
9π/10
ejwndw + 2 Z9π/10
π
ejwndw#
=1
2π1
jn(ej9πn/10 ej9πn/10 ej8πn/10 +ej8πn/10)
+2
jn(ej9πn/10 +ej9πn/10 +ejπn ejπn)
=1
[sinπn sin8πn/10 sin9πn/10]
=1
[sin4πn/5 + sin9πn/10]
(b)
x(n) = 1
2πZ0
π
X(w)ejwndw +1
2πZπ
0
X(w)ejwndw
=1
2πZ0
π
(w
π+ 1)ejwndw +1
2πZπ
0
w
πejwndw
=1
2πw
jejwn|π
π+ejwn
jn |0
π
=1
πn sin πn
2ej/2
(c)
x(n) = 1
2πZwc+w
2
wcw
2
2ejwndw +1
2πZwc+w
2
wcw
2
2ejwndw
=1
π1
jejwn|wc+w
2
wcw
2+ejwn
jn |wc+w
2
wcw
2
110
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=2
πn ej(wc+w
2)nej(wcw
2)n+ej(wcw
2)nej(wc+w
2)n
2j
=2
πn hsin(wc+w
2)nsin(wcw
2)ni
4.13
x1(n) = 1,0nM
0,otherwise
X1(w) =
M
X
n=0
ejwn
=1ejw(M+1)
1ejw
x2(n) = 1,Mn≤ −1
0,otherwise
X2(w) = 1
X
n=M
ejwn
=
M
X
n=1
ejwn
=1ejwM
1ejw ejw
X(w) = X1(w) + X2(w)
=1 + ejw ejw 1ejw(M+1) ejw(M+1) +ejwM +ejwM
2ejw ejw
=2coswM 2cosw(M+ 1)
22cosw
=2sin(wM +w
2)cosw
2
2sin2w
2
=sin(M+1
2)w
sin(w
2)
4.14
(a) X(0) = Pnx(n) = 1
(b) 6X(w) = πfor all w
(c) x(0) = 1
2πRπ
πX(w)dw Hence, Rπ
πX(w)dw = 2πx(0) = 6π
(d)
X(π) =
X
n=−∞
x(n)ej=X
n
(1)nx(n) = 342 = 9
(e) Rπ
π|X(w)|2dw = 2πPn|x(n)|2= (2π)(19) = 38π
111
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
4.15
(a)
X(w) = X
n
x(n)ejwn
X(0) = X
n
x(n)
dX(w)
dw |w=0 =jX
n
nx(n)ejwn|w=0
=jX
n
nx(n)
Therefore, c=jdX(w)
dw |w=0
X(0)
(b) See fig 4.15-1 X(0) = 1 Therefore, c=0
1= 0.
w
dX(w)
dw
Figure 4.15-1:
4.16
x1(n)anu(n)
F
1
1aejw
112
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Now, suppose that
xk(n) = (n+k1)!
n!(k1)! anu(n)
F
1
(1 aejw)k
holds. Then
xk+1(n) = (n+k)!
n!k!anu(n)
=n+k
kxk(n)
Xk+1(w) = 1
kX
n
nxk(n)ejwn +X
n
xk(n)ejwn
=1
kjdXk(w)
dw +Xk(w)
=aejw
(1 aejw)k+1 +1
(1 aejw)k
4.17
(a) X
n
x(n)ejwn = (X
n
x(n)ej(w)n)=X(w)
(b)
X
n
x(n)ejwn =
X
n=−∞
x(n)ejwn =X(w)
(c)
X
n
y(n)ejwn =X
n
x(n)ejwn X
n
x(n1)ejwn
Y(w) = X(w) + X(w)ejw
= (1 ejw)X(w)
(d)
y(n) =
n
X
k=−∞
x(k)
=y(n)y(n1)
=x(n)
Hence, X(w) = (1 ejw)Y(w)
Y(w) = X(w)
1ejw
(e)
Y(w) = X
n
x(2n)ejwn
=X
n
x(n)ejw
2n
=X(w
2)
113
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(f)
Y(w) = X
n
x(n
2)ejwn
=X
n
x(n)ej2wn
=X(2w)
4.18
(a)
X1(w) = X
n
x(n)ejwn
=ej2w+ejw + 1 + ejw +ej2w
= 1 + 2cosw + 2cos2w
(b)
X2(w) = X
n
x2(n)ejwn
=ej4w+ej2w+ 1 + ej2w+ej4w
= 1 + 2cos2w+ 2cos4w
(c)
X3(w) = X
n
x3(n)ejwn
=ej6w+ej3w+ 1 + ej3w+ej6w
= 1 + 2cos3w+ 2cos6w
(d) X2(w) = X1(2w) and X3(w) = X1(3w). Refer to fig 4.18-1
(e) If
xk(n) = x(n
k),n
kan integer
0,otherwise
Then,
Xk(w) = X
n, n
kan integer
xk(n)ejwn
=X
n
x(n)ejkwn
=X(kw)
4.19
(a)
x1(n) = 1
2(ejπn/4+ejπn/4)x(n)
X1(w) = 1
2hX(wπ
4) + X(w+π
4)i
114
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
X(w)
2
X(w)
1
X(w)
3
w
w
−π 0 π −0.5π 00.5π π
−π/3 0 π/3 π
Figure 4.18-1:
(b)
x2(n) = 1
2j(ejπn/2+ejπn/2)x(n)
X2(w) = 1
2jhX(wπ
2) + X(w+π
2)i
(c)
x3(n) = 1
2(ejπn/2+ejπn/2)x(n)
X3(w) = 1
2hX(wπ
2) + X(w+π
2)i
(d)
x4(n) = 1
2(ejπn +ejπn)x(n)
X4(w) = 1
2[X(wπ) + X(w+π)]
=X(wπ)
4.20
cy
k=1
N
N1
X
n=0
y(n)ej2πkn/N
115
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=1
N
N1
X
n=0 "
X
l=−∞
x(nlN )#ej2πkn/N
=1
N
X
l=−∞
N1lN
X
m=lN
x(m)ej2πk(m+lN )/N
But
X
l=−∞
N1lN
X
m=lN
x(m)ejw(m+lN)=X(w)
Therefore, cy
k=1
NX(2πk
N)
4.21
Let xN(n) = sinwcn
πn ,NnN
=x(n)w(n)
where x(n) = sinwcn
πn ,− ∞ n≤ ∞
w(n) = 1,NnN
= 0,otherwise
Then sinwcn
πn
F
X(w)
= 1,|w| ≤ wc
= 0,otherwise
XN(w) = X(w)W(w)
=Zπ
π
X(Θ)W(wΘ)dΘ
=Zwc
wc
sin(2N+ 1)(wΘ)/2
sin(wΘ)/2dΘ
4.22
(a)
X1(w) = X
n
x(2n+ 1)ejwn
=X
k
x(k)ejwk/2ejw/2
=X(w
2)ejw/2
=ejw/2
1aejw/2
(b)
X2(w) = X
n
x(n+ 2)eπn/2ejwn
=X
k
x(k)ejk(w+jπ/2)ej2w
116
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=X(w+jπ
2)ej2w
(c)
X3(w) = X
n
x(2n)ejwn
=X
k
x(k)ejkw/2)
=X(w
2)
(d)
X4(w) = X
n
1
2(ej0.3πn +ej0.3πn)x(n)ejwn
=1
2X
n
x(n)hej(w0.3π)n+ej(w+0.3π)ni
=1
2[X(w0.3π) + X(w+ 0.3π)]
(e) X5(w) = X(w)X(w)ejw=X2(w)ejw
(f)
X6(w) = X(w)X(w)
=1
(1 aejw)(1 aejw)
=1
(1 2acosw +a2)
4.23
(a) Y1(w) = Pny1(n)ejwn =Pn,n even x(n)ejwn The fourier transform Y1(w) can easily be
obtained by combining the results of (b) and (c).
(b)
y2(n) = x(2n)
Y2(w) = X
n
y2(n)ejwn
=X
n
x(2n)ejwn
=X
m
x(m)ejwm/2
=X(w
2)
Refer to fig 4.23-1.
(c)
y3(n) = x(n/2), n even
0,otherwise
Y3(w) = X
n
y3(n)ejwn
117
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
−π −π/2 0 π/2 π 3π/2
Y(w)
2
Figure 4.23-1:
=X
neven
x(n/2)ejwn
=X
m
x(m)ej2wm
=X(2w)
We now return to part(a). Note that y1(n) may be expressed as
y1(n) = y2(n/2), n even
0, n odd
Hence, Y1(w) = Y2(2w). Refer to fig 4.23-2.
Y(w)
3
Y(w)
1
−π/8 0π/8 π/2 7π/8 π
−π −7π/8
−π −3π/4 −π/2 −π/4 0 π/4 π/2 3π/4 π
Figure 4.23-2:
118
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Chapter 5
5.1
(a) Because the range of nis (−∞,), the fourier transforms of x(n) and y(n) do not exist.
However, the relationship implied by the forms of x(n) and y(n) is y(n) = x3(n). In this case,
the system H1is non-linear.
(b) In this case,
X(w) = 1
11
2ejw ,
Y(w) = 1
11
8ejw ,
Hence, H(w) = Y(w)
X(w)
=11
2ejw
11
8ejw
System is LTI
Note however that the system may also be nonlinear, e.g., y(n) = x3(n).
(c) and (d). Clearly, there is an LTI system that produces y(n) when excited by x(n), e.g.
H(w) = 3, for all w, or H(π
5) = 3.
(e) If this system is LTI, the period of the output signal would be the same as the period of the
input signal, i.e., N1=N2. Since this is not the case, the system is nonlinear.
5.2
(a)
WR(w) =
M
X
n=0
wR(n)ejwn
=
M
X
n=0
ejwn
=1ej(M+1)w
1ejw
=ejMw/2sin(M+1
2)w
sinw
2
119
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b) Let wT(n) = hR(n)hR(n1),
hR(n) = 1,0nM
21
0,otherwise
Hence,
WT(w) = H2
R(w)ejw
= sinM
4w
sinw
2!2
ejwM/2
(c)
Let c(n) = 1
2(1 + cos2πn
M)
Then, C(w) = πδ(w) + 1
2δ(w2π
M) + 1
2δ(w+2π
M)πwπ
Wc(w) = 1
2πZπ
π
c(Θ)WR(wΘ)dΘ
=1
2WR(w) + 1
2WR(w2π
M) + 1
2WR(w+2π
M)
Refer to fig 5.2-1
−2π/Μ+1 0 2π/Μ+1 −4π/Μ 0 4π/Μ
−2π/Μ −2π/Μ+1 0 2π/Μ+1 2π/Μ
|W(w)|
R
|W(w)|
T
|W(w)|
c
w w
w
Figure 5.2-1:
5.3
(a)
h(n) = (1
2)nu(n)
120
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
H(w) =
X
n=0
(1
2)nejwn
=
X
n=0
(1
2ejw)n
=1
11
2ejw
|H(w)|=1
(1 1
2cosw)2+ (1
2sinw)21
2
=1
5
4cosw1
2
6H(w) = tan1
1
2sinw
11
2cosw
Θ(w)
(b) (1)
For the input x(n) = cos 3π
10 n
=1
2(ej3πn
10 +ej3πn
10 )
X(w) = πδ(w3π
10 ) + δ(w+3π
10 ),|w| ≤ π
Y(w) = H(w)X(w)
=H(3π
10 )πδ(w3π
10 ) + δ(w+3π
10 )
y(n) = |H(3π
10 )|cos 3πn
10 + Θ(3π
10 )
(2)
x(n) = . . . , 1,0,0,1
,1,1,0,1,1,1,0, . . .
First, determine xe(n) = x(n) + x(n)
2
and xo(n) = x(n)x(n)
2
Then, XR(w) = X
n
xe(n)ejwn
XI(w) = X
n
xo(n)ejwn
|H(w)|=X2
R(w) + X2
I(w),
Θ(w) = tan1XI(w)
XR(w)
and Y(w) = H(w)X(w)
121
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
5.4
(a)
y(n) = x(n) + x(n1)
2
Y(w) = 1
2(1 + ejw)X(w)
H(w) = 1
2(1 + ejw)
= (cosw
2)ejw/2
Refer to fig 5.4-1.
(b)
−4 −3 −2 −1 0 1 2 3 4
0
0.2
0.4
0.6
0.8
1
−−> w
−−> |H(w)|
−4 −3 −2 −1 0 1 2 3 4
−2
−1
0
1
2
−−> w
−−> theta(w)
Figure 5.4-1:
y(n) = x(n)x(n1)
2
Y(w) = 1
2(1 ejw)X(w)
H(w) = 1
2(1 ejw)
= (sinw
2)ejw/2ejπ/2
Refer to fig 5.4-2.
(c)
y(n) = x(n+ 1) x(n1)
2
122
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1 1.5 2 2.5 3 3.5
0
0.2
0.4
0.6
0.8
1
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
0
0.5
1
1.5
2
−−> w
−−> theta(w)
Figure 5.4-2:
Y(w) = 1
2(ejw ejw )X(w)
H(w) = 1
2(ejw ejw )
= (sinw)ejπ/2
Refer to fig 5.4-3.
(d)
y(n) = x(n+ 1) + x(n1)
2
Y(w) = 1
2(ejw +ejw )X(w)
H(w) = 1
2(ejw +ejw )
=cosw
Refer to fig 5.4-4
(e)
y(n) = x(n) + x(n2)
2
Y(w) = 1
2(1 + ej2w)X(w)
H(w) = 1
2(1 + ej2w)
= (cosw)ejw
Refer to fig 5.4-5.
(f)
123
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1 1.5 2 2.5 3 3.5
0
0.2
0.4
0.6
0.8
1
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
0.5
1
1.5
2
2.5
3
−−> w
−−> theta(w)
Figure 5.4-3:
0 0.5 1 1.5 2 2.5 3 3.5
0
0.2
0.4
0.6
0.8
1
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
0
1
2
3
4
−−> w
−−> theta(w)
Figure 5.4-4:
124
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1 1.5 2 2.5 3 3.5
0
0.2
0.4
0.6
0.8
1
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−2
−1
0
1
2
−−> w
−−> theta(w)
Figure 5.4-5:
y(n) = x(n)x(n2)
2
Y(w) = 1
2(1 ej2w)X(w)
H(w) = 1
2(1 ej2w)
= (sinw)ejw+jπ/2
Refer to fig 5.4-6
(g)
y(n) = x(n) + x(n1) + x(n2)
3
Y(w) = 1
3(1 + ejw +ej2w)X(w)
H(w) = 1
3(1 + ejw +ej2w)
=1
3(1 + ejw +ejw )ejw
=1
3(1 + 2cosw)ejw
|H(w)|=|1
3(1 + 2cosw)|
6H(w) = w, 1 + 2cosw > 0
πw, 1 + 2cosw < 0
Refer to fig 5.4-7.
(h)
125
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1 1.5 2 2.5 3 3.5
0
0.2
0.4
0.6
0.8
1
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−2
−1
0
1
2
−−> w
−−> theta(w)
Figure 5.4-6:
0 0.5 1 1.5 2 2.5 3 3.5
0
0.2
0.4
0.6
0.8
1
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−3
−2
−1
0
1
2
−−> w
−−> theta(w)
Figure 5.4-7:
126
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
y(n) = x(n)x(n8)
Y(w) = (1 ej8w)X(w)
H(w) = (1 ej8w)
= 2(sin4w)ej(π/24w)
Refer to fig 5.4-8.
(i)
0 0.5 1 1.5 2 2.5 3 3.5
0
0.5
1
1.5
2
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−2
−1
0
1
2
−−> w
−−> theta(w)
Figure 5.4-8:
y(n) = 2x(n1) x(n2)
Y(w) = (2ejw ej2w)X(w)
H(w) = (2ejw ej2w)
= 2cosw cos2wj(2sinw sin2w)
|H(w)|=(2cosw cos2w)2+ (2sinw sin2w)21
2
Θ(w) = tan12sinw sin2w
2cosw cos2w
Refer to fig 5.4-9.
(j)
y(n) = x(n) + x(n1) + x(n2) + x(n3)
4
Y(w) = 1
4(1 + ejw +ej2w+ej3w)X(w)
H(w) = 1
3ejw(ejw +ejw ) + ej2w(ejw +ejw)
=1
2(ejw +ej2w)cosw
127
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1 1.5 2 2.5 3 3.5
1
1.5
2
2.5
3
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−2
−1
0
1
2
−−> w
−−> theta(w)
Figure 5.4-9:
= (cosw)(cosw
2)ej3w/2
Refer to fig 5.4-10.
(k)
y(n) = x(n) + 3x(n1) + 3x(n2) + x(n3)
8
Y(w) = 1
8(1 + 3ejw + 3ej2w+ej3w)X(w)
H(w) = 1
8(1 + ejw)3
= (cosw/2)3ej3w/2
Refer to fig 5.4-11.
(l)
y(n) = x(n4)
Y(w) = ej4wX(w)
H(w) = ej4w
|H(w)|= 1
Θ(w) = 4w
Refer to fig 5.4-12.
(m)
y(n) = x(n+ 4)
Y(w) = ej4wX(w)
H(w) = ej4w
128
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1 1.5 2 2.5 3 3.5
0
0.2
0.4
0.6
0.8
1
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−2
−1
0
1
2
−−> w
−−> theta(w)
Figure 5.4-10:
0 0.5 1 1.5 2 2.5 3 3.5
0
0.2
0.4
0.6
0.8
1
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−2
−1
0
1
2
−−> w
−−> theta(w)
Figure 5.4-11:
129
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1 1.5 2 2.5 3 3.5
0
0.5
1
1.5
2
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−2
−1
0
1
2
−−> w
−−> theta(w)
Figure 5.4-12:
|H(w)|= 1
Θ(w) = 4w
Refer to fig 5.4-13.
(n)
y(n) = x(n)2x(n1) + x(n2)
4
Y(w) = 1
4(1 2ejw +ej2w)X(w)
H(w) = 1
4(1 ejw)2
= (sin2w/2)ej(wπ)
Refer to fig 5.4-14.
5.5
(a)
y(n) = x(n) + x(n10)
Y(w) = (1 + ej10w)X(w)
H(w) = (2cos5w)ej5w
Refer to fig 5.5-1.
(b)
130
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1 1.5 2 2.5 3 3.5
0
0.5
1
1.5
2
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−2
−1
0
1
2
−−> w
−−> theta(w)
Figure 5.4-13:
0 0.5 1 1.5 2 2.5 3 3.5
0
0.2
0.4
0.6
0.8
1
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
0
1
2
3
4
−−> w
−−> theta(w)
Figure 5.4-14:
131
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1 1.5 2 2.5 3 3.5
0
0.5
1
1.5
2
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−2
−1
0
1
2
−−> w
−−> theta(w)
Figure 5.5-1:
H(π
10) = 0
H(π
3) = (2cos5π
3)ej5π
3
y(n) = (6cos5π
3)sin(π
3+π
10 5π
3)
= (6cos5π
3)sin(π
347π
30 )
(c)
H(0) = 2
H(4π
10 ) = 2
y(n) = 20 + 10cos2πn
5+π
2
5.6
h(n) = δ(n) + 2δ(n2) + δ(n4)
H(w) = 1 + 2ej2w+ej4w
= (1 + ej2w)2
= 4(cosw)2ej2w
Steady State Response: H(π
2) = 0
Therefore, yss(n) = 0,(n4)
132
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Transient Response:
ytr(n) = 10eπn
2u(n) + 20eπ(n2)
2u(n2) + 10eπ(n4)
2u(n4)
= 10δ(n) + j10δ(n1) + 10δ(n2) + j10δ(n3)
5.7
(a)
y(n) = x(n) + x(n4)
Y(w) = (1 + ej4w)X(w)
H(w) = (2cos2w)ej2w
Refer to fig 5.7-1.
(b)
0 0.5 1 1.5 2 2.5 3 3.5
0
0.5
1
1.5
2
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−2
−1
0
1
2
−−> w
−−> theta(w)
Figure 5.7-1:
y(n) = cosπ
2n+cosπ
4n+cosπ
2(n4) + cosπ
4(n4)
But cosπ
2(n4) = cosπ
2ncos2π+sinπ
2nsin2π
=cosπ
2n
and cosπ
4(n4) = cosπ
4ncosπ sinπ
4nsinπ
=cosπ
4n
Therefore, y(n) = 2cosπ
2n
(c) Note that H(π
2) = 2 and H(π
4) = 0. Therefore, the filter does not pass the signal cos(π
4n).
133
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
5.8
y(n) = 1
2[x(n)x(n2)]
Y(w) = 1
2(1 ej2w)X(w)
H(w) = 1
2(1 ej2w)
= (sinw)ej(π
2w)
H(0) = 0, H(π
2) = 1
Hence, yss(n) = 3cos(π
2n+ 60o)
ytr(n) = 0
5.9
x(n) = Acosπ
4n
(a) y(n) = x(2n) = Acosπ
2nw=π
2
(b) y(n) = x2(n) = A2cos2π
4n=1
2A2+1
2A2cosπ
2n. Hence, w= 0 and w=π
2
(c)
y(n) = x(n)cosπn
=Acosπ
4ncosπn
=A
2cos5π
4n+A
2cos3π
4n
Hence, w=3π
4and w=5π
4
5.10
(a)
y(n) = 1
2[x(n) + x(n1)]
Y(w) = 1
2(1 + ejw)X(w)
H(w) = 1
2(1 + ejw)
=cos(w
2)ejw
2
Refer to fig 5.10-1.
(b)
y(n) = 1
2[x(n)x(n1)]
Y(w) = 1
2(1 ejw)X(w)
|H(w)|=sinw
2
Θ(w) = ej(π
2w
2)
134
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1 1.5 2 2.5 3 3.5
0
0.2
0.4
0.6
0.8
1
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−2
−1.5
−1
−0.5
0
−−> w
−−> theta(w)
Figure 5.10-1:
Refer to fig 5.10-2.
(c)
y(n) = 1
8[x(n) + 3x(n1) + 3x(n2) + x(n3)]
Y(w) = 1
8(1 + ejw)3X(w)
H(w) = 1
8(1 + ejw)3
=cos3(w
2)ej3w
2
Refer to fig 5.10-3.
135
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1 1.5 2 2.5 3 3.5
0
0.2
0.4
0.6
0.8
1
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
0
0.5
1
1.5
2
−−> w
−−> theta(w)
Figure 5.10-2:
0 0.5 1 1.5 2 2.5 3 3.5
0
0.2
0.4
0.6
0.8
1
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−2
−1
0
1
2
−−> w
−−> theta(w)
Figure 5.10-3:
136
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
5.11
y(n) = x(n) + x(nM)
Y(w) = (1 + ejwM )X(w)
H(w) = (1 + ejwM )
H(w) = 0,at wM
2= (k+1
2)π, k = 0,1,...
or w= (2k+ 1)π/M, k = 0,1,...
|H(w)|=|2coswM
2|
5.12
y(n) = 0.9y(n1) + bx(n)
(a)
Y(w) = 0.9ejwY(w) + bX(w)
H(w) = Y(w)
X(w)
=b
10.9ejw
|H(0)|= 1,b=±0.1
Θ(w) = wM
2, coswM
2>0
πwM
2, coswM
2<0
(b) |H(w0)|2=1
2b2
1.811.8cosw0=1
2w0= 0.105
(c) The filter is lowpass.
(d) For |H(w0)|2=1
2w0= 3.036. This filter is a highpass filter.
5.13
(a)
Px=1
N
N1
X
n=0 |x(n)|2
=
N1
X
k=0 |ck|2
=c2
0+ 2
N
21
X
k=1 |ck|2
Spurious power = Px2|ck0|2
THD = Px2|ck0|2
Px
= 1 2|ck0|2
Px
137
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b) for f0 = 1
96 , refer to fig 5.13-1
for f0 = 1
32 , refer to fig 5.13-2
for f0 = 1
256 , refer to fig 5.13-3
(c) for f0 = 1
96 , refer to fig 5.13-4
for f0 = 1
32 , refer to fig 5.13-5
for f0 = 1
256 , refer to fig 5.13-6
The total harmonic distortion(THD) reduces as the number of terms in the Taylor approxi-
mation is increased.
0 50 100
−20
−10
0
10
−−> x(n)
terms= 2
0 50 100
−50
0
50
−−> x(n)
terms= 3
0 50 100
−40
−20
0
20
−−> x(n)
terms= 4
0 50 100
−10
0
10
20
−−> x(n)
terms= 5
0 50 100
−5
0
5
−−> x(n)
terms= 6
0 50 100
−2
0
2
4
−−> x(n)
terms= 7
0 50 100
−2
−1
0
1
−−> x(n)
terms= 8
Figure 5.13-1:
138
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 20 40
−20
−10
0
10
−−> x(n)
terms= 2
0 20 40
−20
0
20
40
−−> x(n)
terms= 3
0 20 40
−40
−20
0
20
−−> x(n)
terms= 4
0 20 40
−10
0
10
20
−−> x(n)
terms= 5
0 20 40
−4
−2
0
2
−−> x(n)
terms= 6
0 20 40
−1
0
1
2
−−> x(n)
terms= 7
0 20 40
−2
−1
0
1
−−> x(n)
terms= 8
Figure 5.13-2:
0 100 200 300
−20
−10
0
10
−−> x(n)
terms= 2
0 100 200 300
−50
0
50
−−> x(n)
terms= 3
0 100 200 300
−40
−20
0
20
−−> x(n)
terms= 4
0 100 200 300
−20
0
20
40
−−> x(n)
terms= 5
0 100 200 300
−10
−5
0
5
−−> x(n)
terms= 6
0 100 200 300
−2
0
2
4
−−> x(n)
terms= 7
0 100 200 300
−2
−1
0
1
−−> x(n)
terms= 8
Figure 5.13-3:
139
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1
−200
−100
0
100
psd
orig cos thd=2.22e−16
0 0.5 1
−400
−200
0
200
psd
terms=2 thd=0.06186
0 0.5 1
−100
−50
0
50
psd
terms=3 thd=0.4379
0 0.5 1
−100
−50
0
50
psd
terms=4 thd=0.5283
0 0.5 1
−100
−50
0
50
psd
terms=5 thd=0.6054
0 0.5 1
−100
−50
0
50
psd
terms=6 thd=0.6295
0 0.5 1
−200
−100
0
100
psd
terms=7 thd=0.06924
0 0.5 1
−200
−100
0
100
psd
terms=8 thd=0.002657
Figure 5.13-4:
0 0.5 1
−100
−50
0
50
psd
orig cos thd=0
0 0.5 1
−100
−50
0
50
psd
terms=2 thd=0.07905
0 0.5 1
−100
−50
0
50
psd
terms=3 thd=0.4439
0 0.5 1
−100
−50
0
50
psd
terms=4 thd=0.5312
0 0.5 1
−100
−50
0
50
psd
terms=5 thd=0.5953
0 0.5 1
−100
−50
0
50
psd
terms=6 thd=0.6509
0 0.5 1
−100
−50
0
50
psd
terms=7 thd=0.05309
0 0.5 1
−100
−50
0
50
psd
terms=8 thd=0.001794
Figure 5.13-5:
140
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1
−200
−100
0
100
psd
orig cos thd=−6.661e−16
0 0.5 1
−200
−100
0
100
psd
terms=2 thd=0.05647
0 0.5 1
−200
−100
0
100
psd
terms=3 thd=0.4357
0 0.5 1
−200
−100
0
100
psd
terms=4 thd=0.5271
0 0.5 1
−200
−100
0
100
psd
terms=5 thd=0.6077
0 0.5 1
−200
−100
0
100
psd
terms=6 thd=0.6238
0 0.5 1
−200
−100
0
100
psd
terms=7 thd=0.07458
0 0.5 1
−200
−100
0
100
psd
terms=8 thd=0.002976
Figure 5.13-6:
5.14
(a) Refer to fig 5.14-1
(b) f0=1
50
0 100 200 300
−1
−0.5
0
0.5
1
−−> n
−−> x(n)
0 100 200 300
−1.5
−1
−0.5
0
0.5
1
1.5
−−> n
−−> xq(n)
Figure 5.14-1:
bits 4 6 8 16
THD 9.4616e04 5.3431e05 3.5650e06 4.2848e11
(c) f0=1
100
bits 4 6 8 16
THD 9.1993e04 5.5965e05 3.0308e06 4.5383e11
141
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(d) As the number of bits are increased, THD is reduced considerably.
5.15
(a) Refer to fig 5.15-1
(b) Refer to fig 5.15-2
0 50 100
−1
−0.5
0
0.5
1f=0.25
0 50 100
−1
−0.5
0
0.5
1f=0.2
0 50 100
−1
−0.5
0
0.5
1f=0.1
0 50 100
−4
−2
0
2
4x 10−14 f=0.5
Figure 5.15-1:
The response of the system to xi(n) can be seen from fig 5.15-3
5.16
(a)
H(w) =
X
n=−∞
h(n)ejwn
=1
X
n=−∞
(1
3)nejwn +
X
n=0
(1
3)nejwn
=
1
2ejw
11
3ejw +1
11
3ejw
=4
53cosw
142
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
0
0.2
0.4
0.6
0.8
1
freq(Hz)
magnitude
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−1
−0.5
0
freq(Hz)
phase
Figure 5.15-2:
0 50 100
−0.1
−0.05
0
0.05
0.1 f=0.25
0 50 100
−0.1
−0.05
0
0.05
0.1
0.15 f=0.2
0 50 100
−0.2
−0.1
0
0.1
0.2
0.3 f=0.1
0 50 100
−6
−4
−2
0
2x 10−15 f=0.5
Figure 5.15-3:
143
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
|H(w)|=4
53cosw
6H(w) = 0
(b) (1)
x(n) = cos3πn
8
X(w) = πδ(w3πn
8) + δ(w+3πn
8),πwπ
Y(w) = H(w)X(w)
=4π
53cos3π
8δ(w3πn
8) + δ(w+3πn
8)
Hence, the output is simply y(n) = Acos3πn
8
where A=H(w)|w=3π
8=H(3π
8)
(2)
x(n) = . . . , 1,1,1,1
,1,1,1,1,1,...
=cosπn, −∞ < n <
H(w)|w=π=4
53cosπ =4
8=1
2
y(n) = 1
2cosπn
Y(w) = π
2[δ(wπ) + δ(w+π)]
5.17
(a)
y(n) = x(n)2cosw0x(n1) + x(n2)
h(n) = δ(n)2cosw0δ(n1) + δ(n2)
(b)
H(w) = 1 2cosw0ejw +ej2w
= (1 ejw0ejw )(1 ejw0ejw)
=4ejwsinw+w0
2sinww0
2
=2ejw(cosw cosw0)
|H(w)|= 2|cosw cosw0|
⇒ |H(w)|= 0 at w=±w0
Refer to fig 5.17-1.
(c)
when w0=π/2, H(w) = 1 ej2w
at w=π/3, H(π/3) = 1 ej2π/3= 1ejπ/3
y(n) = |H(π/3)|3cos(π
3n+ 30o60o)
= 3cos(π
3n30o)
144
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1 1.5 2 2.5 3 3.5
0
0.5
1
1.5
2
2.5
3w0 = pi/3
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−2
−1
0
1
2
−−> w
−−> theta(w)
Figure 5.17-1:
5.18
(a)
y(n) = x(n)x(n4)
H(w) = 1 ej4w
= 2ej2wejπ/2sin2w
Refer to fig 5.18-1.
(b)
x(n) = cosπ
2n+cosπ
4n, H(π
2n) = 0
y(n) = 2cosπ
4n, H(π
4) = 2,6H(π
4) = 0
(c) The filter blocks the frequency at w=π
2.
5.19
y(n) = 1
2[x(n)x(n2)]
H(w) = 1
2(1 ej2w)
=ejwejπ/2sinw
145
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1 1.5 2 2.5 3 3.5
0
0.5
1
1.5
2
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−2
−1
0
1
2
−−> w
−−> theta(w)
Figure 5.18-1:
x(n) = 5 + 3sin(π
2n+ 60o) + 4sin(πn + 45o)
H(0) = 0, H(π
2) = 1, H(π) = 0
y(n) = 3sin(π
2n+ 60o)
5.20
(a)
y(n) = x(2n)This is a linear, time-varying system
Y(w) =
X
n=−∞
y(n)ejwn
=
X
n=−∞
x(2n)ejwn
=X(w
2)
= 1,|w| ≤ π
2
= 0,π
2≤ |w| ≤ π
(b)
y(n) = x2(n)This is a non-linear, time-invariant system
146
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Y(w) = 1
2πX(w)X(w)
Refer to fig 5.20-1.
(c)
Y(w)
w
1/4
−π/2 0 π/2
Figure 5.20-1:
y(n) = (cosπn)x(n)This is a time-varying system
Y(w) = 1
2π[πδ(wπ) + πδ(w+π)] X(w)
=1
2[X(wπ) + X(w+π)]
= 0,|w| ≤ 3π
4
=1
2,3π
4≤ |w| ≤ π
5.21
h(n) = (1
4)ncosπ
4nu(n)
(a)
H(z) = 11
4cosπ
4z1
12(1
4)cosπ
4z1+ (1
4)2z2
=12
8z1
12
4z1+1
16 z2
(b) Yes. Refer to fig 5.21-1
(c) Poles at z=1
4e±jπ
4, zeros at z=2
8.
H(w) = 12
8ejw
12
4ejw +1
16 ej2w. Refer to fig 5.21-2.
(d)
x(n) = (1
4)nu(n)
X(z) = 1
11
4z1
147
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
x(n)
z-1
++
+
z-1
z-1
y(n)
- 2 /8
-1/16
2 /4
Figure 5.21-1:
Y(z) = X(z)H(z)
=
1
2
11
4z1+
1
2(1 2
8z1)
12
4z1+1
16 z2
+
1+2
2
2
8z1
12
4z1+1
16 z2
y(n) = 1
2(1
4)nh1 + cosπ
4n+ (1 + 2)sinπ
4niu(n)
5.22
y(n) = x(n)x(n10)
(a)
H(w) = 1 ej10w
= 2ej5wejπ
2sin5w
|H(w)|= 2|sin5w|,
Θ(w) = π
25w, for sin5w > 0
=π
25w+π, for sin5w < 0
Refer to fig 5.22-1.
(b)
148
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1 1.5 2 2.5 3 3.5
0.8
0.9
1
1.1
1.2
1.3
1.4
−−> w
−−> |H(w)|
Figure 5.21-2:
0 0.5 1 1.5 2 2.5 3 3.5
0
0.5
1
1.5
2
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−2
−1
0
1
2
−−> w
−−> theta(w)
Figure 5.22-1:
149
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
|H(π
10)|= 2,6H(π
10) = 0
|H(π
3)|=3,Θ(π
3) = 6H(π
3) = π
6
(1) Hence, y(n) = 2cos π
10n+ 33sin(π
3nπ
15)
H(0) = 0, H(2π
5) = 0
(2) Hence, y(n) = 0
5.23
(a)
h(n) = 1
2πZπ
π
X(w)ejwndw
=1
2π"Z3π
8
3π
8
ejwndw Zπ
8
π
8
ejwndw#
=1
πn sin 3π
8nsinπ
8n
=2
πn sin π
8ncosπ
4n
(b) Let
h1(n) = 2sinπ
8n
Then,
H1(w) = 2,|w| ≤ π
8
0,π
8<|w|< π
and
h(n) = h1(n)cosπ
4n
5.24
y(n) = 1
2y(n1) + x(n) + 1
2x(n1)
Y(z) = 1
2z1Y(z) + X(z) + 1
2z1X(z)
H(z) = Y(z)
X(z)
=1 + 1
2z1
11
2z1
(a)
H(z) = 2
11
2z11
h(n) = 2(1
2)nu(n)δ(n)
150
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b)
H(w) =
X
n=0
h(n)ejwn
=2
11
2ejw 1
=1 + 1
2ejw
11
2ejw
=H(z)|z=ejw
(c)
H(π
2) = 1 + 1
2ejπ
2
11
2ejπ
2
=1j1
2
1 + j1
2
= 1ej2tan11
2
Hence, y(n) = cos(π
2n+π
42tan11
2)
5.25
Refer to fig 5.25-1.
5.26
H(z) = (1 ejπ
4z1)(1 ejπ
4z1)
= 1 2z1+z2
H(w) = 1 2ejw +e2jw
= 2ejw(cosw 2
2)
y(n) = x(n)2x(n1) + x(n2)
for x(n) = sinπ
4u(n)
y(0) = x(0) = 0
y(1) = x(1) 2x(0) + x(1) = 2
2
y(2) = x(2) 2x(1) + x(0) = 1 22
2+ 0 = 0
y(3) = x(3) 2x(2) + x(1) = 2
22 + 2
2= 0
y(4) = 0
151
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
01234
0
1
2
3
4|X(w)| for (a)
magnitude
01234
0
2
4
6
8|X(w)| for (b)
magnitude
01234
0.5
1
1.5 |X(w)| for (c)
magnitude
01234
0
2
4
6
8
10
12 |X(w)| for (d)
magnitude
Figure 5.25-1:
5.27
(a) H(z) = k1z1
1+0.9z1. Refer to fig 5.27-1.
(b)
H(w) = k1ejw
1 + 0.9ejw
|H(w)|=k2|sinw
2|
1.81 + 1.8cosw
Θ(w) = tan1sinw
1cosw +tan10.9sinw
1 + 0.9cosw
(c) H(π) = k1ejπ
1+0.9ejπ =k2
0.1= 20k= 1 k=1
20
(d) y(n) = 0.9y(n1) + 1
20 [x(n)x(n1)]
(e)
H(π
6) = 0.014ejΘ( π
6)
y(n) = 0.028cos(π
6n+ 134.2o)
5.28
(a) H(z) = b01+bz1
1+az1. Refer to fig 5.28-1.
(b) For a= 0.5, b =0.6, H(z) = b010.6z1
1+0.5z1. Since the pole is inside the unit circle and the
152
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Figure 5.27-1:
filter is causal, it is also stable. Refer to fig 5.28-2.
(c)
H(z) = b0
1 + 0.5z1
10.5z1
⇒ |H(w)|2=b2
0
5
4+cosw
5
4cosw
The maximum occurs at w= 0. Hence,
H(w)|w=0 =b2
0
9
4
1
4
= 9b2
0= 1
b0=±1
3
(d) Refer to fig 5.28-3.
(e) Refer to fig 5.28-4.
obviously, this is a highpass filter. By selecting b=1, the frequency response of the
highpass filter is improved.
5.29
|H(w)|2=A
[1 + r22rcos(wΘ)] [1 + r22rcos(w+ Θ)]
d
dw
1
|H(w)|2=1
A[2rsin(wΘ)(1 + r22rcos(w+ Θ))
+2rsin(w+ Θ)(1 + r22rcos(wΘ))]
153
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
x(n) b 0
b b0
z-1 z-1
+ +
-a
y(n)
+ +
z-1
b-a
b0y(n)
x(n)
Direct form I:
Direct form II :
Figure 5.28-1:
z-plane
Figure 5.28-2:
154
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1 1.5 2 2.5 3 3.5
0
0.2
0.4
0.6
0.8
1|H(w)|
|H(w)|
w
0 0.5 1 1.5 2 2.5 3 3.5
−1
−0.8
−0.6
−0.4
−0.2
0phase
phase
w
Figure 5.28-3:
z-plane
-b-0.8
Figure 5.28-4:
155
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
= 0
(1 + r2)(sin(wΘ) + sin(w+ Θ)) = 2r[sin(wΘ)cos(w+ Θ) + sin(w+ Θ)cos(wΘ)]
(1 + r2)2sinwcosΘ = 2rsin2w
= 4rsinwcosw
Therefore, cosw =1 + r2
2rcosΘ
wr=cos11 + r2
2rcosΘ
5.30
y(n) = 1
4x(n) + 1
2x(n1) + 1
4x(n2)
H(w) = 1
4+1
2ejw +1
4ej2w
= (1 + ejw
2)2
=ejwcos2w
2
|H(w)|=cos2w
2
Θ(w) = 6H(w) = w
Refer to fig 5.30-1
5.31
(a)
x(n) = (1
4)nu(n) + u(n1)
X(z) = 1
11
4z1+1
1z1,ROC: 1
4<|z|<1
Hence, H(z) = Y(z)
X(z)
=1z1
1 + z1,ROC: |z|<1
(b)
Y(z) = 3
4z1
(1 1
4z1)(1 + z1)
=3
5
11
4z1+
3
5
1 + z1
y(n) = 3
5(1
4)nu(n)3
5(1)nu(n1)
156
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
−4 −3 −2 −1 0 1 2 3 4
0
0.2
0.4
0.6
0.8
1
−−> w
−−> |H(w)|
−4 −3 −2 −1 0 1 2 3 4
−4
−2
0
2
4
−−> w
−−> theta(w)
Figure 5.30-1:
5.32
y(n) = b0x(n) + b1x(n1) + b2x(n2)
H(w) = b0+b1ejw +b2ej2w
(a)
H(2π
3) = b0+b1ej2π
3+b2ej4π
3= 0
H(0) = b0+b1+b2= 1
For linear phase, b0=±b2.
select b0=b2(otherwise b1= 0).
These conditions yield
b0=b1=b2=1
3
Hence, H(w) = 1
3ejw(1 + 2cosw)
(b)
H(w) = 1
3(1 + 2cosw)
Θ(w) = w, for 1 + 2cosw > 0
w+π, for 1 + 2cosw < 0
157
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Refer to fig 5.32-1.
0 0.5 1 1.5 2 2.5 3 3.5
0
0.2
0.4
0.6
0.8
1
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−3
−2
−1
0
1
2
−−> w
−−> theta(w)
Figure 5.32-1:
5.33
(a)
y(n) = 1
2M+ 1
M
X
k=M
x(nk)
H(w) = 1
2M+ 1
M
X
k=M
ejwk
=1
2M+ 1 "1 + 2
M
X
k=1
coswk#
(b)
y(n) = 1
4Mx(n+M) + 1
2M
M1
X
k=M+1
x(nk) + 1
4Mx(nM)
H(w) = 1
2McosMw +1
2M"1 + 2
M1
X
k=1
coswk#
158
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
The filter in (b) provides somewhat better smoothing because of its sharper attenuation at
the high frequencies.
5.34
H(z) = 1 + z+z2+...+z8
=1z9
1z1
H(w) = 1ej9w
1ejw
=ej9w/2
ejw/2
sin9w/2
sinw/2
=ej4wsin9w/2
sinw/2
|H(w)|=|sin9w/2
sinw/2|
Θ(w) = 4w, when sin9w/2>0
=4w+π, when sin9w/2<0
H(w) = 0,at w=2πk
9, k = 1,2,...,8
The corresponding analog frequencies are kFs
9, k = 1,2,3,4, or 1
9kHz, 2
9kHz, 3
9kHz, 4
9kHz.
5.35
Refer to fig 5.35-1.
l
1/2
Figure 5.35-1:
159
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
H(z) = G(1 ej3π/4z1)(1 ej3π/4z1)
(1 1
2z1)2
H(w) = H(z)|z=ejw
H(0) = G(1 ej3π/4)(1 ej3π/4)
(1 1
2)2
|H(w)|= 1 Gl2
1
4
= 1
l2= 2 + 2
G=1
4(2 + 2) = 0.073
5.36
Hz(w) = 1 rejθejw
= 1 rcos(wθ) + jrsin(wθ)
(a)
|Hz(w)|={[1 rcos(wθ)]2+ [rsin(wθ)]2}1
2
= [1 + r22rcos(wθ)]1
2
20log10|Hz(w)|= 10log10[1 2rcos(wθ) + r2]
Hence proved.
(b)
Θz(w) = tan1imag. part
real part
=tan1rsin(wθ)
1rcos(wθ)
Hence proved.
(c)
τz
g(w) = dΘz(w)
dw
=1
1 + r2sin2(wθ)
[1rcos(wθ)]2
[1 rcos(wθ)]rcos(wθ)rsin(wθ)(rsin(wθ))
[1 rcos(wθ)]2
=r2rcos(wθ)
1 + r22rcos(wθ)
Hence proved.
(d) Refer to fig 5.36-1.
5.37
Hp(w) = 1
1rejθejw , r < 1
160
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
−5 0 5
−20
−10
0
10 magnitude theta=0
−5 0 5
−1
0
1phase theta=0
−5 0 5
−10
0
10
20 group delay theta=0
−5 0 5
−20
−10
0
10 magnitude theta=1.571
−5 0 5
−1
0
1phase theta=1.571
−5 0 5
−10
0
10
20group delay theta=1.571
−5 0 5
−20
−10
0
10 magnitude theta=3.142
−5 0 5
−1
0
1phase theta=3.142
−5 0 5
−10
0
10
20group delay theta=3.142
Figure 5.36-1:
161
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(a)
|Hp(w)|=1
{[1 rcos(wθ)]2+ [rsin(wθ)]2}1
2
=1
|Hz(w)|
|Hp(w)|dB = 20log10(1
|Hz(w)|)
=20log10|Hz(w)|
=−|Hz(w)|dB
Hence proved.
(b)
Hp(w) = 1rcos(wθ)jrsin(wθ)
[1 rcos(wθ)]2+ [rsin(wθ)]2
Θp(w) = tan1rsin(wθ)
1rcos(wθ)
=Θz(w)
Hence proved.
(c)
τp
g(w) = dΘp(w)
dw
=d(Θz(w))
dw
=dΘz(w)
dw
=τz
g(w)
Hence proved.
5.38
Hz(w) = (1 rejθejw)(1 rejθejw)
= (1 rej(wθ))(1 rej(w+θ))
=A(w)B(w)
(a)
|Hz(w)|=|A(w)b(w)|
=|A(w)||B(w)|
|Hz(w)|dB = 20log10|Hz(w)|
= 10log10[1 2rcos(wθ) + r2] + 10log10[1 2rcos(w+θ) + r2]
(b)
6Hz(w) = 6A(w) + 6B(w)
=tan1rsin(wθ)
1rcos(wθ)+tan1rsin(w+θ)
1rcos(w+θ)
162
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(c)
τz
g(w) = dΘz(w)
dw
=τz
A(w) + τB
g(w)
=r2rcos(wθ)
1 + r22rcos(wθ)+r2rcos(w+θ)
1 + r22rcos(w+θ)
(d)
Hp(w) = 1
Hz(w)
Therefore, |Hp(w)|=1
|Hz(w)|
|Hp(w)|dB =−|Hz(w)|dB
on the same lines of prob4.62
Θp(w) = Θz(w) and
τp
g(w) = τz
g(w)
(e) Refer to fig 5.38-1.
−5 0 5
−20
−15
−10
−5
0
5
10 magnitude theta=0
−5 0 5
−1.5
−1
−0.5
0
0.5
1
1.5 phase theta=0
−5 0 5
0
50
100
150
200 group delay theta=0
−5 0 5
−20
−15
−10
−5
0
5
10 magnitude theta=1.571
−5 0 5
−1.5
−1
−0.5
0
0.5
1
1.5 phase theta=1.571
−5 0 5
0
50
100
150
200group delay theta=1.571
Figure 5.38-1:
163
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
5.39
(a)
|H1(w)|2=(1 a)2
(1 acosw)2+a2sin2w
=(1 a)2
1 + a22acosw
|H1(w)|2=1
2cosw1=4a1a2
2a
(b)
|H2(w)|2= (1a
2)2(1 + cosw)2+sin2w
(1 acosw)2+a2sin2w
=(1 a)2
2
2(1 + cosw)
1 + a22acosw
|H2(w)|2=1
2cosw2=2a
1 + a2
By comparing the results of (a) and (b), we find that cosw2> cosw1and, hence w2< w1
Therefore, the second filter has a smaller 3dB bandwidth.
5.40
h(n) = cos(w0n+ Θ)
=cosw0ncosΘsinw0nsinΘ
use the coupled-form oscillator shown in figure 5.38 and multiply the two outputs by cosΘ
and sinΘ, respectively, and add the products, i.e.,
yc(n)cosΘ + ys(n)sinΘ = cos(w0n+ Θ)
5.41
(a)
y(n) = ejw0y(n1) + x(n)
= (cosw0+jsinw0) [yR(n1) + jyI(n1)] + x(n)
yR(n1) + jyI(n1) = yR(n1)cosw0yI(n1)sinw0+x(n)
+j[yR(n1)sinw0+yI(n1)cosw0]
(b)Refer to fig 5.41-1.
(c)
Y(z) = ejw0z1Y(z) + 1
=1
1ejw0z1
y(n) = ejnw0u(n)
= [cosw0n+jsinw0n]u(n)
Hence, yR(n) = cosw0nu(n)
yI(n) = sinw0nu(n)
164
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+ +
+
x(n) y
R(n)
yI(n)
z
z-1
-1
-sin w0
cos w
0
sin w0
cos w 0
Figure 5.41-1:
(d)
n0 1 2 3 4 5 6 7 8 9
yR(n) 1 3
2
1
201
23
213
21
20
yI(n) 0 1
2
3
213
2
1
201
23
21
5.42
(a) poles: p1,2=re±jw0
zeros: z1,2=e±jw0
(b) For w=w0, H(w0) = 0 For w6=w0, the poles and zeros factors in H(w) cancel, so that
H(w) = 1. Refer to fig 5.42-1.
(c)
|H(w)|2=G2|1ejw0ejw |2|1ejw0ejw|2
|1rejw0ejw |2|1rejw0ejw|2
=G22(1 cos(ww0))
1 + r22rcos(ww0)2(1 rcos(w+w0))
1 + r22rcos(w+w0)
where w0=π
3.Then
d|H(w)|2
dw = 0 w=π
|H(π)|2= 4G2(
3
2
1 + r+r2)2= 1
165
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Figure 5.42-1:
G=1
3(1 + r+r2)
(d) Refer to fig 5.42-2.
(e)
|H(w)|2=G2|1ejw0ejw |2|1ejw0ejw|2
|1rejw0ejw |2|1rejw0ejw|2
In the vicinity of w=w0,we have
|H(w)|2G2|1ejw0ejw |2
|1rejw0ejw |2
=G22(1 cos(ww0))
1 + r22rcos(ww0)=1
2
cos(ww0) = 1 + r24G2
2r4G2
w1,2=w0±cos1(1 + r24G2
2r4G2)
B3dB =w1w2= 2cos1(1 + r24G2
2r4G2)
= 2cos1(1 (r1
2)2)
= 2s2(1r
2)2
= 21r
166
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+
+ +
+
z-1
z-1
x(n) y(n)
-2r cos w0
r2
-2cos w
0
1+r+r2
3
Figure 5.42-2:
5.43
For the sampling frequency Fs= 500samples/sec., the rejected frequency should be w1=
2π(60
100 ) = 6
25 π. The filter should have unity gain at w2= 2π(200
500 ) = 4
5π. Hence,
H(6
25π) = 0
and H(4
5π) = 1
H(w) = G(1 ej6π
25 ejw)(1 ej6π
25 ejw)
=Gejw[2cosw 2cos6π
25 ]
H(4
5π) = 2G|[cos(4
5π)cos(6
25π)]|= 1
Hence, G=
1
2
cos 6
25 πcos4
5π
5.44
From (5.4.22) we have,
H(w) = b0
1ej2w
(1 rej(w0w))(1 rej(w0w))
|H(w0)|2=b2
0|1ej2w|2
(1 r)2[(1 rcos2w0)2+ (rsin2w0)2]= 1
167
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Hence, b0=p(1 r)2(1 2rcos2w0+r2)
2|sinw0|
5.45
From α= (n+ 1)w0
β= (n1)w0
and cosα +cosβ = 2cosα+β
2cosαβ
2,we obtain
cos(n+ 1)w0+cos(n1)w0= 2cosnw0cosw0
with y(n) = cosw0n, it follows that
y(n+ 1) + y(n1) = 2cosw0y(n) or equivalently,
y(n) = 2cosw0y(n1) y(n2)
5.46
sinα +sinβ = 2sinα+β
2cosαβ
2,we obtain
when α=nw0and β= (n2)w0,we obtain
sinnw0+sin(n2)w0= 2sin(n1)w0cosw0
If y(n) = Asinw0n, then
y(n) = 2cosw0y(n1) y(n2)
Initial conditions: y(1) = Asinw0, y(2) = Asin2w0
5.47
For h(n) = Acosw0nu(n)
H(z) = A1z1cosw0
12cosw0z1+z2
Hence, y(n) = 2cosw0y(n1) y(n2) + Ax(n)Acosw0x(n1)
For h(n) = Asinnw0u(n)
H(z) = Az1sinw0
12cosw0z1+z2
Hence, y(n) = 2cosw0y(n1) + y(n2) + Ax(n)Asinw0x(n1)
5.48
Refer to fig 5.48-1. y1(n) = Acosnw0u(n), y2(n) = Asinnw0u(n)
168
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+
+
+
x(n)
2r cos w
0
-1
z-1
z-1
y1(n)
-A cos w0
A sin w
0
y2(n)
Figure 5.48-1:
5.49
(a) Replace zby z8. We need 8 zeros at the frequencies w= 0,±π
4,±π
2,±3π
4, π Hence,
H(z) = 1z8
1az8
=Y(z)
X(z)
Hence, y(n) = ay(n8) + x(n)x(n8)
(b) Zeros at 1, e±jπ
4, e±jπ
2, e±j3π
4,1
Poles at a1
8, a1
8e±jπ
4, a1
8e±jπ
2, a1
8e±j3π
4,1. Refer to fig 5.49-1.
(c)
|H(w)|=2|cos4w|
12acos8w+a2
6H(w) = tan1asin8w
1acos8w, cos4w0
πtan1asin8w
1acos8w, cos4w < 0
Refer to fig 5.49-2.
5.50
We use Fs/L = 1cycle/day. We also choose nulls of multiples of 1
14 = 0.071, which results in a
narrow passband of k±0.067. Thus, M+ 1 = 14 or, equivalently M= 13
169
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
XX
X
X
X
XXX
-1 1
Unit circle
Figure 5.49-1:
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
0
2
4
6
8
10 magnitude of notch filter
−−> f
−−> |H(f)|
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
0
2
4
6
8
10 magnitude of a high pass filter
−−> f
−−> |H(f)|
Figure 5.49-2:
170
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
5.51
(a)
H(w) = 11
aejw
1aejw
|H(w)|2=(1 1
acosw)2+ ( 1
asinw)2
(1 acosw)2+ (asinw)2
=1 + 1
a22
acosw
1 + a22acosw
=1
a2for all w
Hence, |H(w)|=1
a
For the two-pole, two-zero system,
H(w) = (1 1
rejw0ejw )(1 1
rejw0ejw )
(1 rejw0ejw )(1 rejw0ejw)
=12
rcosw0ejw +1
r2ej2w
12rcosw0ejw +r2ej2w
Hence, |H(w)|=1
r2
(b) H(z) = 12
rcosw0z1+1
r2z2
12rcosw0z1+r2z2
Hence, we need two delays and four multiplies per output point.
5.52
(a)
w0=60
200.2π=6π
50
H(z) = (1 ej6π
50 z1)(1 ej6π
50 z1)b0
=b0(1 2cos6π
50 z1+z2)
H(w) = 2b0ejw(cosw cos6π
50 )
|H(0)|= 2b0(1 cos6π
25 ) = 1
b0=1
2(1 cos6π
25 )
(b)
H(z) = b0
(1 ej6π
25 z1)(1 ej6π
25 z1)
(1 rej6π
25 z1)(1 rej6π
25 z1)
|H(0)|=2b0(1 cos6π
25 )
12rcos6π
25 +r2= 1
b0=12rcos6π
25 +r2
2(1 cos6π
25 )
171
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
5.53
h(n) = {h(0), h(1), h(2), h(3)}where h(0) = h(3), h(1) = h(2)
Hence, Hr(w) = 2(h(0)sin3w
2+h(1)sinw
2)
Hr(π
4) = 2h(0)sin3π
8+ 2h(1)sinπ
8) = 1
2
Hr(3π
4) = 2h(0)sin9π
8+ 2h(1)sin3π
8) = 1
1.85h(0) + 0.765h(1) = 1
2
0.765h(0) + 1.85h(1) = 1
h(1) = 0.56, h(0) = 0.04
5.54
(a)
H(z) = b0
(1 z1)(1 + z1)(1 2cos3π
4z1+z2)
(1 1.6cos2π
9z1+ 0.64z2)(1 1.6cos4π
9z1+ 0.64z2)
H(w) = b0
(2jejwsinw)(2ejw)(cosw cos3π
4)
(1 1.6cos2π
9ejw + 0.64ej2w)(1 1.6cos 4π
9ejw + 0.64ej2w)
|H(w)|=b0
4|sinw||cosw cos 3π
4|
|11.6cos2π
9ejw + 0.64ej2w||11.6cos 4π
9ejw + 0.64ej2w|
|H(5π
12 )|= 1 b0= 0.089
(b) H(z) as given above.
(c) Refer to fig 5.54-1. The filter designed is not a good approximation of the desired response.
5.55
Y(w) = ejwX(w) + dX(w)
dw
(a)
For x(n) = δ(n), X(w) = 1.
Hence, dX(w)
dw = 0,and Y(w) = ejw
h(n) = 1
2πZπ
π
Y(w)ejwndw
=1
2πZπ
π
ejw(n1)dw
=1
2πj(n1) ejw(n1)|π
π
=sinπ(n1)
π(n1)
(b) y(n) = x(n1) jnx(n). the system is unstable and time-variant.
172
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
0
0.5
1
1.5
−−> f
−−> |H(f)|
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−4
−2
0
2
4
−−> f
−−> phase
Figure 5.54-1:
5.56
H(w) =
X
n=−∞
h(n)ejwn
= 1,|w| ≤ wc
= 0, wc<|w|π
G(w) =
X
n=−∞
g(n)ejwn
=
X
n=−∞
h(n
2)ejwn
=
X
m=−∞
h(m)ej2wm
=H(2w)
Hence,
G(w) = 1,|w| ≤ wc
2and |w| ≥ πwc
2
0,wc
2<|w|< π wc
2
173
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
5.57
y(n) = x(n)x(n)h(n) = [δ(n)h(n)] x(n) The overall system function is 1 H(z) and the
frequency response is 1 H(w). Refer to fig 5.57-1.
H(w) 1-H(w)
H(w) 1-H(w)
1
0 wc
w
1
wcw
1
0wcw
1
0 wc
w
π
π0
Figure 5.57-1:
5.58
(a) Since X(w) and Y(w) are periodic, it is observed that Y(w) = X(wπ). Therefore,
y(n) = ejπnx(n) = (1)nx(n)
(b) x(n) = (1)ny(n).
5.59
y(n) = 0.9y(n1) + 0.1x(n)
(a)
H(z) = 0.1
10.9z1
Hbp(w) = H(wπ
2) = 0.1
10.9ej(wπ
2)
=0.1
1j0.9ejw
174
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b) h(n) = 0.1(0.9ejπ
2)nu(n)
(c) Since the impulse response is complex, a real input signal produces a complex-valued output
signal. For the output to be real, the bandpass filter should have a complex conjugate pole.
5.60
(a)
Let g(n) = nh(n)
Then, G(w) = jdH(w)
dw
D=
X
n=−∞ |g(n)|2
=1
2πZπ
π|G(w)|2dw
=1
2πZπ
π
G(w)G(w)dw
=1
2πZπ
πjdH(w)
dw (j)dH(w)
dw dw
But dH(w)
dw =dH(w)
dw +j|H(w)|dΘ(w)
dw ejΘ(w)
Therefore,
D=1
2πZπ
π(dH(w)
dw 2
+|H(w)|2dΘ(w)
dw 2)dw
(b) Dconsists of two terms, both of which are positive. For |H(w)| 6= 0, Dis minimized by
selecting Θ(w) = 0, in which case the second term becomes zero.
5.61
y(n) = ay(n1) + bx(n),0< a < 1
H(z) = b
1az1
(a)
H(w) = b
1aejw
|H(0)|=|b|
1a= 1
b=±(1 a)
(b)
|H(w)|2=b2
1 + a22acosw =1
2
2b2= 1 + a22acosw
cosw =1
2a1 + a22(1 a)2
175
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=1
2a(4a1a2)
w3=cos1(4a1a2
2a)
(c)
w3=cos1(1 (a1)2
2a)
Let f(a) = 1 (a1)2
2a
Then f(a) = a21
2a2
=1a2
2a2>0
Therefore f(a) is maximum at a= 1 and decreases monotonically as a0. Consequently,
w3increases as a0.
(d)
b=±(1 a)
w3=cos1(4a1a2
2a)
The 3-dB bandwidth increases as a0.
5.62
y(n) = x(n) + αx(nM), α > 0
H(w) = 1 + αejwM
|H(w)|=p1 + 2αcoswM +α2
Θ(w) = tan1αsinwM
1 + αcoswM
Refer to fig 5.62-1.
5.63
(a)
Y(z) = 1
2X(z) + z1X(z)
H(z) = Y(z)
X(z)
=1
2(1 + z1)
=z+ 1
2z
176
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
0
0.5
1
1.5
2M=10, alpha = 0.1
−−> f
−−> |H(f)|
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−1
−0.5
0
0.5
1
−−> f
−−> phase
Figure 5.62-1:
Zero at z=1 and a pole at z= 0. The system is stable.
(b)
Y(z) = 1
2X(z) + z1X(z)
H(z) = Y(z)
X(z)
=1
2(1 + z1)
=z1
2z
Zero at z= 1 and a pole at z= 0. The system is stable.
(c)
Y(z) = 1
8(1 + z1)3
=1
8
(1 + z)3
z3
Three zeros at z=1 and three poles at z= 0. The system is stable.
5.64
Y(z) = X(z) + bz2X(z) + z4X(z)
177
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
H(z) = Y(z)
X(z)
= 1 + bz2+z4
For b= 1, H(w) = 1 + ej2w+ej4w
= (1 + 2cosw)ejw
|H(w)|=|1 + 2cosw|
6H(w) = w, 1 + 2cosw 0
πw, 1 + 2cosw < 0
Refer to fig 5.64-1.
0 0.5 1 1.5 2 2.5 3 3.5
0
0.5
1
1.5
2
2.5
3
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−3
−2
−1
0
1
2
−−> w
−−> phase
Figure 5.64-1:
b=1, H(w) = 1 ejw +ej2w
= (2cosw 1)ejw
|H(w)|=|2cosw 1|
6H(w) = w, 1 + 2cosw 0
πw, 1 + 2cosw < 0
Refer to fig 5.64-2.
178
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1 1.5 2 2.5 3 3.5
0
0.5
1
1.5
2
2.5
3
−−> w
−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−2
−1
0
1
2
3
−−> w
−−> phase
Figure 5.64-2:
5.65
y(n) = x(n)0.95x(n6)
(a)
Y(z) = X(z)(1 0.95z6)
H(z) = (1 0.95z6)
=z60.95
z6
z6= 0.95
z= (0.95)1
6ej2πk/6, k = 0,1,...,5
6th order pole at z= 0. Refer to fig 5.65-1.
(b)Refer to fig 5.65-2.
(c) Hin(z) = z6
z60.95 .r= (0.95)1
6. Refer to fig 5.65-3.
(d)Refer to fig 5.65-4.
179
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
X
rr=(0.95)
1/6
Figure 5.65-1:
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
0
0.5
1
1.5
2
−−> f
−−> |H(f)|
Figure 5.65-2:
180
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
rr=(0.95)
1/6
X
X
XX
X
X
Figure 5.65-3:
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
0
5
10
15
20
−−> f
−−> |H(f)|
Figure 5.65-4:
181
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
5.66
(a)
H(z) = z1
1z1z2
=z1
(1 1+5
2z1)(1 15
2z1)
=
1
5
11+5
2z1+1
5
115
2z1
If |z|>11 + 5
2is ROC, then
h(n) = "1
5(1 + 5
2)n1
5(15
2)n#u(n)
If ROC is 51
2<|z|<5 + 1
2,then
h(n) = 1
5(15
2)nu(n)1
5(1 + 5
2)nu(n1)
If |z|<151
2is ROC, then
h(n) = "1
5(1 + 5
2)n+1
5(15
2)n#u(n1)
From H(z),the difference equation is
y(n) = y(n1) + y(n2) + x(n1)
(b)
H(z) = 1
1e4az4
The difference equation is
y(n) = e4ay(n1) + x(n)
H(z) = 1
(1 eaz1)(1 ejπ
2eaz1)(1 + eaz1)(1 + jeaz1)
=
1
4
1eaz1+
1
4
1jeaz1+
1
4
1 + eaz1+
1
4
1 + jeaz1
If ROC is |z|>1,then
h(n) = 1
4[1 + (j)n+ (1)n+ (j)n]eanu(n)
If ROC is |z|<1,then
h(n) = 1
4[1 + (j)n+ (1)n+ (j)n]eanu(n1)
5.67
Y(z) = 1 z1+ 3z2z3+ 6z4
= (1 + z1+ 2z2)(1 2z1+ 3z2)
182
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
X(z) = 1 + z1+ 2z2
Therefore, H(z) = Y(z)
X(z)
= 1 2z1+ 3z2
h(n) = 1
,2,3
5.68
y(n) = 1
2y(n1) + x(n)
x(n) = (1
4)nu(n)
H(z) = Y(z)
X(z)
=1
11
2z1
X(z) = 1
11
4z1
Y(z) = 1
(1 1
4z1)(1 1
2z1)
Rxx(z) = X(z)X(z1)
=1
(1 1
4z1)(1 1
4z)
=4z1
(1 1
4z1)(1 4z1)
=16
15
1
11
4z116
15
1
14z1
Hence, rxx(n) = 16
15(1
4)nu(n) + 16
15(4)nu(n1)
Rhh(z) = H(z)H(z1)
=1
(1 1
2z1)(1 1
2z)
=2z1
(1 1
2z1)(1 2z1)
=4
3
1
11
2z14
3
1
12z1
Hence, rhh(n) = 4
3(1
2)nu(n) + 4
3(2)nu(n1)
Rxy(z) = X(z)Y(z1)
=1
(1 1
4z1)(1 1
4z)(1 1
2z)
=16
17
1
12z1+16
15
1
14z1+128
105
1
11
4z1
Hence, rxy(n) = 16
17(2)nu(n1) 16
15(4)nu(n1) + 128
105(1
4)nu(n)
183
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Ryy(z) = Y(z)Y(z1)
=1
(1 1
4z1)(1 1
2z1)(1 1
4z)(1 1
2z)
=64
21
1
12z1+128
105
1
14z1+64
21
1
11
2z1128
105
1
11
4z1
Hence, ryy (n) = 64
21(2)nu(n1) 128
105(4)nu(n1) + 64
21(1
2)nu(n)128
105(1
4)nu(n)
5.69
(a)
h(n) = 10
,9,7,8,0,5,3
The roots(zeros) are 0.8084 ±j0.3370,0.3750 ±j0.6074,1.0,0.7667
All the roots of H(z) are inside the unit circle. Hence, the system is minimum phase.
(b) h(n) = {5,4,3,4,0,2,1}H(z) = 5 + 4z13z24z3+ 2z5+z6
The roots(zeros) are 0.7753 ±j0.2963,0.4219 ±j0.5503,0.7534 ±j0.1900
All the roots of H(z) are inside the unit circle. Hence, the system is minimum phase.
5.70
The impulse response satisfies the difference equation
N
X
k=0
akh(nk) = δ(n), a0= 1
n= 0,
N
X
k=0
akh(k) = a0h(0) = 1
a0=1
h(0)
n= 1,a0h(1) + a0h(0) = 0
a1=a0h(1)
h(0) =h(1)
h2(0)
.
.
.
n=N, a0h(N) + a1h(N1) + ...+aNh(0) yields aN
It is apparent that the coefficients {an}can be determined if we know the order N and the values
h(0), h(1),...,h(N). If we do not know the filter order N, we cannot determine the {an}.
5.71
h(n) = b0δ(n) + b1δ(nD) + b2δ(n2D) (a) If the input to the system is x(n), the output is
y(n) = b0x(n) + b1x(nD) + b2x(n2D). Hence, the output consists of x(n), which is the input
signal, and the delayed signals x(nD) and x(n2D). The latter may be thought of as echoes
of x(n).
(b)
H(w) = b0+b1ejwD +b2ej2wD
184
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=b0+b1coswD +b2cos2wD j(b1sinwD +b2sin2wD)
|H(w)|=qb02+b12+b22+ 2b1(b0+b2)coswD + 2b0b2cos2wD
Θ(w) = tan1b1sinwD +b2sin2wD
b0+b1coswD +b2cos2wD
(c) If |b0+b2|<< |b1|, then the dominant term is b1ejwD and
|H(w)|=qb02+b12+b22+ 2b1(b0+b2)coswD
and |H(w)|has maxima and minima at w=±k
Dπ, k = 0,1,2,...
(d) The phase Θ(w) is approximately linear with a slope of D. Refer to fig 5.71-1.
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
0.8
0.9
1
1.1
1.2
−−> f
−−> |H(f)|
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−4
−2
0
2
4
−−> f
−−> phase
Figure 5.71-1:
5.72
H(z) = B(z)
A(z)=1 + bz1
1 + az1=
X
n=0
h(n)zn
(a)
H(z) = 1 + (ba)z1+ (a2ab)z2+ (a2ba3)z3+ (a4a3b)z5+...
Hence, h(0) = 1,
185
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
h(1) = ba,
h(2) = a2ab,
h(3) = a2ba3,
h(4) = a4a3b
(b)
y(n) + ay(n1) = x(n) + bx(n1)
For x(n) = δ(n),
h(n) + ah(n1) = δ(n) + (n1)
Multiply both sides by h(n) and sum. Then
rhh(0) + arhh(1) = h(0) + bh(1)
rhh(1) + arhh(0) = bh(0)
rhh(2) + arhh(1) = 0
rhh(3) + arhh(2) = 0
By solving these equations recursively, we obtain
rhh(0) = b22ab + 1
1a2
rhh(1) = (ab 1)(ab)
1a2
rhh(2) = a(ab 1)(ab)
1a2
rhh(3) = a2(ab 1)(ab)
1a2
5.73
x(n) is a real-valued, minimum-phase sequence. The sequence y(n) must satisfy the conditions,
y(0) = x(0),|y(n)|=|x(n)|, and must be minimum phase. The solution that satisfies the
condition is y(n) = (1)nx(n). The proof that y(n) is minimum phase proceeds as follows:
Y(z) = X
n
y(n)zn
=X
n
(1)nx(n)zn
=X
n
x(n)(z1)n
=X(z)
This preserves the minimum phase property since a factor (1 αz1)(1 + αz1)
5.74
Consider the system with real and even impulse response h(n) = 1
4,1,1
4and frequency response
H(w) = 1 + 1
2cosw. Then H(z) = z1(1
4z2+z+1
4). The system has zeros at z=2±3.
We observe that the system is stable, and its frequency response is real and even. However, the
inverse system is unstable. Therefore, the stability of the inverse system is not guaranteed.
186
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
5.75
(a)
g(n) = h(n)x(n)G(w) = H(w)X(w)
f(n) = h(n)g(n)F(w) = H(w)G(w)
Y(w) = F(w)
Then, Y(w) = H(w)G(w)
=H(w)H(w)X(w)
=H(w)H(w)X(w)
=|H(w)|2X(w)
But Ha(w)≡ |H(w)|2is a zero-phase system.
(b)
G(w) = H(w)X(w)
F(w) = H(w)X(w)
Y(w) = G(w) + F(w)
=H(w)X(w) + H(w)X(w)
=X(w)(H(w) + H(w))
= 2X(w)Re(H(w))
But Hb(w) = 2Re {H(w)}is a zero-phase system.
5.76
(a) Correct. The zeros of the resulting system are the combination of the zeros of the two systems.
Hence, the resulting system is minimum phase if the inividual system are minimum phase.
(b) Incorrect. For example, consider the two minimum-phase systems.
H1(z) = 11
2z1
11
3z1
and H2(z) = 2(1 + 1
3z1)
11
3z1
Their sum is H1(z) + H2(z) = 17
6z1
11
3z1,which is not minimum phase.
5.77
(a)
|H(w)|2=
5
4cosw
10
92
3cosw
=H(z)H(z1)|z=ejw
Hence, H(z)H(z1) =
5
41
2(z+z1)
10
91
3(z+z1)
=11
2z1
11
3z1
187
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b)
|H(w)|2=2(1 a2)
1 + a22acosw
H(z)H(z1) = 2(1 a2)
1 + a2a(z+z1)
H(z)H(z1) = 2(1 + a)(1 a)
(1 az1)(1 az)
Hence, H(z) = p2(1 a2)
1az1
or H(z) = p2(1 a2)
1az
5.78
H(z) = (1 0.8ejπ/2z1)(1 0.8ejπ/2z1)(1 1.5ejπ/4z1)(1 1.5ejπ/4z1)
= (1 + 0.64z2)(1 3
2z1+ 2.25z2)
(a) There are four different FIR systems with real coefficients:
H1(z) = (1 + 0.64z2)(1 3
2z1+ 2.25z2)
H2(z) = (1 + 0.64z2)(1 3
2z1+ 2.25z2)
H3(z) = (1 + 0.64z2)(1 3
2z1+ 2.25z2)
H4(z) = (1 + 0.64z2)(1 3
2z1+ 2.25z2)
H(z) is the minimum-phase system.
(b)
H1(z) = 1 3
2z1+ 2.89z21.92
2z3+ 1.44z4
h1(n) = 1
,3
2,2.89,1.92
2,1.44
H2(z) = 0.64z21.92
2z+ 2.44 3
2z1+ 2.25z2
h2(n) = 0.64,1.92
2,2.44
,3
2,2.25
H3(z) = 2.25z23
2z+ 2.44 1.92
2z1+ 0.64z2
h3(n) = 2.25,3
2,2.44
,1.92
2,0.64
H4(z) = 1.44z41.92
2z3+ 2.89z23
2z+ 1
h4(n) = 1.44,1.92
2,2.89,3
2,1
,
188
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(c)
E1(n) = {1,5.5,13.85,15.70,17.77}
E2(n) = {0.64,2.48,8.44,12.94,18.0}
E3(n) = {2.25,6.75,12.70,14.55,14.96}
E4(n) = {1.44,3.28,11.64,16.14,17.14}
Clearly, h3(n) is minimum phase and h2(n) is maximum phase.
5.79
H(z) = 1
1 + PN
k=1 akzk
(a) The new system function is H(z) = H(λ1z)
H(z) = 1
1 + PN
k=1 akλkzk
If pkis a pole of H(z), then λpkis a pole of H(z).
Hence, λ < 1
|pmax|is selected then |pkλ|<1 for all kand, hence the system is stable.
(b) y(n) = PN
k=1 akλky(nk) = x(n)
5.80
(a) The impulse response is given in pr10fig 5.80-1.
(b) Reverberator 1: refer to fig 5.80-2.
0 500 1000 1500 2000 2500
0
0.2
0.4
0.6
0.8
1
1.2
−−> n
−−> magnitude
Figure 5.80-1:
189
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 100 200 300 400 500 600
0
0.5
1
impulse response for unit1
−−> n
−−> magnitude
0 100 200 300 400 500 600
0
0.5
1
1.5 impulse response for unit2
−−> n
−−> magnitude
Figure 5.80-2:
Reverberator 2: refer to fig 5.80-2.
(c) Unit 2 is a better reverberator.
(d) For prime number of D1, D2, D3, the reverberations of the signal in the different sections do
not overlap which results in the impulse response of the unit being more dense.
(e) Refer to fig 5.80-3.
(f) Refer to fig 5.80-4 for the delays being prime numbers.
5.81
(a) Refer to fig 5.81-1.
(b) Refer to fig 5.81-2.
190
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 1 2 3 4 5 6 7
−3
−2
−1
0
1
2
3phase response for unit1
−−> w
−−> phase
0 1 2 3 4 5 6 7
−3
−2
−1
0
1
2
3phase response for unit2
−−> w
−−> phase
Figure 5.80-3:
0 500 1000 1500 2000 2500
0
0.2
0.4
0.6
0.8
1
1.2
−−> n
−−> magnitude
Figure 5.80-4:
191
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.5 1 1.5 2 2.5 3 3.5
−20
−10
0
10
20
30
−−> w(rad)
−−> magnitude
0 0.5 1 1.5 2 2.5 3 3.5
−2.5
−2
−1.5
−1
−0.5
0
−−> w(rad)
−−> phase
Figure 5.81-1:
0 0.5 1 1.5 2 2.5 3
−100
−50
0
50
100
−−> w(rad)
−−> magnitude
0 0.5 1 1.5 2 2.5 3 3.5
−4
−2
0
2
4
−−> w(rad)
−−> phase
Figure 5.81-2:
192
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
5.82
(a)
B= 10kHz
Fs= 20kHz
z1=10k
20k= 0.5
z2=7.778k
20k= 0.3889
z3=8.889k
20k= 0.4445
z4=6.667k
20k= 0.3334
H(z) = (z0.5)(z0.3889)(z0.4445)(z0.3334)
(b) Refer to fig 5.82-1.
(c) It satisfies the objectives but this filter is not recommended in a practical application because
0 0.5 1 1.5 2 2.5 3 3.5
−150
−100
−50
0
−−> w(rad)
−−> magnitude
0 0.5 1 1.5 2 2.5 3 3.5
−4
−2
0
2
4
−−> w(rad)
−−> phase
Figure 5.82-1:
in a speech application linear phase for the filter is desired and this filter does not provide linear
phase for all frequencies.
5.83
Refer to fig 5.83-1.
Practical:
193
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
r= 0.99 wr=π
6Bandwidth = π
128 = 0.0245
r= 0.9wr=π
6Bandwidth = 5π
32 = 0.49
r= 0.6wr= 0 Bandwidth = 1.1536
Theoretical:
r= 0.99, wr=π
6Bandwidth = 2(1 r) = 0.02
r= 0.9, wr=π
6Bandwidth = 2(1 r) = 0.2
For rvery close to 1, the theoretical and practical values match.
−4 −3 −2 −1 0 1 2 3 4
−20
−10
0
10
20
30
40
−−> w(rad)
−−> magnitude
.... r = 0.99
−−−− r = 0.9
__ r = 0.6
−4 −3 −2 −1 0 1 2 3 4
−4
−2
0
2
4
−−> w(rad)
−−> phase
.... r = 0.99
−−−− r = 0.9
__ r = 0.6
Figure 5.83-1:
5.84
H(z) = (1 0.9ej0.4πz1)(1 0.9ej0.4πz1)(1 1.5ej0.6πz1)(1 1.5ej0.6πz1)
H(z) = B(z)
A(z)
=(z0.9ej0.4π)(z0.9ej0.4π)(z1.5ej0.6π)(z1.5ej0.6π)
z4
Let B1(z) = (z0.9ej0.4π)(z0.9ej0.4π)
B2(z) = (z1.5ej0.6π)(z1.5ej0.6π)
A(z) = z4
194
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Hmin(z) = B1(z)B2(z)
A(z)
=(z0.9ej0.4π)(z0.9ej0.4π)(z11.5ej0.6π)(z11.5ej0.6π)
z4
Hap(z) = B2(z)
B2(z1)
=(z1.5ej0.6π)(z1.5ej0.6π)
(z11.5ej0.6π)(z11.5ej0.6π)
Hap(z) has a flat magnitude response. To get a flat magnitude response for the system, connect
a system which is the inverse of Hmin(z), i.e.,
Hc(z) = 1
Hmin(z)
=z4
(z0.9ej0.4π)(z0.9ej0.4π)(z11.5ej0.6π)(z11.5ej0.6π)
(b) Refer to fig 5.84-1 and fig 5.84-2.
pole−zero plots for Hc(z)
0.5
1
1.5
30
210
60
240
90
270
120
300
150
330
180 0
pole−zero plots for compensated system
0.5
1
1.5
30
210
60
240
90
270
120
300
150
330
180 0
Figure 5.84-1:
195
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
−4 −2 0 2 4
−15
−10
−5
0
5
10
−−> w(rad)
−−> magnitude
mag for Hc(z)
−2 0 2
−2
−1
0
1
2
−−> w(rad)
−−> magnitude
mag of compensated system
−4 −2 0 2 4
−4
−2
0
2
4
−−> w(rad)
−−> phase
phase for Hc(z)
−4 −2 0 2 4
−1.5
−1
−0.5
0
0.5
1
1.5
−−> w(rad)
−−> phase
phase of compensated system
Figure 5.84-2:
196
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Chapter 6
6.1
(a) Fourier transform of dxa(t)/dt is ˆ
Xa(F) = j2πF Xa(F), then Fs2B
(b) Fourier transform of x2
a(t) is ˆ
Xa(F) = Xa(F)Xa(F), then Fs4B
(c) Fourier transform of xa(2t) is ˆ
Xa(F) = 2Xa(F/2), then Fs4B
(d) Fourier transform of xa(t) cos(6πBt) is ˆ
Xa(F) = 1
2Xa(F+ 3B) + 1
2Xa(F3B) resulting in
FL= 2Band FH= 4B. Hence, Fs= 2B
(d) Fourier transform of xa(t) cos(7πBt) is ˆ
Xa(F) = 1
2Xa(F+ 3.5B) + 1
2Xa(F3.5B) resulting
in FL= 5B/2 and FH= 9B/2. Hence, kmax =FH
B= 2 and Fs= 2FH/kmax = 9B/2
6.2
(a) Fs= 1/T 2BA=T, Fc=B.
(b) Xa(F) = 0 for |F| ≥ 3B.Fs= 1/T 6BA=T, Fc= 3B.
(c) Xa(F) = 0 for |F| ≥ 5B.Fs= 1/T 10BA=T, Fc= 5B.
6.3
xa(t) =
X
k=−∞ 1
2|k|ej2πkt/Tp(6.1)
Since filter cut-off frequency, Fc= 102.5, then terms with |n|/Tp> Fcwill be filtered resulting
ya(t) =
10
X
k=10 1
2|k|ej2πkt/Tp
Ya(F) =
10
X
k=10 1
2|k|δ(Fk/Tp)
Sampling this signal with F s = 1/T = 1/0.005 = 200 = 20/Tpresults in aliasing
Y(F) = 1
3
X
n=−∞
Xa(FnF s)
=1
3
X
n=−∞ 9
X
k=91
2|k|δ(Fk/TpnFs) + 1
29
δ(F10/TpnFs)!
197
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
6.4
(a)
x(n) = xa(nT ) = nT enT ua(nT )
=nT anua(nT )
where a=eT.
Define x1(n) = anua(n). The Fourier transform of x1(n) is
X1(F) =
X
n=0
anej2πF n
=1
1aej2πF
Using the differentiation in frequency domain property of the Fourier transform
X(F) = T j X1(F)
dF
=T aej2πF
(1 aej2πF )2
=T
e(T+j2πF )+e(T+j2πF )2
(b) The Fourier transform of xa(t) is
Xa(F) = 1
(1 + j2πF )2
Fig. 6.4-1(a) shows the original signal xa(t) and its spectrum Xa(F). Sampled signal x(n) and
its spectrum X(F) are shown for Fs= 3 Hz and Fs= 1 Hz in Fig. 6.4-1(b) and Fig. 6.4-1(c),
respectively.
(c) Fig. 6.4-2 illustrates the reconstructed sugnal ˆxa(t) and its spectrum for Fs= 3 Hz and
Fs= 1 Hz.
ˆxa(t) =
X
n=−∞
xa(nT )sin (π(tnT )/T )
π(tnT )/T
6.5
The Fourier transfrom of y(t) = Rt
−∞ x(τ)is
Y(w) = X(w)
jw +πX(j0)δ(w)
Then,
H(w) = 1
jw +πδ(w),0nI
0, otherwise
198
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
−5 0 5 10
0
0.1
0.2
0.3
0.4
t(sec)
xa(t)
−4 −2 0 2 4
0
0.5
1
F(Hz)
Xa(F)
−5 0 5 10
0
0.1
0.2
0.3
0.4
t(sec)
x(n)=xa(nT)
−4 −2 0 2 4
0
0.5
1
F(Hz)
|Xa(F)|
|X(F)|
−5 0 5 10
0
0.1
0.2
0.3
0.4
t(sec)
x(n)=xa(nT)
−4 −2 0 2 4
0
0.5
1
F(Hz)
|Xa(F)|
|X(F)|
Figure 6.4-1:
199
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
−5 0 5 10
0
0.1
0.2
0.3
0.4
t(sec)
xa(t)
−4 −2 0 2 4
0
0.5
1
F(Hz)
Xa(F)
−5 0 5 10
−0.2
0
0.2
0.4
0.6
t(sec) −4 −2 0 2 4
0
0.5
1
F(Hz)
|Xa(F)|
|X(F)|
−5 0 5 10
−0.1
0
0.1
0.2
0.3
t(sec) −4 −2 0 2 4
0
0.5
1
F(Hz)
|Xa(F)|
|X(F)|
Figure 6.4-2:
200
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
6.6
(a) B=F2F1is the bandwidth of the signal. Based on arbitrary band positioning for first-order
sampling,
Fs,min =2FH
kmax
where
kmax =F2
B.
(b)
ˆxa(t) =
X
n=−∞
xa(nT )ga(tnT )
where
ga(t) = sin πBt
πBt cos 2πFct
and Fc= (F1+F2)/2.
6.7
ga(t) = Z
−∞
Ga(F)ej2πF tdF
=ZFLmB
(FLB)
1
1γm+1 ej2πF tdF +ZFL
FLmB
1
1γmej2πF tdF
+ZFL+mB
FL
1
1γmej2πF tdF +ZFL+B
FL+mB
1
1γ(m+1) ej2πF tdF
=A+B+C+D
A=1
j2πBt(1 γm+1)ej2π(FLmB)tej2π(FL+B)t
=ejπB∆(m+1)
j2πBt(ejπB∆(m+1) ejπB∆(m+1))ej2π(FLmB)tej2π(FL+B)t
B=ejπBm
j2πBt(ejπBmejπBm)ej2πFLtej2π(FLmB)t
C=ejπBm
j2πBt(ejπBmejπBm)ej2πFLtej2π(FLmB)t
D=ejπB∆(m+1)
j2πBt(ejπB∆(m+1) ejπB∆(m+1))ej2π(FLmB)tej2π(FL+B)t
Combining Aand D, and Band C, we obtain,
A+D=1
πBt sin(πB∆(m+ 1)) ej[2π(FL+B)tπB∆(m+1)] +ej[2π(FL+B)tπB∆(m+1)]
ej[2π(FLmB)t+πB∆(m+1)] ej[2π(FLmB)t+πB∆(m+1)]
201
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=cos [2π(FL+B)tπ(m+ 1)B∆] cos [2π(mB FL)tπ(m+ 1)B∆]
2πBt sin [π(m+ 1)B∆]
B+C=1
πBt sin(πBm)) ej[2π(FLmB)t+πBm]+ej[2π(FLmB)t+πBm]
ej[2πFLtπBm]ej[2πFLtπBm]
=cos [2π(mB FL)tπmB∆] cos [2πFLtπmB∆]
2πBt sin(πmB∆)
We observe that a(t) = B+Cand b(t) = A+D. Q.E.D.
6.8
1.
gSH (n) = 1,0nI
0, otherwise
2.
GSH (w) =
X
n=−∞
gSH (n)ejwn
=
I
X
n=0
ejwn
=ejw(I1)/2sin [wI/2]
sin(w/2)
3. The linear interpolator is defined as
glin[n] = 1− |n|/I, |n| ≤ I
0, otherwise
Taking the Fourier transform, we obtain
Glin(w) = 1
Isin(wI/2)
sin(w/2) 2
Fig. 6.8-1 shows magnitude and phase responses of the ideal interpolator (dashed-dotted line),
the linear interpolator (dashed line), and the sample-and-hold interpolator (solid line).
6.9
(a)
xa(t) = ej2πF0t
Xa(F) = Z
0
xa(t)ej2πF tdt
=Z
0
ej2πF0tej2πtdt
=Z
0
ej2π(F+F0)tdt
=ej2π(F+F0)t
j2π(F+F0)|
0
Xa(F) = 1
j2π(F+F0)
202
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
−4 −3 −2 −1 0 1 2 3 4
0
1
2
3
4
F
|G|
−4 −3 −2 −1 0 1 2 3 4
−3
−2
−1
0
1
2
3
F
angle(G)
Figure 6.8-1:
(b)
x(n) = ej2πF0n
Fs
X(f) =
X
n=−∞
x(n)ej2πf n
=
X
n=0
ej2πF0n
Fsej2πf n
=
X
n=0
ej2π(F+F0
Fs)n
=1
1ej2π(F+F0
Fs)
(c) Refer to fig 6.9-1
(d) Refer to fig 6.9-2
(e) Aliasing occurs at Fs= 10Hz.
6.10
Since Fc+B
2
B=50+10
20 = 3 is an integer, then Fs= 2B= 40Hz
203
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 200 400 600 800 1000 1200
0
200
400
600
800
1000
1200
−−> |Xa(F)|
Figure 6.9-1:
0 5 10 15
0
2
4
6
8
10
12 Fs= 10
−−> |X(F)|
0 10 20 30
0
5
10
15 Fs= 20
−−> |X(F)|
0 20 40 60
0
10
20
30
40 Fs= 40
−−> |X(F)|
0 50 100 150
0
20
40
60
80
100 Fs= 100
−−> |X(F)|
Figure 6.9-2:
204
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
6.11
Fc= 100
B= 12
r=Fc+B
2
B
=106
12
=8.83= 8
B=Fc+B
2
r
=106
8
=53
4
Fs= 2B
=53
2Hz
6.12
(a)
x(n)X(w)
x2(n)X(w)X(w)
The output y1(t) is basically the square of the input signal ya(t). For the second system,
X(w)
w
−3π −2π −π 0 π −2π −π 0π 2π
X(w) * X(w)
w
spectrum of x
a2(t)
-2B 0 2B -2B 0 2B
spectrum of sampled xa
2(t),
(i.e.), s(n) = x
a2(nT)
Figure 6.12-3:
x2
a(t)X(w)X(w), the bandwidth is basically 2B. The spectrum of the sampled signal is
205
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
given in fig 6.12-3.
(b)
xa(t) = cos40πt
x(n) = cos40πn
50
=cos4πn
5
y(n) = x2(n)
=cos24πn
5
=1
2+1
2cos8πn
5
=1
2+1
2cos2πn
5
y1(t) = 1
2+1
2cos20πt
sa(t) = x2
a(t)
=cos240πt
=1
2+1
2cos80πt
s(n) = 1
2+1
2cos80πn
50
=1
2+1
2cos8πn
5
=1
2+1
2cos2πn
5
Hence, y2(t) = 1
2+1
2cos20πt
For Fs= 30,
x(n) = cos4πn
3
=cos2πn
3
y(n) = x2(n)
=cos22πn
3
=1
2+1
2cos4πn
3
=1
2+1
2cos2πn
3
y1(t) = 1
2+1
2cos20πt
sa(t) = x2
a(t)
=cos240πt
=1
2+1
2cos80πt
s(n) = 1
2+1
2cos80πn
30
=1
2+1
2cos2πn
3
206
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Hence, y2(t) = 1
2+1
2cos20πt
6.13
sa(t) = xa(t) + αxa(tτ),|α|<1
sa(n) = xa(n) + αxa(nτ
T)
Sa(w)
Xa(w)= 1 + αejτ w
T
If τ
Tis an integer, then we may select
H(z) = 1
1αz2where τ
T=L
6.14
X
n=−∞
x2(n) = 1
2πZπ
π|X(w)|2dw
X(w) = 1
T
X
k=−∞
Xaw2πk
T
=1
T
X
k=−∞
Xaw
T,|w| ≤ π
X
n=−∞
x2(n) = 1
2πZπ
π
1
T2|Xa(w
T)|2dw
=1
2πT 2Zπ
T
π
T|Xa(λ)|2T dλ
=1
2πT Zπ
T
π
T|Xa(λ)|2
Also, Ea=Z
−∞
x2
a(t)dt
=Z
−∞ |Xa(f)|2df
=ZFs
2
Fs
2|Xa(f)|2df
Therefore,
X
n=−∞
x2(n) = Ea
T
6.15
(a)
H(F) = Z
−∞
h(t)ej2πf tdt
207
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=ZT
0
t
Tej2πf tdt
|{z }
A
+Z2T
T
2ej2πf tdt
|{z }
B
Z2T
T
t
Tej2πf tdt
|{z }
C
Substituting a=j2πf
A(F) = 1
TeaT
a2(aT 1) 1
a2(1)
=eaT
a
|{z}
A1
eaT
T a2
|{z}
A2
+1
T a2
|{z}
A3
B(F) = 2
aea2TeaT
=2ea3T/2
πf sin(πf T )
C(F) = 1
Tea2T
a2(a2T1) eaT
a2(aT 1)
=ea2T
a
|{z}
C1
ea2T
a
|{z}
C2
+ea2T
T a2
|{z}
C3
+eaT
a
|{z}
C4
eaT
T a2
|{z}
C5
A1(F) + C1(F) = ea3T/2
πf sin(πf T )
A2(F) + C3(F) = ea3T/2
T aπf sin(πf T )
A3(F) + C5(F) = eaT/2
T aπf sin(πf T )
C2(F) + c4(F) = ea3T/2
πf sin(πf T )
Then,
H(F) = ej2πf T
Tsin(πf T )
πf 2
(b)
6.16
(a)
d(n) = x(n)ax(n1)
E[d(n)] = E[x(n)] aE[x(n1)] = 0
E[d2(n)] σ2
d=E[x(n)ax(n1)]2
=σ2
x+a2σ2
x2aE[x(n)x(n1)]
=σ2
x+a2σ2
x2x(1)
=σ2
x(1 + a22x(1))
where ρx(1) = γx(1)
σ2
x
γx(1)
γx(0)
208
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
−6/T −5/T −4/T −3/T −2/T −1/T 0 1/T 2/T 3/T 4/T 5/T 6/T
0
T/2
T
F
|H|
H(F)
Hideal(F)
Figure 6.15-1:
(b)
d
da σ2
x(1 + a22x(1))= 2a2ρx(1) = 0
a=ρx(1)
For this value of αwe have
σ2
d=σ2
x[1 + ρ2
x(1) 2ρ2
x(1)]
=σ2
x[1 ρ2
x(1)]
(c) σ2
d< σ2
xis always true if |ρx(1)|>0. Note also that |ρx(1)| ≤ 1.
(d)
d(n) = x(n)a1x(n1) a2x(n2)
E[d2(n)] = E[x(n)a1x(n1) a2x(n2)]2
σ2
d=σ2
x(1 + a2
1+a2
2+ 2a1(a21)ρx(1) 2a2ρx(2))
d
da1
σ2
d= 0
a1=ρx(1)[1 ρx(2)]
1ρ2
x(1)
d
da2
σ2
d= 0
a2=ρx(2) ρ2
x(1)
1ρ2
x(1)
Then, σ2
d min =13ρ2
x(1) ρ2
x(2) + 2ρ2
x(1)ρx(2) + 2ρ4
x(1) + ρ2
x(1)ρ2
x(2) 2ρ4
x(1)ρx(2)
[1 ρ2
x(1)]2
6.17
x(t) = Acos2πF t
209
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
dx(t)
dt =A(2πF )sin2πF t
=2πAF sin2πF t
dx(t)
dt |max = 2πAF
T
Hence, △ ≥ 2πAF T
=2πAF
Fs
Refer to fig 6.17-1.
Figure 6.17-1:
6.18
Let Pddenote the power spectral density of the quantization noise. Then (a)
Pn=ZB
Fs
B
Fs
Pddf
=2B
Fs
Pd
=σ2
e
SQNR = 10log10
σ2
x
σ2
e
= 10log10
σ2
xFs
2BPd
210
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
= 10log10
σ2
xFs
2BPd
+ 10log10Fs
Thus, SQNR will increase by 3dB if Fsis doubled.
(b) The most efficient way to double the sampling frequency is to use a sigma-delta modulator.
6.19
(a)
Se(F) = σ2
e
Fs
|Hn(F)|= 2|sinπF
Fs|
σ2
n=ZB
B|Hn(F)|2Se(F)dF
= 2 ZB
0
4sin2(πF
Fs
)σ2
e
Fs
dF
=4σ2
e
FsZB
0
(1 cos2πF
Fs
)dF
=4σ2
e
Fs
[BFs
2πsin2πB
Fs
]
=2σ2
e
π[2πB
Fssin2πB
Fs
]
(b)
For 2πB
Fs
<< 1,
sin2πB
Fs2πB
Fs1
6(2πB
Fs
)3
Therefore, σ2
n=2σ2
e
π[2πB
Fs2πB
Fs1
6(2πB
Fs
)3]
=1
3π2σ2
e(2B
Fs
)3
6.20
(a)
{[X(z)Dq(z)] 1
1z1Dq(z)}z1
1z1=Dq(z)E(z)
Dq(z) = z1X(z) + (1 z1)2E(z)
Therefore, Hs(z) = z1
and Hn(z) = (1 z1)2
(b)
|Hn(F)|= 4sin2(πF
Fs
)
= 2(1 cos(2πF
Fs
))
211
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(c)
σ2
n=ZB
B|Hn(F)|2σ2
e
Fs
dF
2ZB
0
[4(πF
Fs
)2]2σ2
e
Fs
dF
=32π4σ2
e
F5
sZB
0
F4dF
=1
5π4σ2
e(2B
Fs
)5
6.21
(a)
x(n) = cos2π
Nn
xa(t) = x(n)|n=t
T
=cos 2πt
NT
=cos2π(Fs
N)t
Therefore, F0=Fs
N
(b) Nanalog sinusoids can be generated. There are Npossible different starting phases.
6.22
(a)
h(t) = Z
−∞
H(F)ej2πF tdF
=Z
−∞
[c(FFc) + c(FFc)]ej2πF tdF
=c(t)ej2πFct+c(t)ej2πFct
= 2Re[c(t)ej2πFct]
(b)
H(F) = C(FFc) + C(FFc)
X(F) = 1
2[U(FFc) + U(FFc)]
Y(F) = X(F)H(F)
=1
2[C(FFc)U(FFc) + U(FFc)C(FFc)]
+1
2[C(FFc)U(FFc) + U(FFc)C(FFc)]
But C(FFc)U(FFc) = U(FFc)C(FFc) = 0
F1[C(F)U(F)] = Z
−∞
c(τ)u(tτ)v(t)
212
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Hence, y(t) = 1
2v(t)ej2πFct+1
2v(t)ej2πFct
= Re[v(t)ej2πFct]
6.23
(a) Refer to fig 6.23-1.
(b) Refer to fig 6.23-2.
0 20 40 60 80
0.4
0.6
0.8
1
−−−> x(n)
Zero Order hold: N = 32 thd = 0.1154
0 20 40 60 80
0.4
0.6
0.8
1
−−−> x(n)
First Order hold, N = 32 thd=0.1152
0 50 100 150
0
0.5
1
−−−> x(n)
Zero Order hold: N = 64 thd = 0.2331
0 50 100 150
0
0.5
1
−−−> x(n)
First Order hold, N = 64 thd=0.2329
0 100 200 300
0
0.5
1
−−−> n
−−−> x(n)
Zero Order hold: N = 128 thd = 0.4686
0 100 200 300
0
0.5
1
−−−> n
−−−> x(n)
First Order hold, N = 128 thd=0.4683
Figure 6.23-1:
(c) Refer to fig 6.23-3. The first order hold interpolator performs better than the zero order
interpolator because the frequency response of the first order hold is more closer to the ideal
interpolator than that of the zero order hold case.
(d) Refer to fig 6.23-4.
(e) Refer to fig 6.23-5. Higher order interpolators with more memory or cubic spline interpolators
would be a better choice.
213
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 20 40 60 80
0
0.5
1
1.5
−−−> x(n)
Zero Order hold: N = 32 thd = 0.1154
0 20 40 60 80
0
0.5
1
1.5
−−−> x(n)
First Order hold, N = 32 thd=0.1153
0 50 100 150
0
0.5
1
1.5
−−−> x(n)
Zero Order hold: N = 64 thd = 0.2333
0 50 100 150
0
0.5
1
1.5
−−−> x(n)
First Order hold, N = 64 thd=0.2332
0 100 200 300
0
0.5
1
1.5
−−−> n
−−−> x(n)
Zero Order hold: N = 128 thd = 0.4689
0 100 200 300
0
0.5
1
1.5
−−−> n
−−−> x(n)
First Order hold, N = 128 thd=0.4687
Figure 6.23-2:
214
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
10 20 30 40 50
0
0.2
0.4
0.6
0.8
1Zero Order Hold
−1 −0.5 0 0.5 1
0
0.5
1
1.5
2Zero Order Hold, filter spectrum
10 20 30 40 50
0
0.2
0.4
0.6
0.8
1First Order Hold
−1 −0.5 0 0.5 1
0
0.5
1
1.5
2First Order Hold, filter spectrum
Figure 6.23-3:
0 100 200 300 400 500 600
0
10
20
30
40
50 Zero Order Hold, interpolated output
−−−−> |X(f)|
0 100 200 300 400 500 600
0
10
20
30
40
50 First Order Hold, Interpolated output
−−−−> n
−−−−> |X(f)|
Figure 6.23-4:
215
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 10 20 30 40
0
0.05
0.1
0.15
0.2 Zero Order Hold, xi(n)
−−−> xi(n)
0 10 20 30 40
0
0.05
0.1
0.15
0.2 Zero Order Hold, y(n)
−−−> y(n)
0 10 20 30 40
0
0.05
0.1
0.15
0.2 First Order Hold, xi(n)
−−−> xi(n)
0 10 20 30 40
0
0.05
0.1
0.15
0.2 First Order Hold, y(n)
−−−> y(n)
Figure 6.23-5:
216
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
6.24
(a) xp(t) = P
n=−∞ xa(tnTs) is a periodic signal with period Ts. The fourier coefficients in a
fourier series representation are
ck=1
TsZTs
2
Ts
2
xp(t)ej2πkt
Tsdt
=1
TsZTs
2
Ts
2
X
n=−∞
xa(tnTs)ej2πkt
Tsdt
=1
Ts
X
n=−∞ ZTs
2
Ts
2
xa(tnTs)ej2πkt
Tsdt
=1
Ts
X
n=−∞ ZnTs+Ts
2
nTsTs
2
xa(t)ej2πk(t+nTs)
Tsdt
=1
TsZ
−∞
xa(t)ej2πkt
Tsdt
=1
Ts
Xa(k
Ts
)
=1
Ts
Xa(kδF )
(b) Let
w(t) = 1,Ts
2tTs
2
0,otherwise
If Ts2τ, xa(t) = xp(t)w(t)
Xa(F) = Xp(F)W(F)
Xa(F) = "
X
k=−∞
ckδ(Fk
Ts
)#Ts
sinπF Ts
πF Ts
=Ts
X
k=−∞
ck
sinπ(Fk
Ts)Ts
π(Fk
Ts)Ts
=
X
k=−∞
Xa(kδF )sinπ(Fk
Ts)Ts
π(Fk
Ts)Ts
, Ts=1
δF
(c) If T < 2τ, there will be aliasing in every period of xp(t). Hence, xa(t)6=xp(t)w(t) and
consequently, xa(t) cannot be recovered from xp(t).
(d) From (b) Xa(F) = P
k=−∞ Xa(kδF )sinπ (FF )
δF
π(FkδF )
δF
217
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
218
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Chapter 7
7.1
Since x(n) is real, the real part of the DFT is even, imaginary part odd. Thus, the remaining
points are {0.125 + j0.0518,0,0.125 + j0.3018}
7.2
(a)
˜x2(l) = x2(l),0lN1
=x2(l+N),(N1) l≤ −1
˜x2(l) = sin(3π
8l),0l7
=sin(3π
8(l+ 8)),7l≤ −1
=sin(3π
8|l|),|l| ≤ 7
Therefore, x1(n)8
x2(n) =
3
X
m=0
˜x2(nm)
=sin(3π
8|n|) + sin(3π
8|n1|) + ...+sin(3π
8|n3|)
={1.25,2.55,2.55,1.25,0.25,1.06,1.06,0.25}
(b)
˜x2(n) = cos(3π
8n),0l7
=cos(3π
8n),7l≤ −1
= [2u(n)1] cos(3π
8n),|n| ≤ 7
Therefore, x1(n)8
x2(n) =
3
X
m=0 1
4m
˜x2(nm)
={0.96,0.62,0.55,1.06,0.26,0.86,0.92,0.15}
(c)
for (a) X1(k) =
7
X
n=0
x1(n)ejπ
4kn
219
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
={4,1j2.4142,0,1j0.4142,0,1 + j0.4142,0,1 + j2.4142}
similarly,
X2(k) = {1.4966,2.8478,2.4142,0.8478,0.6682,0.8478,
2.4142,2.8478}
DFT of x1(n)8
x2(n) = X1(k)X2(k)
={5.9864,2.8478 j6.8751,0,0.8478 + j0.3512,0,
0.8478 j0.3512,0,2.8478 + j6.8751}
For sequences of part (b)
X1(k) = {1.3333,1.1612 j0.2493,0.9412 j0.2353,0.8310 j0.1248,
0.8,0.8310 + j0.1248,0.9412 + j0.2353,1.1612 + j0.2493}
X2(k) = {1.0,1.0 + j2.1796,1.0j2.6131,1.0j0.6488,1.0,
1.0 + j0.6488,1.0 + j2.6131,1.0j2.1796}
Consequently,
DFT of x1(n)8
x2(n) = X1(k)X2(k)
={1.3333,1.7046 + j2.2815,0.3263 j2.6947,0.75 j0.664,0.8,
0.75 + j0.664,0.3263 + j2.6947,1.7046 j2.2815}
7.3
ˆx(k) may be viewed as the product of X(k) with
F(k) = 1,0kkc, N kckN1
0, kc< k < N kc
F(k) represents an ideal lowpass filter removing frequency components from (kc+ 1)2π
Nto π.
Hence ˆx(n) is a lowpass version of x(n).
7.4
(a)
x1(n) = 1
2ej2π
Nn+ej2π
Nn
X1(k) = N
2[δ(k1) + δ(k+ 1)]
also X2(k) = N
2j[δ(k1) δ(k+ 1)]
So X3(k) = X1(k)X2(k)
=N2
4j[δ(k1) δ(k+ 1)]
and x3(n) = N
2sin(2π
Nn)
(b)
˜
Rxy(k) = X1(k)X
2(k)
=N2
4j[δ(k1) δ(k+ 1)]
˜rxy(n) = N
2sin(2π
Nn)
220
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(c)
˜
Rxx(k) = X1(k)X
1(k)
=N2
4[δ(k1) + δ(k+ 1)]
˜rxx(n) = N
2cos(2π
Nn)
(d)
˜
Ryy(k) = X2(k)X
2(k)
=N2
4[δ(k1) + δ(k+ 1)]
˜ryy(n) = N
2cos(2π
Nn)
7.5
(a)
N1
X
n=0
x1(n)x
2(n) = 1
4
N1
X
n=0 ej2π
Nn+ej2π
Nn2
=1
4
N1
X
n=0 ej4π
Nn+ej4π
Nn+ 2
=1
42N
=N
2
(b)
N1
X
n=0
x1(n)x
2(n) = 1
4j
N1
X
n=0 ej2π
Nn+ej2π
Nnej2π
Nnej2π
Nn
=1
4j
N1
X
n=0 ej4π
Nnej4π
Nn
= 0
(c) PN1
n=0 x1(n)x
2(n) = 1 + 1 = 2
7.6
w(n) = 0.42 0.25 ej2π
N1n+ej2π
N1n+ 0.04 ej4π
N1n+ej4π
N1n
w(k) = 0.42
N1
X
n=0
ej2π
Nnk 0.25 "N1
X
n=0
ej2π
N1nej2π
Nnk +
N1
X
n=0
ej2π
N1nej2π
Nnk#
+0.04 "N1
X
n=0
ej4π
N1nej2π
Nnk +
N1
X
n=0
ej4π
N1nej2π
Nnk#
221
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
= 0.42Nδ(k)
0.25 "1ej2π[N
N1k]
1ej2π[1
N1k
N]+1ej2π[N
N1+k]
1ej2π[1
N1+k
N]#
+0.04 "1ej2π[2N
N1k]
1ej2π[2
N1k
N]+1ej2π[2N
N1+k]
1ej2π[2
N1+k
N]#
= 0.42Nδ(k)
0.25 "1cos(2πN
N1)cos(2π(1
N1+k
N)) + cos(2πk
N)
1cos(2π(1
N1+k
N)) #
+0.04 "1cos(4πN
N1)cos(2π(2
N1+k
N)) + cos(2πk
N)
1cos(2π(2
N1+k
N)) #
7.7
Xc(k) =
N1
X
n=0
1
2x(n)ej2πk0n
N+ej2πk0n
Ne2πkn
N
=1
2
N1
X
n=0
x(n)ej2π(kk0)n
N+1
2
N1
X
n=0
x(n)ej2π(k+k0)n
N
=1
2X(kk0)modN+1
2X(k+k0)modN
similarly, Xs(k) = 1
2jX(kk0)modN1
2jX(k+k0)modN
7.8
y(n) = x1(n)4
x2(n)
=
3
X
m=0
x1(m)mod4x2(nm)mod4
={17,19,22,19}
7.9
X1(k) = {7,2j, 1,2 + j}
X2(k) = {11,2j, 1,2 + j}
X3(k) = X1(k)X2(k)
={17,19,22,19}
222
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
7.10
x(n) = 1
2ej2πkn
N+ej2πkn
N
x(n)x(n) = 1
42 + ej4πkn
N+ej4πkn
N
E=
N1
X
n=0
x(n)x(n)
=1
4
N1
X
n=0 2 + ej4πkn
N+ej4πkn
N
=1
42N
=N
2
7.11
(a)
x1(n) = x(n5)mod8
X1(k) = X(k)ej2π5k
8
=X(k)ej5πk
4
(b)
x2(n) = x(n2)mod8
X2(k) = X(k)ej2π2k
8
=X(k)ejπk
2
7.12
(a)
s(k) = Wk
2X(k)
= (1)kX(k)
s(n) = 1
6
5
X
k=0
(1)kX(k)Wkn
NN= 6
=1
6
5
X
k=0
X(k)Wk(n3)
N
=x(n3)mod6
s(n) = {3,4,0,0,1,2}
(b)
y(n) = IDFT X(k) + X(k)
2
223
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=1
2[IDFT {X(k)}+ IDFT {X(k)}]
=1
2x(n) + x(n)modN
=x(0),x(1) + x(5)
2,x(2) + x(4)
2, x(3),x(4) + x(2)
2,x(5) + x(1)
2
=0,1
2,3,3,3,1
2
(c)
v(n) = IDFT X(k)X(k)
2j
By similar means to (b)
v(n) = 0,1
2j, j, 0,j, 1
2j
7.13
(a)
X1(k) =
N1
X
n=0
x(n)Wkn
N
X3(k) =
3N1
X
n=0
x(n)Wkn
3N
=
N1
X
n=0
x(n)Wkn
3N+
2N1
X
n=N
x(n)Wkn
3N+
3N1
X
n=2N
x(n)Wkn
3N
=
N1
X
n=0
x(n)Wnk
3
N+
N1
X
n=0
x(n)Wk
3Wnk
3
N+
N1
X
n=0
x(n)W2k
3Wnk
3
N
=
N1
X
n=0
x(n)1 + Wk
3+W2k
3Wnk
3
N
= (1 + Wk
3+W2k
3)X1(k)
(b)
X1(k) = 2 + Wk
2
X3(k) = 2 + Wk
6+ 2W2k
6+W3k
6+ 2W4k
6+W5k
6
= (2 + W
k
3
2) + W2k
6(2 + W
k
3
2) + W4k
6(2 + W
k
3
2)
= (1 + Wk
3+W2k
3)X1(k
3)
7.14
(a)
y(n) = x1(n)5
x2(n)
={4,0,1,2,3}
224
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b) Let x3(n) = {x0, x1,...,x4}. Then,
0 4 3 2 1
1 0 4 3 2
2 1 0 4 3
3 2 1 0 4
4 3 2 1 0
x0
x1
x2
x3
x4
=
1
0
0
0
0
Solving yields sequence
x3(n) = 0.18
,0.22,0.02,0.02,0.02
.
7.15
Define H1(z)
=H1(z) and corresponding time signal h1(n). The use of 64-pt DFTs of y(n)
and h1(n) yields x(n) = y(n)64
h1(n) whereas x(n) requires linear convolution. However we
can simply recognize that
X(z) = Y(z)H1(z)
=Y(z)0.5Y(z)z1
so x(n) = y(n)0.5y(n1),0n63
with y(1)
= 0
7.16
H(k) =
N1
X
n=0
h(n)ej2π
Nkn
= 1 + (1
4)ej2π
4k0k0k
= 1 1
4ejπ
2k
G(k) = 1
H(k)
=1
11
4ej2π
Nk
= 1 + 1
4ejπ
2k+1
4ejπ
2k2
+...
=4
3,16 4j
17 ,4
5,16 + 4j
17 ,repeat k0times
g(n) = 1
N
N1
X
n=0
G(k)ej2π
Nkn
=1
4k0
[
4k04
X
k=0,4,...
4
3ej2π
4k0kn +
4k03
X
k=1,5,... 16 4j
17 ej2π
4k0kn
225
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+
4k02
X
k=2,6,...
4
5ej2π
4k0kn +
4k01
X
k=3,7,... 16 + 4j
17 ej2π
4k0kn]
=1
4k04
3X+16 4j
17 ej2π
4k0nX+4
5ej2π
4k02nX
+16 + 4j
17 ej2π
4k03nX
where X
=
k01
X
i=0
ej2π
k0ni
But X= 1,yielding
g(0) = 1
44
3+16 4j
17 +4
5+16 + 4j
17 
=256
255
g(k0) = 1
44
3+j16 4j
17 4
5j16 + 4j
17 
=64
255
g(2k0) = 1
44
316 4j
17 +4
516 + 4j
17 
=16
255
g(3k0) = 1
44
3j16 4j
17 4
5+j16 + 4j
17 
=4
255
and g(n) = 0 for other nin [0,4k0).
Therefore, g(n)h(n) =
256
255,0,0,..., 0
k0
,..., 0
2k0
,..., 0
3k0
,...,1
255
4k0
,0
g(.) represents a close approximation to an inverse system, but not an exact one.
7.17
X(k) =
7
X
n=0
x(n)ej2π
8kn
={6,0.7071 j1.7071,1j, 0.7071 + j0.2929,0,0.7071 j0.2929,1 + j,
0.7071 + j1.7071}
|X(k)|={6,1.8478,1.4142,0.7654,0,0.7654,1.4142,1.8478}
6X(k) = 0,1.9635,π
4,0.3927,0,0.3927,π
4,1.9635
226
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
7.18
x(n) =
X
i=−∞
δ(niN)
y(n) = X
m
h(m)x(nm)
=X
m
h(m)"X
i
δ(nmiN)#
=X
i
h(niN)
Therefore, y(.) is a periodic sequence with period N. So
Y(k) =
N1
X
n=0
y(n)Wkn
N
=H(w)|w=2π
Nk
Y(k) = H(2πk
N)k= 0,1,...,N 1
7.19
Call the two real even sequences xe1(.) and xe2(.), and the odd ones xo1(.) and xo2(.) (a)
Let xc(n) = [xe1(n) + xo1(n)] + j[xe2(n) + xo2(n)]
Then, Xc(k) = DFT {xe1(n)}+ DFT {xo1(n)}+jDFT {xe2(n)}+jDFT {xo2(n)}
= [Xe1(k) + Xo1(k)] + j[Xe2(k) + Xo2(k)]
where Xe1(k) = Re[Xc(k)] + Re[Xc(k)]
2
Xo1(k) = Re[Xc(k)] Re[Xc(k)]
2
Xe2(k) = Im[Xc(k)] + Im[Xc(k)]
2
Xo2(k) = Im[Xc(k)] Im[Xc(k)]
2
(b)
si(0) = xi(1) xi(N1) = 0
si(Nn) = xi(Nn+ 1) + xi(Nn1)
=xi(n+ 1) xi(n1)
=si(n)
(c)
x(n) = [x1(n) + s3(n)] + j[x2(n) + s4(n)]
The DFT of the four sequences can be computed using the results of part (a)
For i= 3,4, si(k) =
N1
X
n=0
si(n)Wkn
N
227
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=
N1
X
n=0
[xi(n+ 1) xi(n1)] Wkn
N
=Wk
NXi(k)Wk
NXi(k)
= 2jsin(2π
Nk)Xi(k)
Therefore, X3(k) = s3(k)
2jsin(2π
Nk)
X4(k) = s4(k)
2jsin(2π
Nk)
(d) X3(0) and X4(0), because sin(2π
Nk) = 0.
7.20
X(k) =
N1
X
n=0
x(n)Wkn
N
=
N
21
X
n=0
x(n)Wkn
N+
N
21
X
n=0
x(n+N
2)Wk(n+N
2)
N
=
N
21
X
n=0 x(n)x(n)Wk
2Wkn
N
If kis even, Wk
2= 1,and X(k) = 0
(b) If kis odd, Wk
2=1,Therefore,
X(k) =
N
21
X
n=0
2x(n)Wkn
N
= 2
N
21
X
n=0
x(n)Wnk
2
N
2
For k= 2l+ 1, l = 0,..., N
21
X(2l+ 1) = 2
N
21
X
n=0
x(n)Wln
N
2Wn
N
=N
2pt DFT of sequence 2x(n)Wn
N
7.21
(a) FsFN= 2B= 6000 samples/sec
(b)
T=1
Fs
=1
6000
228
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
1
LT 50
L1
50T
=6000
50
= 120 samples
(c) LT =1
6000 ×120 = 0.02 seconds.
7.22
x(n) = 1
2ej2π
Nn+1
2ej2π
Nn,0nN, N = 10
X(k) =
N1
X
n=0
x(n)ej2π
Nkn
=
N1
X
n=0
1
2ej2π
N(k1)n+
N1
X
n=0
1
2ej2π
N(k+1)n
= 5δ(k1) + 5δ(k9),0k9
7.23
(a) X(k) = PN1
n=0 δ(n)ej2π
Nkn = 1,0kN1
(b)
X(k) =
N1
X
n=0
δ(nn0)ej2π
Nkn
=ej2π
Nkn0,0kN1
(c)
X(k) =
N1
X
n=0
anej2π
Nkn
=
N1
X
n=0
(aej2π
Nk)n
=1aN
1aej2π
Nk
(d)
X(k) =
N
21
X
n=0
ej2π
Nkn
=1ej2π
N
N
2k
1ej2π
Nk
=1(1)k
1ej2π
Nk
229
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(e)
X(k) =
N1
X
n=0
ej2π
Nnk0ej2π
Nkn
=
N1
X
n=0
ej2π
N(kk0)n
=Nδ(kk0)
(f)
x(n) = 1
2ej2π
Nnk0+1
2ej2π
Nnk0
From (e) we obtain X(k) = N
2[δ(kk0) + δ(kN+k0)]
(g)
x(n) = 1
2jej2π
Nnk01
2jej2π
Nnk0
Hence X(k) = N
2j[δ(kk0)δ(kN+k0)]
(h)
X(k) =
N1
X
n=0
x(n)ej2π
Nnk( assume N odd )
= 1 + ej2π
N2k+ej2π
N4k+...+ej2π
N(n1)k
=1(ej2π
N2k)N+1
2
1ej2π
N2k
=1ej2π
Nk
1ej4π
Nk
=1
1ej2π
Nk
7.24
(a)
x(n) = 1
N
N1
X
k=0
X(k)ej2π
Nnk
N1
X
k=0
X(k)ej2π
Nnk =Nx(n)
X(0) + X(1) + X(2) + X(3) = 4
X(0) + X(1)ejπ
2+X(2)ejπ +X(3)ej3π
2= 8
X(0) + X(1)ejπ +X(2)ej2π+X(3)ej3π= 12
X(0) + X(1)ej3π
2+X(2)ej3π+X(3)ej9π
2= 4
1 1 1 1
1j1j
11 1 1
1j1j
X(0)
X(1)
X(2)
X(3)
=
4
8
12
4
X(0)
X(1)
X(2)
X(3)
=
7
2j
1
2 + j
230
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b)
X(k) =
3
X
n=0
x(n)ej2π
4nk
X(0) =
3
X
n=0
x(n)
= 7
X(1) =
3
X
n=0
x(n)ejπ
2n
=2j
X(2) =
3
X
n=0
x(n)ejπn
= 1
X(3) =
3
X
n=0
x(n)ej3π
2n
=2 + j
7.25
(a)
X(w) =
X
n=−∞
x(n)ejwn
=ej2w+ 2ejw + 3 + 2ejw +ej2w
= 3 + 2cos(2w) + 4cos(4w)
(b)
V(k) =
5
X
n=0
v(n)ej2π
6nk
= 3 + 2ej2π
6k+ej2π
62k+ 0 + ej2π
64k+ej2π
65k
= 3 + 4cos(π
3k) + 2cos(2π
3k)
(c) V(k) = X(w)|w=2πk
6=πk
3
This is apparent from the fact that v(n) is one period (0 n7) of a periodic sequence
obtained by repeating x(n).
7.26
Let x(n) =
X
l=−∞
δ(n+lN )
Hence, x(n) is periodic with period N, i.e.
x(n) = 1, n = 0,±N, ±2N,...
231
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
= 0,otherwise
Then X(k) =
N1
X
n=0
x(n)ej2π
Nnk = 1,0kN1
and x(n) = 1
N
N1
X
k=0
X(k)ej2π
Nnk
Hence,
X
l=−∞
δ(n+lN ) = 1
N
N1
X
k=0
ej2π
Nnk
7.27
(a)
Y(k) =
M1
X
n=0
y(n)Wkn
M
=
M1
X
n=0 X
l
x(n+lM )Wkn
M
Now X(w) = X
n
x(n)ejwn,
so X(2π
Mk) = X
n
Wkn
M
=
M1
X
n=0 X
l
x(n+lM )Wk(n+lM )
M
=
M1
X
n=0 X
l
x(n+lM )Wkn
M
=Y(k)
Therefore, Y(k) = X(w)|w=2π
Mk
(b)
Y(k) = X(w)|w=2π
N
2
k
Y(k
2) = X(w)|w=2π
Nk
=X(k), k = 2,4,...,N 2
(c)
X1(k) = X(k+ 1)
x1(n) = x(n)ej2π
Nn
=x(n)Wn
N
Let y(n) = x1(n) + x1(n+N
2),0nN1
= 0,elsewhere
Then X(k+ 1) = X1(k)
=Y(k
2), k = 0,2,...,N 2
232
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
where Y(k) is the N
2-pt DFT of y(n)
7.28
(a) Refer to fig 7.28-1.
(b)
0 10 20 30
0
0.2
0.4
0.6
0.8
1
−−−> n
−−−> x(n)
x(n)
01234
−5
0
5
10
15
20
−−−> w
−−−> X(w)
X(w)
0 10 20 30
−0.2
0
0.2
0.4
0.6 ck
0 10 20 30
0
0.5
1
−−−> n
−−−> xtilde(n)
xtilde(n)
Figure 7.28-1:
X
n=−∞
x(n)ejwn =
X
n=−∞
a|n|ejwn
=a+
1
X
L
anejwn +
L
X
1
anejwn
=a+
L
X
1
anejwn +
L
X
1
anejwn
=a+ 2
L
X
n=1
ancos(wn)
=x(0) + 2
L
X
n=1
x(n)cos(wn)
(c) Refer to fig 7.28-1.
(d) Refer to fig 7.28-1.
233
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(e) Refer to fig 7.28-2.
(f) N=15. Refer to fig 7.28-3.
0 50 100 150 200 250
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
−−−> n
−−−> x(n)
x(n)
Figure 7.28-2:
234
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
−20 −10 0 10 20
0
0.2
0.4
0.6
0.8
1
−−−> n
−−−> x(n)
x(n)
0 1 2 3 4
−5
0
5
10
15
20
−−−> w
−−−> X(w)
X(w)
0 5 10 15
−0.5
0
0.5
1
1.5
−−−> w
−−−> ck
ck
−10 −5 0 5 10
0.6
0.8
1
1.2
1.4
−−−> n
−−−> xtilde(n)
xtilde(n)
Figure 7.28-3:
7.29
Refer to fig 7.29-1. The time domain aliasing is clearly evident when N=20.
7.30
Refer to fig 7.30-1.
(e)
xam(n) = x(n)cos(2πfcn)
Xam(w) =
N1
X
n=0
x(n)cos(2πfcn)ej2πfn
=1
2
N1
X
n=0
x(n)hej2π(ffc)n+ej2π(f+fc)ni
Xam(w) = 1
2[X(wwc) + X(w+wc)]
7.31
(a) ck={2
π,1
π,2
3π,1
2π...}
(b) Refer to fig 7.31-1. The DFT of x(n) with N= 128 has a better resolution compared to one
with N= 64.
235
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 2 4 6 8
0
5
10 X(w)
−−> mag
0 1000 2000 3000
0
0.5
1
1.5 x(n)
−−> x(n)
0 2 4 6 8
0
5
10 X(w) with N=20
−−> mag
0 10 20 30
0
0.5
1
1.5 x(n) with N=20
−−> x(n)
0 2 4 6 8
0
5
10 X(w) with N=100
−−> w
−−> mag
0 50 100 150
0
0.5
1
1.5 x(n) with N=100
−−> n
−−> x(n)
Figure 7.29-1:
7.32
(a)
Y(jΩ) = 1
2πP(jΩ) X(jΩ)
=1
2πT0sin(T0
2)ejT0
2[2πδ(Ω 0)]
where sincx
=sin x
x
Y(jΩ) = T0sinc T0(Ω 0)
2ejT0(Ω0)
2
(b) w0P= 2πk for an integer k, or w0=2k
Pπ
(c)
Y(w) =
N1
X
n=0
ejw0nejwn
236
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 100 200 300
−2
0
2
x(n)
x(n)
0 100 200 300
−1
0
1
xc(n)
xc(n)
0 100 200 300
−2
0
2
xam(n)
xam(n)
0 50 100 150
0
20
40
mag
Xam(w) with N=128
0 50 100 150
0
10
20
30
mag
Xam(w) with N=100
0 100 200 300
0
20
40
60
mag
Xam(w) with N=180
Figure 7.30-1:
=sinN
2(ww0)
sinww0
2
ejN1
2(ww0)
Larger Nnarrower main lobe of |Y(w)|.T0in Y(jΩ) has the same effect.
(d)
Y(k) = Y(w)|w=2π
Nk
=sinπ(kl)
sinπ(kl)
N
ejN1
Nπ(kl)
|Y(k)|=|sinπ(kl)|
|sinπ(kl)
N|
=Nδ(kl)
(e) The frequency samples 2π
Nkfall on the zeros of Y(w). By increasing the sampling by a factor
of two, for example, we will obtain a frequency sample between the nulls.
Y(w)|w=2π
2Nk=π
Nk, k=0,1,...,2N1
237
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 200 400 600 800
−1.5
−1
−0.5
0
0.5
1
1.5 x(n)
0 20 40 60 80
0
5
10
15
20 DFT of x(n) with N=64
0 50 100 150
0
10
20
30
40
50
60 DFT of x(n) with N=128
Figure 7.31-1:
238
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Chapter 8
8.1
Since (ej2π
Nk)N=ej2πk = 1, ej2π
Nksatisfies the equation XN= 1. Hence ej2π
Nkis an Nth root
of unity. Consider PN1
n=0 ej2π
Nknej2π
Nln. If k6=l, the terms in the sum represent the N equally
spaced roots in the unit circle which clearly add to zero. However, if k=l, the sum becomes
PN1
n=0 1 = N. see fig 8.1-1
π
12
eπ
12
e
unit circle
z-plane
Roots for N=12
j4 j2
Figure 8.1-1:
8.2
(a) Wq
NWq(l1)
N=ej2π
Nqej2π
Nq(l1) =ej2π
Nql =Wql
N
(b) Let ˆ
Wq
N=Wq
N+δwhere ˆ
Wq
Nis the truncated value of Wq
N. Now ˆ
Wql
N= (Wq
N+δ)lWql
N+.
239
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Generally, single precision means a 32-bit length or δ= 5x1010; while 4 significant digits means
δ= 5x105. Thus the error in the final results would be 105times larger.
(c) Since the error grows as lδ, after N iterations we have an error of Nδ. If Wql
Nis reset to -j
after every ql =N
4iterations, the error at the last step of the iteration is =hN
4qiδ. Thus, the
error reduced by approximately a factor 4q.
8.3
X(k) =
N1
X
n=0
x(n)Wkn
N0kN1
=
N
21
X
n=0
x(n)Wkn
N+
N1
X
n=N
2
x(n)Wkn
N
=
N
21
X
n=0
x(n)Wkn
N+
N
21
X
r=0
x(r+N
2)W(r+N
2)k
N
LetX(k) = X(2k+ 1),0kN
21
Then, X(k) =
N
21
X
n=0 x(n)W(2k+1)n
N+x(n+N
2)W(n+N
2)(2k+1)
N
Using the fact that W2kn
N=Wkn
N
2, W N
N= 1
X(k) =
N
21
X
n=0 x(n)Wn
NWkn
N
2+x(n+N
2)Wkn
N
2Wn
NW
N
2
N
=
N
21
X
n=0 x(n)x(n+N
2)Wn
NWkn
N
2
8.4
Create three subsequences of 8-pts each
Y(k) =
21
X
n=0,3,6,...
y(n)Wkn
N+
22
X
n=1,4,7,...
y(n)Wkn
N+
23
X
n=2,5,...
y(n)Wkn
N
=
7
X
i=0
y(3i)Wki
N
3+
7
X
i=0
y(3i+ 1)Wki
N
3Wk
N+
7
X
i=0
y(3i+ 2)Wki
N
3W2k
N
=Y1(k) + Wk
NY2(k) + W2k
NY3(k)
where Y1, Y2, Y3represent the 8-pt DFTs of the subsequences.
8.5
X(z) = 1 + z1+...+z6
240
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
X(k) = X(z)|z=ej2π
5
= 1 + ej2π
5+ej4π
5+...+ej12π
5
= 2 + 2ej2π
5+ej4π
5+...+ej8π
5
x(n) = {2,2,1,1,1}
x(n) = X
m
x(n+ 7m), n = 0,1,...,4
Temporal aliasing occurs in first two points of x(n) because X(z) is not sampled at sufficiently
small spacing on the unit circle.
8.6
(a) Zk= 0.8ej[2πk
8+π
8]see fig 8.6-1
(b)
circle of radius 0.8
z1
z0
z2
z3
z4
z5z6
z7
2π
8
π
8
z-plane
Figure 8.6-1:
X(k) = X(z)|z=zk
=
7
X
n=0
x(n)h0.8ej[2πk
8+π
8]in
s(n) = x(n) 0.8ejπ
8n
241
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
8.7
Let M=N
2, L = 2.Then
F(0, q) =
N
21
X
n=0
x(0, m)Wmq
N
2
F(1, q) =
N
21
X
n=0
x(1, m)Wmq
N
2
which are the same as F1(k) and F2(k) in (8.1.26)
G(0, q) = F(0, q) = F1(k)
G(1, q) = Wq
NF(1, q) = F2(k)Wk
N
X(0, q) = x(k) = G(0, q) + G(1, q)W0
2
=F1(k) + F2(k)Wk
N
X1, q) = x(k) = G(0, q) + G(1, q)W1
2
=F1(k)F2(k)Wk
N
8.8
W8=1
2(1 j)
Refer to Fig.8.1.9. The first stage of butterflies produces (2, 2, 2, 2, 0, 0, 0, 0). The twiddle
factor multiplications do not change this sequence. The nex stage produces (4, 4, 0, 0, 0, 0, 0,
0) which again remains unchanged by the twiddle factors. The last stage produces (8, 0, 0, 0, 0,
0, 0, 0). The bit reversal to permute the sequence into proper order unscrambles only zeros so
the result remains (8, 0, 0, 0, 0, 0, 0, 0).
8.9
See Fig. 8.1.13.
8.10
Using (8.1.45), (8.1.46), and (8.1.47) the fig 8.10-1 is derived:
8.11
Using DIT following fig 8.1.6:
1st stage outputs : 1
2,1
2,1
2,...,1
2
2nd stage outputs : 1,1
2(1 + W2
8),0,1
2(1 W2
8),1,1
2(1 + W2
8),0,1
2(1 W2
8)
242
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
x(0)
x(4)
x(8)
x(12)
x(1)
x(5)
x(9)
x(13)
x(2)
x(6)
x(10)
x(14)
x(3)
x(7)
x(11)
x(15)
x(0)
x(1)
x(2)
x(3)
x(4)
x(5)
x(6)
x(7)
x(8)
x(9)
x(10)
x(11)
x(12)
x(13)
x(14)
x(15)
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2
3
0
2
4
6
0
3
6
9
Figure 8.10-1:
3rd stage outputs : 2,1
2(1 + W1
8+W2
8+W3
8),0,1
2(1 W2
8+W3
8W5
8),0,
1
2(1 W1
8+W2
8W3
8),0,1
2(1 W2
8W3
8+W5
8
Using DIF following fig 8.1.11:
1st stage outputs : 1
2,1
2,1
2,1
2,1
2,1
2,1
2W1
8,1
2W2
8,1
2W3
8
2nd stage outputs : 1,1,0,0,1
2(1 + W2
8),0,1
2(W1
8+W3
8),1
2(1 W2
8),1
2(W3
8W5
8)
3rd stage outputs : 2,0,0,0,1
2(1 + W1
8+W2
8+W3
8),1
2(1 W1
8+W2
8W3
8),
1
2(1 W2
8+W3
8W5
8),1
2(1 W2
8W3
8+W5
8
8.12
Let
A
=
1 1 1 1
1j1j
11 1 1
1j1j
x1
=x(0) x(4) x(8) x(12) T
243
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
x2
=x(1) x(5) x(9) x(13) T
x3
=x(2) x(6) x(10) x(14) T
x4
=x(3) x(7) x(11) x(15) T
F(0)
F(4)
F(8)
F(12)
=Ax1=
4
0
0
0
F(1)
F(5)
F(9)
F(13)
=Ax2=
0
0
0
0
F(2)
F(6)
F(10)
F(14)
=Ax3=
4
0
0
0
F(3)
F(7)
F(11)
F(15)
=Ax4=
0
0
0
0
As every F(i) = 0 except F(0) = F(2) = 4,
x(0)
x(7)
x(8)
x(12)
=Ax4
F(0)
F(1)
F(2)
F(3)
=
0
8
0
8
which means that X(4) = X(12) = 8. X(k) = 0 for other K.
8.13
(a) ”gain” = W0
8W0
8(1)W2
8=W2
8=j
(b) Given a certain output sample, there is one path from every input leading to it. This is true
for every output.
(c) X(3) = x(0) + W3
8x(1) W2
8x(2) + W2
8W3
8x(3) W0
8x(4) W0
8W3
8x(5) + W0
8W2
8x(6) +
W0
8W2
8W3
8x(7)
8.14
Flowgraph for DIF SRFFT algorithm for N=16 is given in fig 8.14-1. There are 20 real, non
trivial multiplications.
244
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
x(0)
x(1)
x(2)
x(3)
x(4)
x(5)
x(6)
x(7)
x(8)
x(9)
x(10)
x(11)
x(12)
x(13)
x(14)
x(15)
X(0)
X(8)
X(4)
X(12)
X(2)
X(10)
X(6)
X(14)
X(1)
X(9)
X(5)
X(13)
X(3)
X(11)
X(7)
X(15)
-1
-1
-1
-1
-1
-1
-1
-1
+j
+j
+j
+j
w0
w1
w2
w
3
w
w
w
w
0
3
6
9
-1
-1
-1
+j
-1
-1
-1 +j
-1 +j
-1
w0
w2
w
0
w6
+j
+j
-1
-1
-1
-1
-1 +j
-1
-1
-j
-j
-j
-j
-j
-j
-j
-j
-j
-j
Figure 8.14-1:
8.15
For the DIT FFT, we have
X(k) =
N
21
X
n=0
x(2n)Wnk
N
2+
N
21
X
n=0
x(2n+ 1)W(2n+1)k
N
The first term can be obtained from an N
2-point DFT without any additional multiplications.
Hence, we use a radix-2 FFT. For the second term, we use a radix-4 FFT. Thus, for N=8, the
DFT is decomposed into a 4-point, radix-2 DFT and a 4-point radix-4 DFT. The latter is
N
21
X
n=0
x(2n+ 1)W(2n+1)k
N=
N
41
X
n=0
x(4n+ 1)Wk
NWk
N
4+
N
41
X
n=0
x(4n+ 3)W3k
NWk
N
4
The computation of X(k), X(k+N
4), X(k+N
2), X(k+3N
4) for k= 0,1,...,N
41 are performed
from the following:
X(k) =
N
21
X
n=0
x(2n)Wnk
N
2+
N
41
X
n=0
x(4n+ 1)Wk
NWnk
N
4+
N
41
X
n=0
x(4n+ 3)W3k
NWnk
N
4
X(k+N
4) =
N
21
X
n=0
x(2n)Wnk
N
2(1)n+
N
41
X
n=0
x(4n+ 1)(j)Wnk
N
4+
N
41
X
n=0
x(4n+ 3)W3k
N(j)Wnk
N
4
X(k+N
2) =
N
21
X
n=0
x(2n)Wnk
N
2+
N
41
X
n=0
x(4n+ 1)(1)Wk
NWnk
N
4+
N
41
X
n=0
x(4n+ 3)(1)W3k
NWnk
N
4
245
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
X(k+3N
4) =
N
21
X
n=0
x(2n)Wnk
N
2(1)n+
N
41
X
n=0
x(4n+ 1)(j)Wn
NWnk
N
4+
N
41
X
n=0
x(4n+ 3)(j)W3k
NWnk
N
4
The basic butterfly is given in fig 8.15-1
x(0)
x(4)
x(2)
x(6)
x(1)
x(5)
x(3)
x(7)
X(0)
X(1)
X(2)
X(3)
X(4)
X(5)
X(6)
X(7)
-1
-1
-1
-1
-1
-1
J
J
-J
-J
-1
-1
-1
-1
W
W
W
2
1
DIT/SRFFT
This graph looks like the transpose of
an N-point DIF FFT. The twiddle factors
come before the second stage.
x(2n+1)
x(4n+3)
from
from
WN
3k
WN
nfrom the use of
x(2n)
-1
-1
X(k)
X(k+N/4)
X(k+N/2)
X(k+3N/4)
j
-j
Note that this is a mirror image of DIF-SRFFT butterfly.
3
X
X
Figure 8.15-1:
8.16
x=xR+jxI
= (a+jb)(c+jd)
e= (ab)d1 add ,1 mult
xR=e+ (cd)a2 adds 1 mult
xI=e+ (c+d)b2 adds 1 mult
Total 5 adds 3 mult
8.17
X(z) =
N1
X
n=0
x(n)zn
246
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Hence, X(zk) =
N1
X
n=0
x(n)rnej2π
Nkn
where zk=rej2π
Nk, k = 0,1,...,N 1 are the N sample points. It is clear that X(zk), k =
0,1,...,N 1 is equivalent to the DFT (N-pt) of the sequence x(n)rn, n [0, N 1].
8.18
x(n) = 1
LN
LN1
X
k=0
X(k)Wkn
LN
=1
LN "k01
X
k=0
X(k)Wkn
LN +
LN1
X
k=LNk0+1
X(k)Wkn
LN #
=1
LN "k01
X
k=0
X(k)Wkn
LN +
LN1
X
k=LNk0+1
X(k+NLN)Wkn
LN #
=1
LN "k01
X
k=0
X(k)Wkn
LN +
N1
X
k=Nk01
X(k)W(kN+LN)n
LN #
Therefore Lx(Ln) = 1
N"k01
X
k=0
X(k)Wkn
N+
N1
X
k=Nk0+1
X(k)Wkn
N#
=x(n)
L= 1 is a trivial case with no zeros inserted and
x(n) = x(n) = 1
2,1
2+j1
2,0,1
2j1
2
8.19
X(k) =
N1
X
n=0
x(n)Wkn
N
Let F(t), t = 0,1,...,N 1 be the DFT of the sequence on k X(k).
F(t) =
N1
X
k=0
X(k)Wtk
N
=
N1
X
k=0 "N1
X
n=0
x(n)Wkn
N#Wtk
N
=
N1
X
n=0
x(n)"N1
X
k=0
Wk(n+t)
N#
=
N1
X
n=0
x(n)δ(n+t)mod N
247
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=
N1
X
n=0
x(n)δ(N1nt)t= 0,1,...,N 1
={x(N1), x(N2),...,x(1), x(0)}
8.20
Y(k) =
2N1
X
n=0
y(n)Wkn
Nk= 0,1,...,2N1
=
2N1
X
n=0,n even
y(n)Wkn
2N
=
N1
X
m=0
y(2m)Wkm
N
=
N1
X
m=0
x(m)Wkm
N
=X(k), k [0, N 1]
=X(kN), k [N, 2N1]
8.21
(a)
w(n) = 1
2(1 cos 2πn
N1),0nN1
=1
21
4(ej2πn
N1+ej2πn
N1)
W(z) =
N1
X
n=0
w(n)zn
=
N1
X
n=0 1
21
4(ej2πn
N1+ej2πn
N1)zn
=1
2
1zN
1z11
4
1(z1ej2π
N1)N
1z1ej2π
N1
1
4
1(z1ej2π
N1)N
1z1ej2π
N1
(b)
xw(n) = w(n)x(n)
Xw(k) = W(k)NX(k)
8.22
The standard DFT table stores N complex values Wk
N, k = 0,1,...,N 1. However, since
Wk+N
2
N=Wk
N, we need only store Wk
Nk= 0,1,...,N
21. Also, Wk+N
4
N=jW k
Nwhich is
248
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
merely an interchange of real and imaginary parts of Wk
Nand a sign reversal. Hence all essential
quantities are easily obtained from Wk
Nk= 0,1,...,N
41
8.23
The radix-2 FFT algorithm for computing a 2N-pt DFT requires 2N
Nlog22N=N+N log2N
complex multiplications. The algorithm in (8.2.12) requires 2[N
2log2N+N
2] = N
2+log2Ncomplex
multiplications.
8.24
since H(z) = PM
k=0 bkzk
1 + PN
k=1 akzk
H(2π
N1k) = PM
k=0 bkWkn
N+1
1 + PN
k=1 akWkn
N+1
=H(k), k = 0,...,N
Compute N+ 1-pt DFTs of sequences {b0, b1,...,bM,0,0,...,0}and {1, a1,...,aN}(assumes
N > M), say B(k) and A(k)k= 0,...,N
H(k) = B(k)
A(k)
8.25
Y(k) =
8
X
n=0
y(n)Wnk
9
=X
n=0,3,6
y(n)Wnk
9+X
n=1,4,7
y(n)Wnk
9+X
n=2,5,8
y(n)Wnk
9
=
2
X
m=0
y(3m)W3km
9+
2
X
m=0
y(3m+ 1)W(3m+1)k
9+
2
X
m=0
y(3m+ 2)W(3m+2)k
9
=
2
X
m=0
y(3m)Wkm
3+
2
X
m=0
y(3m+ 1)Wmk
3Wk
9+
2
X
m=0
y(3m+ 2)Wmk
3W2k
9
Total number of complex multiplies is 28 and the operations can be performed in-place. see
fig 8.25-1
8.26
X(k) =
8
X
n=0
x(n)Wnk
9
249
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
x(0)
x(1)
x(2)
x(3)
x(4)
x(5)
x(6)
x(7)
x(8)
X(0)
X(3)
X(6)
X(1)
X(4)
X(7)
X(2)
X(5)
X(8)
W3
1
W3
2
W3
W3
W3
1
W3
2
W3
W9
1
W9
2
W9
2
W9
1
1
2
1
Figure 8.25-1:
=
2
X
n=0
x(n)Wkn
9+
5
X
n=3
x(n)Wnk
9+
8
X
n=6
x(n)Wnk
9
=
2
X
n=0
x(n)Wkn
9+
2
X
n=0
x(n+ 3)Wnk
9Wk
3+
2
X
n=0
x(n+ 6)Wnk
9W2k
3
x(3l) =
2
X
n=0
x(n)Wnl
3+
2
X
n=0
x(n+ 3)Wnl
3+
2
X
n=0
x(n+ 6)Wnl
3
x(3l+ 1) =
2
X
n=0
x(n)Wnl
3Wn
9+
2
X
n=0
x(n+ 3)Wnl
3Wn
9W1
3+
2
X
n=0
x(n+ 6)Wnl
3Wn
9W2
3
=
2
X
n=0
Wn
9x(n) + W1
3x(n+ 3) + W2
3x(n+ 6)Wnl
3
x(3l+ 2) =
2
X
n=0
W2n
9x(n) + W2
3x(n+ 3) + W1
3x(n+ 6)Wnl
3
The number of required complex multiplications is 28. The operations can be performed in-place.
see fig 8.26-1
8.27
(a)Refer to fig 8.27-1
(b)Refer to fig 8.27-2
250
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
W
3
1
W
3
1
W3
2
W3
2
x(0)
x(1)
x(2)
x(3)
x(4)
x(5)
x(6)
x(7)
x(8)
X(0)
X(3)
X(6)
X(1)
X(4)
X(7)
X(2)
X(5)
X(8)
W3
1
W3
2
W
3
1
W3
2
W3
2
W3
1
W
3
1
W3
2
W
3
1
W9
1
W9
2
W9
2
W9
4
W3
1
W
32
W
3
1
W3
1
W3
2
W
32
W
31
Figure 8.26-1:
(c) DIF is preferable for computing all points. It is also better when only X(0), X(1), X(2), X(3)
are to be calculated. The rule is to compare the number of nontrivial complex multiplies and
choose the algorithm with the fewer.
(d) If M << N and L << N, the percentage of savings is
N
2log2NM L
2log2N
N
2log2N×100% = (1 ML
N)×100%
251
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0
W
16
0
W
16
0
W
16
0
W
16
0
W
16
0
W
16
0
W
16
0
W
16
0
W
16
0
W
16
0
W
16
0
W
16
W
16
4
W
16
4
W
16
4
W
16
4
X(0)
X(8)
X(4)
X(12)
X(2)
X(10)
X(6)
X(14)
X(1)
X(9)
X(5)
X(13)
X(3)
X(11)
X(7)
X(15)
-1
-1
-1
-1
-1
-1
-1
-1
x(0)
x(1)
Figure 8.27-1:
x(0)
x(1)
X(0)
X(1)
X(2)
X(3)
X(4)
X(5)
X(6)
X(7)
X(8)
X(9)
X(10)
X(11)
X(12)
X(13)
X(14)
X(15)
-1
-1
-1
-1
-1
-1
-1
-1
W
16
W
16
W
16
W
16
W
16
W
16
W
16
W
16
0
1
2
3
4
5
6
7
Figure 8.27-2:
252
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
8.28
(a)Refer to fig 8.28-1. If data shuffling is not allowed, then X(0),...,X(3) should be computed
W
16
W
16
4
W
16
W
16
0
W
16
0
W
16
4
W
16
0
W
16
4
W
16
0
W
16
0
W
16
0
W
16
0
2
6
-1
-1
-1
-1
W
16
W
16
4
W
16
W
16
0
W
16
4
W
16
0
W
16
4
W
16
0
W
16
0
W
16
0
W
16
0
2
6
-1
-1
-1
-1
16
W0
16
W0
16
W
16
W
16
W
16
W
16
W
16
W
16
W
1
2
3
4
5
6
7
-1
-1
-1
-1
-1
-1
-1
-1
x(0)
x(1)
x(2)
x(3)
x(4)
x(5)
x(6)
x(7)
x(8)
x(9)
x(10)
x(11)
x(12)
x(13)
x(14)
x(15)
X(0)
X(8)
X(4)
X(12)
X(2)
X(10)
X(6)
X(14)
X(1)
X(9)
X(5)
X(13)
X(3)
X(11)
X(7)
X(15)
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
Figure 8.28-1:
by one DSP. Similarly for X(4),...,X(7) and X(8),...,X(11) and X(12), . . . , X(15). From the
flow diagram the output of every DSP requires all 16 inputs which must therefore be stored in
each DSP.
(b)Refer to fig 8.28-2
(c) The computations necessary for a general FFT are shown in the figure for part (a), Ng=
N
2log2N. Parallel computation of the DFTs requires
Np=1
2
N
Mlog2
N
M+
p1
X
i=1
N
2
1
2i
=N
2Mlog2
N
M+N(1 1
M)
Complex operations, as is seen in the figure for (b). Thus
S=Ng
Np
=
N
2log2N
N
2Mlog2N
M+N(1 1
M)
=Mlog2N
log2Nlog2M+ 2(M1)
253
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
W
16
W
16
4
W
16
W
16
W
16
0
W
16
4
W
16
0
W
16
0
2
6
-1
-1
-1
-1
x(0)
x(1)
x(2)
x(3)
x(4)
x(5)
x(6)
x(7)
x(8)
x(9)
x(10)
x(11)
x(12)
x(13)
x(14)
x(15)
X(2)
X(10)
X(6)
X(14)
0
-1
-1
-1
-1
Figure 8.28-2:
8.29
Refer to fig 8.29-1
x(n) = 1
N
N1
X
k=0
X(k)Wkn
N
=1
8X
keven
X(k)Wkn
8+1
8X
kodd
X(k)Wkn
8
=1
8
3
X
m=0
X(2m)Wmn
4+1
8
3
X
m=0
X(2m+ 1)Wmn
4Wn
8
=1
8
3
X
m=0 X(2m) + X(2m+ 1)Wn
8Wmn
4
x(n) = 1
8"3
X
m=0
X(2m)Wmn
4+Wn
8
3
X
m=0
X(2m+ 1)Wmn
4#,0n3
x(n+ 4) = 1
8"3
X
m=0
X(2m)Wmn
4Wn
8
3
X
m=0
X(2m+ 1)Wmn
4#,0n3
This result can be obtained from the forward DIT FFT algorithm by conjugating each occurrence
of Wi
NWi
Nand multiplying each output by 1
8(or 1
2can be multiplied into the outputs of
each stage).
254
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
-1
-1
W8
W8
-0
-2 -1
-1
W8
-0
W8
-0
1/8
1/8
1/8
1/8
-1
-1
W8
W8
-0
-2 -1
-1
W8
-0
W8
-0
1/8
1/8
1/8
1/8
-1
-1
-1
-1
W8
-0
W8
W8
W8
-1
-2
-3
X(0)
X(4)
X(2)
X(6)
X(1)
X(5)
X(3)
X(7)
x(0)
x(1)
x(2)
x(3)
x(4)
x(5)
x(6)
x(7)
Figure 8.29-1:
8.30
x(n) = 1
8
7
X
k=0
X(k)Wkn
8
=1
8
3
X
k=0
X(k)Wkn
8+1
8
7
X
k=4
X(k)Wkn
8
=1
8"3
X
k=0
X(k)Wkn
8+ (1)n
3
X
k=0
X(k+ 4)Wkn
8#
x(2l) = 1
8"3
X
k=0
X(k)Wlk
4+
3
X
k=0
X(k+ 4)Wlk
4#, l = 0,1,2,3
x(2l+ 1) = 1
8"3
X
k=0
X(k)Wlk
4Wk
8
3
X
k=0
X(k+ 4)Wlk
4Wk
8#, l = 0,1,2,3
Similar to the DIT case (prob. 8.29) result can be obtained by conjugating each Wi
Nand scaling
by 1
8. Refer to fig 8.30-1
255
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
-1
-1
-1
-1
W8
W8
-0
W8
-0
W8
-0
1/8
1/8
1/8
1/8
-2
-1
-1
-1
-1
W8
W8
-0
W8
-0
W8
-0
1/8
1/8
1/8
1/8
-2
-1
-1
-1
-1
W8
-0
W8
W8
W8
-1
-2
-3
X(2)
X(3)
X(4)
X(5)
X(6)
X(7)
X(0)
X(1)
x(0)
x(4)
x(2)
x(6)
x(1)
x(5)
x(3)
x(7)
Figure 8.30-1:
8.31
x(n) = x(Nn)
IDFT(x(n)) = 1
N
N1
X
n=0
x(n)Wkn
N
=1
N
N1
X
n=0
x(Nn)Wkn
N
=1
N
1
X
m=N
x(m)Wk(Nm)
N
=1
N
N1
X
m=0
x(Nm)Wkm
N
Since the IDFT of a Hermitian symmetric sequence is real, we may conjugate all terms in the
sum yielding
IDFT(x(n)) = 1
N
N1
X
m=0
x(Nm)Wkm
N
=1
N
N1
X
n=0
x(n)Wkn
N
256
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=1
NX(k)
In general, the IDFT of an N-length sequence can be obtained by reversing the flow of a forward
FFT and introducing a scale factor 1
N. Since the IDFT is apparently capable of producing the
(scaled) DFT for a Hermitian symmetric sequence, the reversed flow FFT will produce the desired
FFT.
8.32
X(k) =
N1
X
m=0
x(m)Wkm
N
=
N1
X
m=0
x(m)Wkm
NWkN
Nsince WkN
N= 1
=
N1
X
m=0
x(m)Wk(Nm)
N
This can be viewed as the convolution of the N-length sequence x(n) with the impusle response
of a linear filter.
hk(n)
=Wkn
Nu(n),evaluated at time N
Hk(z) =
X
n=0
Wkn
Nzn
=1
1Wk
Nz1
=Yu(z)
X(z)
yk(n) = Wk
Nyk(n1) + x(n), yk(1) = 0
yk(N) = X(k)
8.33
(a) 11 frequency points must be calculated. Radix-2 FFT requires 1024
2log21024 5000 complex
multiplies or 20,000 real multiplies. FFT of radix-4 requires 0.75 ×5000 = 3,750 complex
multiplies or 15,000 real multiplies. Choose Goertzel.
(b) In this case, direct evaluation requires 106complex multiplies, chirp-z 22 ×103comples
multiplies, and FFT 1000 + 5000
2×13 = 33 ×103complex multiplies. Choose chirp-z.
8.34
In the DIF case, the number of butterflies affecting a given output is N
2in the first stage, N
4in
the second, .... The total number is
1 + 2 + ...+ 2ν1= 2ν(1 (1
2)ν) = N1
257
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Every butterfly requires 4 real multiplies, and the eror variance is δ2
12 . Under the assumption that
the errors are uncorrelated, the variance of the total output quantization error is
σ2
q= 4(N1) δ2
12 =Nδ2
3
8.35
(a)
Re[Xn+1(k)] = 1
2Xn+1(k) + 1
2X
n+1(k)
=1
2Xn(k) + 1
2Wm
NXn(l) + 1
2X
n(k)1
2Wm
NX
n(l)
= Re[Xn(k)] + Re[Wm
NXn(l)]
since |Xn(k)|<1
2,|Re[Xn(k)]|<1
2
since |Xl(k)|<1
2,|Re[Wm
NXn(l)]|<1
2
so |Re[Wm
NXn(l)]|<1
2
Therefore |Re[Xn+1(k)]| ≤ |Re[Xn(k)]|+|Re[Wm
NXn(l)]|<1
The other inequalities are verified similarly. (b)
Xn+1(k) = Re[Xn(k)] + jIm[Xn(k)]
[cos(2π
Nm)jsin(2π
Nm)][Re[Xn(l)] + jIm[Xn(l)]]
= Re[Xn(k)] + cos(.)Re[Xn(l)] + sin(.)Im[Xn(l)]
+j{Im[Xn(k)] + cos(.)Im[Xn(l)] + sin(.)Re[Xn(l)]}
Therefore, |Xn+1(k)|=|Xn(k)|+|Xn(l)|+A
where A
= 2cos(.){Re[Xn(k)]Re[Xn(l)] + Im[Xn(k)]Im[Xn(l)]}
+2sin(.){Re[Xn(k)]Im[Xn(l)] Im[Xn(k)]Re[Xn(l)]}
also |Xn+1(l)|2=|Xn(k)|2+|Xn(l)|2A()
Therefore, if A0,
max[|Xn+1(k)|,|Xn+1(l)|] = |Xn+1(k)|
=|Xn(k)|2+|Xn(l)|2+A1
2
>max[|Xn(k)|,|Xn(l)|]
By similar means using (*), it can be shown that the same inequality holds if A < 0. Also,
from the pair of equations fro computing the butterfly outputs, we have
2Xn(k) = Xn+1(k) + Xn+1(l)
2Xn(l) = Wm
NXn+1(k)Wm
NXn+1(l)
By a similar method to that employed above, it can be shown that
2max[|Xn(k)|,|Xn(l)|]max[|Xn+1(k)|,|Xn+1(l)|]
258
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 20 40 60 80
0
5
10
15
20
magnitude
(a) N=64 dc=16
0 20 40 60 80
0
2
4
6
8
magnitude
(b) N=64 dc=8
0 50 100 150
0
5
10
15
20
magnitude
(c) N=128 dc=16
0 20 40 60 80
0
200
400
600
800
magnitude
(d) N=64 dc=7.664e−14
Figure 8.36-1:
8.36
Refer to fig 8.36-1.
(d) (1) The frequency interval between successive samples for the plots in parts (a), (b), (c) and
(d) are 1
64 ,1
64 ,1
128 and 1
64 respectively.
(2) The dc values computed theoretically and from the plots are given below:
part a part b part c part d
theoretical 16 8 16 0
practical 16 8 16 8.203e14
Both theoretical and practical dc values match except in the last case because of the finite word
length effects the dc value is not a perfect zero.
(3) Frequency interval = π
N1.
(4) Resolution is better with N= 128.
8.37
(a) Refer to fig 8.37-1.
(b) Refer to fig 8.37-1.
(c) Refer to fig 8.37-1.
(d) Refer to fig 8.37-1.
(e) Refer to fig 8.37-2.
259
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 50 100 150
0
1
2
3
4
5
6r=0.9, Y(k)
magnitude
0 50 100 150
0
5
10
15
20
25 r=0.9, c=0.92, W(k)
magnitude
0 50 100 150
0.8
1
1.2
1.4 r=0.5, Y(k)
magnitude
0 50 100 150
0
1
2
3
4
5
6r=0.5 , c=0.55, W(k)
magnitude
Figure 8.37-1:
0 50 100 150
0
2
4
6
8
10
12 r = 0.5, Y(k)
magnitude
0 50 100 150
0
1
2
3
4x 1032 W(k)
magnitude
Figure 8.37-2:
260
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Chapter 9
9.1
(a) H(z) = 1 + 2z1+ 3z2+ 4z3+ 3z4+ 2z5+z6. Refer to fig 9.1-1
(b) H(z) = 1 + 2z1+ 3z2+ 3z3+ 2z4+z5. Refer to fig 9.1-2
x(n) z-1 z-1 z-1 z-1 z-1 z-1
+
+
+
3
2
4
y(n)
Figure 9.1-1:
9.2
Refer to fig 9.2-1
A4(z) = H(z) = 1 + 2.88z1+ 3.4048z2+ 1.74z3+ 0.4z4
B4(z) = 0.4 + 1.74z1+ 3.4048z2+ 2.88z3+z4
Hence, K4= 0.4
A3(z) = A4(z)k4B4(z)
1k2
4
= 1 + 2.6z1+ 2.432z2+ 0.7z3
261
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+
x(n) z-1 z-1 z-1 z-1 -1
z
y(n)
+
+2
3
Figure 9.1-2:
B3(z) = 0.7 + 2.432z1+ 2.6z2+z3
Hence, K3= 0.7
A2(z) = A3(z)k3B3(z)
1k2
3
= 1 + 1.76z1+ 1.2z2
B2(z) = 1.2 + 1.76z1+z2
Then, K2= 1.2
A1(z) = A2(z)k2B2(z)
1k2
2
= 1 + 0.8z1
Therefore, K1= 0.8
Since K2>1, the system is not minimum phase.
9.3
V(z) = X(z) + 1
2z1V(z)
v(n) = x(n) + 1
2v(n1)
Y(z) = 2[3X(z) + V(z)] + 2z1V(z)
H(z) = Y(z)
X(z)
=8z1
10.5z1
h(n) = 8(0.5)nu(n)(0.5)n1u(n1)
262
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+
z-1
z-1 + z-1 ++ z-1
+ ++
z-1 z-1 z-1
+++ y(n)
1 2.88 3.4048 1.74 0.4
x(n)
z-1
+
+
x(n)
k
1k
2k
3k
4
f1
(n) f2
(n) f3
(n) f 4(n) = y(n)
(a)
(b)
Figure 9.2-1: (a) Direct form. (b) Lattice form
9.4
H(z) = 5 + 3z1
1 + 1
3z1+1 + 2z1
11
2z1
h(n) = 5δ(n) + 3(1
3)n1u(n1) + (1
2)nu(n) + 2(1
2)n1u(n1)
9.5
H(z) = 6 + 9
2z15
3z2
(1 + 1
3z1)(1 1
2z1)
=6 + 9
2z15
3z2
11
6z11
6z2
Refer to fig 9.5-1
9.6
For the first system, H(z) = 1
1b1z1+1
1b2z1
H(z) = 1(b1+b2)z1
(1 b1z1)(1 b2z1)
For the second system, H(z) = c0+c1z1
(1 d1z1)(1 a2z1)
clearly, c0= 1
263
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
z-1
+
z-1
+
+
6
9/2
-5/3 1/6
1/6
y(n)x(n)
Figure 9.5-1:
c1=(b1+b2)
d1=b1
a2=b2
9.7
(a)
y(n) = a1y(n1) + a2y(n2) + b0x(n) + b1x(n1) + b2x(n2)
H(z) = b0+b1z1+b2z2
1 + a1z1+a2z2
(b)
H(z) = 1 + 2z1+z2
1 + 1.5z1+ 0.9z2
Zeros at z=1,1
Poles at z=0.75 ±j0.58
Since the poles are inside the unit circle, the system is stable.
H(z) = 1 + 2z1+z2
1 + z12z2
Zeros at z=1,1
Poles at z= 2,1
264
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
The system is unstable.
(c)
x(n) = cos(π
3n)
H(z) = 1
1 + z10.99z2
H(w) = 1
1 + ejw 0.99ej2w
H(π
3) = 100ejπ
3
Hence, y(n) = 100cos(π
3nπ
3)
9.8
y(n) = 1
4y(n2) + x(n)
H(z) = 1
11
4z2
(a)
h(n) = 1
2(1
2)n+ (1
2)nu(n)
H(z) =
1
2
11
2z1+
1
2
1 + 1
2z1
(b)
x(n) = (1
2)n+ (1
2)nu(n)
X(z) = 1
11
2z1+1
1 + 1
2z1
X(z) = 2
11
4z2
Y(z) = X(z)H(z)
=1
1 + 1
2z1+1
11
2z1+1
2z1
(1 1
2z1)2+
1
2z1
(1 + 1
2z1)2
y(n) = (1
2)n+ (1
2)nn(1
2)n+n(1
2)nu(n)
(c)Refer to fig 9.8-1
(d)
H(w) = 1
11
4ej2w
=4
17 8cos2w6tan1sin2w
4cos2w
Refer to fig 9.8-2.
265
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+
D
+
+
D
+
D
+
D
+
D
D
1/4
x(n) y(n)
Direct form 2
Parallel form
1/2
1/2
-1/2
y(n)
x(n)
x(n)
1/2 -1/2
y(n)
cascade form
1/2
Figure 9.8-1:
0 0.5 1 1.5 2 2.5 3 3.5
0.8
1
1.2
1.4 Magnitude of H(w)
−−−> w
−−−> |H(w)|
0 0.5 1 1.5 2 2.5 3 3.5
−0.2
0
0.2
Phase of H(w)
−−−> w
−−−> angle of H(w)
Figure 9.8-2:
266
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
9.9
(a)
H(z) = 1 + 1
3z1
13
4z1+1
8z2
=1 + 1
3z1
(1 1
2z1)(1 1
4z1)
=
10
3
11
2z1+7
3
11
4z1
Refer to fig 9.9-1
(b)
+
z-1
+
+
z-1
z-1
+
+
z-1
z-1
+
+ + +
z-1
z-1
+
z-1
z-1
+
+
Direct form I:
1/3
y(n)
x(n)
Direct form II:
3/4
-1/8
3/4
-1/8
y(n)
1/3
Cascade:
y(n)
1/2 1/3 1/4
x(n)
Parallel:
1/4
1/2
10/3
-7/3
x(n) y(n)
x(n)
Figure 9.9-1:
H(z) = 0.7(1 0.36z2)
1 + 0.1z10.72z2
=0.7(1 0.6z1)(1 + 0.6z1)
(1 + 0.9z1)(1 0.8z1)
= 0.35 0.1647
1 + 0.9z10.1853
10.8z1
Refer to fig 9.9-2
(c)
H(z) = 3(1 + 1.2z1+ 0.2z2)
1 + 0.1z10.2z2
267
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+ +
+
z-1
z-1
+
+
z-1
z-1
+
+ + +
z-1
z-1
+
z-1
z-1
+
+
z-1
z-1
+
Direct form I:
y(n)
x(n)
Direct form II:
y(n)
Cascade:
x(n)
x(n) y(n)
-0.36
-0.1
0.72
-0.1
0.72 -0.36
0.7
x(n)
-0.9 -0.6 0.8 0.6
0.7 y(n)
Parallel:
0.8
-0.9
0.35
-0.1853
0.1647
Figure 9.9-2:
=3(1 + 0.2z1)(1 + z1)
(1 + 0.5z1)(1 0.4z1)
=3 + 7
10.4z11
1 + 0.5z1
Refer to fig 9.9-3
(d)
H(z) = 2(1 z1)(1 + 2z1+z2)
(1 + 0.5z1)(1 0.9z1+ 0.8z2)
=2 + (222)z1+ (2 22)z22z3)
10.4z1+ 0.36z2+ 0.405z3
=A
1 + 0.5z1+B+Cz1
10.9z1+ 0.8z1
Refer to fig 9.9-4
(e)
H(z) = 1 + z1
11
2z11
4z2
=1 + z1
(1 0.81z1)(1 + 0.31z1)
=1.62
10.81z1+0.62
1 + 0.31z1
Refer to fig 9.9-5
(f) H(z) = 1z1+z2
1z1+0.5z2Complex valued poles and zeros.Refer to fig 9.9-6 All the above
268
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+ +
+
z-1
z-1
+
+
z-1
z-1
+
+ + +
z-1
z-1
+
z-1
z-1
+
+
+
z-1
z-1
++
Direct form I:
y(n)
Direct form II:
y(n)
Cascade:
x(n)
x(n) y(n)
-0.1 -0.1
x(n)
y(n)
Parallel:
-0.5 0.2 0.4 1
3
7
-3
-1
-0.5
0.4
x(n)
1.2
0.2 0.2
3
0.2 0.2
1.2
3
Figure 9.9-3:
systems are stable.
269
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+ + +
z-1
+
+ +
+
z-1
z-1
z-1
z-1
+
z-1
+ +
z-1
2
2
+
+
z-1
z-1
+
+
+ +
z-1
2 -1
1- 2
z-1
+
z-1
+
+
z-1
z-1
+
+
z-1
+
+
Direct form I: Direct form II:
x(n)
Cascade:
y(n)
-0.5
y(n)
x(n) 3
Parallel:
0.4
-0.36
-0.405
-1
1-
-1
y(n)x(n) 3
0.4
-0.36
-0.405 -1
2
-1 0.91.414
-0.81 1
x(n) -3 y(n)
-0.8
0.9 C
B
A
-0.5
Figure 9.9-4:
+
z-1
+
+
z-1
z-1
+
+
z-1
z-1
+
+ + +
z-1
z-1
+
z-1
z-1
+
+
Direct form I:
y(n)
x(n)
Direct form II:
y(n)
Cascade:
y(n)x(n)
Parallel:
x(n) y(n)
1/2
1/4
1/2
1/4
1
x(n)
0.81 1-0.31 0.81
-0.3
-0.62
1.62
Figure 9.9-5:
270
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+ +
+
z-1
z-1
+
+
z-1
z-1
+
z-1
z-1
++
Direct form I:
y(n)x(n)
x(n)
-1
1
1
-1/2
1 -1
-0.5 1
Direct form II, cascade, parallel:
y(n)
Figure 9.9-6:
271
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
9.10
Refer to fig 9.10-1
+ + +
x(n) v(n) w(n) w(n-1) r sin w0y(n)
z-1
Figure 9.10-1:
H(z) = 1
12rcosw0z1+r2z2
(1) V(z) = X(z)rsinw0z1Y(z)
(2) W(z) = V(z)rcosw0z1W(z)
(3) Y(z) = rcosw0z1Y(z)rsinw0z1W(z)
By combining (1) and (2) we obtain
(4) W(z) = 1
1rcosw0z1X(z)rsinw0z1
1rcosw0z1Y(z)
Use (4) to eliminate W(z) in (3). Thus,
Y(z)[(1 rcosw0z1)2+r2sin2w0z2] = X(z)
Y(z)[1 2rcosw0z1+ (r2cos2w0+r2sin2w0)z2] = X(z)
Y(z)
X(z)=1
12rcosw0z1+r2z2
9.11
A0(z) = B0(z) = 1
A1(z) = A0(z) + k1B0(z)z1
= 1 + 1
2z1
272
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
B1(z) = 1
2+z1
A2(z) = A1(z) + k2B1(z)
= 1 + 0.3z1+ 0.6z2
B2(z) = 0.6 + 0.3z1+z2
A3(z) = A2(z) + k3B2(z)
= 1 0.12z1+ 0.39z20.7z3
B3(z) = 0.7 + 0.39z10.12z2+z3
A4(z) = A3(z) + k4B3(z)
= 1 53
150z1+ 0.52z20.74z3+1
3z4
Therefore, H(z) = C(1 53
150z1+ 0.52z20.74z3+1
3z4)
where Cis a constant
9.12
Refer to fig 9.12-1
z-1
+
z-1
+
+
b0k
b1k
b2k
-a
1k
-a2k
w2k(n)
w1k (n)
y
k(n)
k
(n)x
x(n) =
x
1
(n) H1(z) H2
(z) x
N(n) HN(z) y(n)=y
N(n)
Figure 9.12-1:
Hk(z) = b0k+b1kz1+b2kz2
1 + a1kz1+a2kz2
yk(n) = b0kxk(n) + w1k(n1)
273
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
w1k(n) = b1kx(n)a1kyk(n) + w2k(n1)
w2k(n) = b2kx(n)a2kyk(n)
9.13
YJM1 = G * XIN
DO 20 J=1,K
YJ=B(J,0) * XIN + W1(J)
W1(J) = B(J,1)*XIN - A(J,1)*YJ + W2(J)
W2(J) = B(J,2)*XIN - A(J,2)*YJ
YJM1 = YJM1 + YJ
20 CONTINUE YOUT = YJM1 RETURN
9.14
YJM1 = XIN
DO 20 J=1,K
W = -A(J,1) * WOLD1 - A(J,2) * WOLD2 + YMJ1
YJ = W + B(J,1)*WOLD1 + B(J,2)*WOLD2
WOLD2 = WOLD1
WOLD1 = W
YJM1 = YJ
20 CONTINUE
YOUT = YJ
RETURN
9.15
H(z) = A2(z) = 1 + 2z1+1
3z2
B2(z) = 1
3+ 2z1+z2
k2=1
3
A1(z) = A2(z)k2B2(z)
1k2
2
= 1 + 3
2z1
k1=3
2
9.16
(a) A1(z)
B1(z)=1k1
k111
z1=1 + 1
2z1
1
2+z1
A2(z)
B2(z)=11
3
1
31A1(z)
z1B1(z)=1 + 1
3z11
3z2
1
3+1
3z1+z2
274
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
A3(z)
B3(z)=1 1
1 1 A2(z)
z1B2(z)
H1(z) = A3(z) = 1 + z3
zeros at z=1, e±jπ
3
(b)
H2(z) = A2(z)z1B2(z)
= 1 + 2
3z12
3z2z3
The zeros are z= 1,5±j11
6
(c) If the magnitude of the last coefficient |kN|= 1, i.e., kN=±1, all the zeros lie on the unit
circle.
(d) Refer to fig 9.16-1. We observe that the filters are linear phase filters with phase jumps at
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−2
−1
0
1
2
−−−> freq(Hz)
−−−> phase of H1(w)
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−4
−2
0
2
4
−−−> freq(Hz)
−−−> phase of H2(w)
Figure 9.16-1:
the zeros of H(z).
9.17
(a) Refer to fig 9.17-1
275
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
z-1 + z-1 +
++
z-1
+
+
x(n) f1
(n) f2
(n) f3
(n) = y(n)
g3(n)
g2(n)g
1(n)
0.65 -0.34 0.8
Figure 9.17-1:
x(n) = δ(n)
f1(n) = δ(n) + 0.65δ(n1)
g1(n) = 0.65δ(n) + δ(n1)
f2(n) = f1(n)0.34g1(n1)
=δ(n) + 0.429δ(n1) 0.34δ(n2)
g2(n) = 0.34f1(n) + g1(n1)
=0.34δ(n) + 0.429δ(n1) + δ(n2)
h(n) = f3(n) = f2(n) + 0.8g2(n1)
=δ(n) + 0.157δ(n1) + 0.0032δ(n2) + 0.8δ(n3)
(b) H(z) = 1 + 0.157z1+ 0.0032z2+ 0.8z3. Refer to fig 9.17-2
z-1
+
+
z-1
+
z-1
0.157
0.0032
0.8
x(n) y(n)
Figure 9.17-2:
276
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
9.18
(a)
H(z) = C3(z)
A3(z)
A3(z) = 1 + 0.9z10.8z2+ 0.5z3
B3(z) = 0.50.8z1+ 0.9z2+z3
k3= 0.5
A2(z) = A3(z)k3B3(z)
1k2
3
= 1 + 1.73z11.67z2
B2(z) = 1.67 + 1.73z1+z2
k2=1.67
A1(z) = A2(z)k2B2(z)
1k2
2
= 1 + 1.62z1
B1(z) = 1.62 + z1
k1= 1.62
C3(z) = 1 + 2z1+ 3z2+ 2z3
D3(z) = 2 + 3z1+ 2z2+z3
k3= 2
C2(z) = C3(z)k3D3(z)
1k2
3
= 1 + 4
3z1+1
3z2
D2(z) = 1
3+4
3z1+z2
k2=1
3
C1(z) = C2(z)k2D2(z)
1k2
2
= 1 + 3
4z1
D1(z) = 3
4+z1
k1=3
4
C3(z) = v0+v1D1(z) + v2D2(z) + v3D3(z)
= 1 + 2z1+ 3z2+ 2z3
From the equations, we obtain
v0=107
48
v1=13
4
v2=1
v3= 2
277
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
The equivalent lattice-ladder structure is: Refer to fig 9.18-1
(b) A3(z) = 1 + 0.9z10.8z2+ 0.5z3,|k1|>1 and |k2|>1the system is unstable.
+
+ z -1
+
+ z -1
+
+ z -1
+ + +
0.5 -1.67 1.62
v3= 2 v2=-1 v1= -13/4 v0=-107/48
x(n)
y(n)
Figure 9.18-1:
9.19
Refer to fig 9.19-1
Y(z) = [rsinΘX(z) + rcosΘY(z)rsinΘC(z)] z1
C(z) = [rcosΘX(z) + rsinΘY(z) + rcosΘC(z)] z1
H(z) = Y(z)
X(z)
=rsinΘz1
12rcosΘz1+r2z2
Hence, h(n) = rnsinn)u(n)
and y(n) = rsinΘx(n1) + 2rcosΘy(n1) r2y(n2)
The system has a zero at z= 0 and poles at z=re±jΘ.
9.20
H(z) = 1
12rcosw0z1+r2z2
= 1 + rcosw0jrcos2w0
2sinw0
z(rcosw0+jrsinw0)+rcosw0+jrcos2w0
2sinw0
z(rcosw0jrsinw0)
S(z) = rcosw0jrcos2w0
2sinw0
z(rcosw0+jrsinw0)X(z)
278
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+ z-1
+ z-1
x(n)
-r cos θ
r cos
r cos
r sin y(n)
r sin
-r sin
c(n)
θ
θ
θ
θ
θ
Figure 9.19-1:
s(n) = v1(n) + jv2(n)
p=α1+jα2
α1=rcosw0
α2=rsinw0
A=q1+jq2
q1=rcosw0
q2=rcosw0
2sinw0
v1(n+ 1) = α1v1(n)α2v2(n) + q1x(n)
=rcosw0v1(n)rsinw0v2(n) + rcosw0x(n)
v2(n) = α2v1(n) + α1v2(n) + q2x(n)
=rsinw0v1(n) + rcosw0v2(n) + rcosw0
2sinw0
x(n)
or, equivalently,
v(n+ 1) = rcosw0rsinw0
rsinw0rcosw0v(n) + rcosw0
rcosw0
2sinw0x(n)
y(n) = s(n) + s(n) + x(n)
= 2v1(n) + x(n)
or, equivalently,
y(n) = [2 0]v(n) + x(n)
where
v(n) = v1(n)
v2(n)
279
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
9.21
(a)
k1= 0.6
A1(z) = 1 + 0.6z1
B1(z) = 0.6 + z1
A2(z) = A1(z) + k2B1(z)z1
= 1 + 0.78z1+ 0.3z2
B2(z) = 0.3 + 0.78z1+z2
A3(z) = A2(z) + k3B2(z)z1
= 1 + 0.93z1+ 0.69z2+ 0.5z3
B3(z) = 0.5 + 0.69z1+ 0.93z2+z3
H(z) = A4(z) = A3(z) + k4B3(z)z1
= 1 + 1.38z1+ 1.311z2+ 1.337z3+ 0.9z4
(b) Refer to fig 9.21-1
+
z-1
z-1 + z-1 ++ z-1
+ ++
z-1 z-1 z-1
++
1
x(n)
z-1
+
+
x(n)
Direct form:
Lattice form:
1.38 1.311 1.337 0.9
y(n)
0.6 0.3 0.5 0.9
--- -
y(n)
Figure 9.21-1:
9.22
(a)
From (9.3.38) we have
y(n) = k1(1 + k2)y(n1) k2y(n2) + x(n)
But, y(n) = 2rcosw0y(n1) r2y(n2) + x(n)
Hence, k2=r2
and, k1(1 + k2) = 2rcosw0
k1+2rcosw0
1 + r2
280
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Refer to fig 9.22-1
(b) When r= 1, the system becomes an oscillator.
+
+ z -1
+
+ z -1
x(n)
- -
y(n)
k k12
Figure 9.22-1:
9.23
H(z) = 10.8z1+ 0.15z2
1 + 0.1z10.72z2
=B(z)
A(z)
For the all-pole system 1
A(z),we have
k1(1 + k2) = 0.1
k2=0.72
k1= 0.357
k2= 0.72
For the all-zero system, C2(z) = 1 0.8z1+ 0.15z2
A2(z) = 1 0.8z1+ 0.15z2
B2(z) = 0.15 0.8z1+z2
k2= 0.15
A1(z) = A2(z)k2B2(z)
1k2
2
= 1 0.696z1
B1(z) = 0.696 + z1
k1=0.696
A0(z) = B0(z) = 1
281
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
C2(z) =
2
X
m=0
vmBm(z)
=v0+v1B1(z) + v2B2(z)
= 1 0.8z1+ 0.15z2
The solution is:
v2= 0.15
v10.18v2=0.8
v00.696v1+ 0.15v2= 1
v0= 1.5
v1=0.68
v2= 0.15
Thus the lattice-ladder structure is: Refer to fig 9.23-1
+
+ z -1
+
+ z -1
+ +
x(n)
- -
0.15 -0.696
v2= 0.15 v1= -0.68 v0= 1.5
y(n)
Figure 9.23-1:
9.24
H(z) = 12
2z1+0.25z2
10.8z1+0.64z2. Refer to fig 9.24-1
9.25
H(z) = 1+z1
1z1.1
10.82z1+0.64z2
H(z) = 2.31
11
2z1+1.31+2.96z1
10.82z1+0.64z2Refer to fig 9.25-1
282
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+
D
+
+ +
D
+
D
+
D
+
Direct form II :
a b
cd
y(n)
x(n)
where a=0.8, b = - 2 /2, c = 0.25 and d = -0.64
Transposed form :
b a
d
c
x(n) y(n)
Figure 9.24-1:
9.26
(a)
For positive numbers, range is
01.00 ...0
|{z }
11 ×21001 01.11 ...1
|{z }
11 ×20111
or 7.8125 ×1032.5596875 ×102
negitive numbers
10.11 ...1
|{z }
11 ×21001 10.00 ...0
|{z }
11 ×20111
or 7.8163 ×103− −2.56 ×102
(b)
For positive numbers, range is
01.00 ...0
|{z }
23 ×210000001 01.11 ...1
|{z }
23 ×201111111
or 5.8774717 ×1039 3.4028234 ×1038
negitive numbers
10.11 ...1
|{z }
23 ×210000001 10.00 ...0
| {z }
23 ×201111111
or 5.8774724 ×1039 − −3.4028236 ×1038
283
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+ + +
z-1
+
z-1
z-1
+
z-1
z-1
+
+
z-1
+
+y(n)
Parallel:
x(n) 0.5
-0.64
0.8 2.96
-1.31
2.31
2
x(n)
Cascade:
1/2 1
y(n)
0.8 2
-0.64
Figure 9.25-1:
9.27
(a) Refer to fig 9.27-1
x(n) y(n)
z-1 z-1
-a 1-a 2
+ +
Figure 9.27-1:
HR(z) = (1 + a1z1+a2z2)1
poles zp1,2=a1±pa2
14a2
2
for stability
(i)a2
14a20
if a10,a1pa2
14a2
2≥ −1
qa2
14a22a1
a12 and a1a21
284
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
if a1<0,a1pa2
14a2
21
qa2
14a22 + a1
a1≥ −2 and a1+a2≥ −1
(ii)(a1
2)2+ (p4a2a2
1
2)1
a21
Refer to fig 9.27-2. The region of stability in the a1a2plane is shaded in the figure. There are
-1-2 1 2
a2
a1
-1
2
1
The stable area of (a
1, a2)
Figure 9.27-2:
nine integer pairs (a1, a2) which satisfy the stability conditions. These are (with corresponding
system functions):
(0,1) HR1(z) = (1 z2)1
(0,0) HR2(z) = 1
(0,1) HR3(z) = (1 + z2)1
(1,0) HR4(z) = (1 + z1)1
(1,1) HR5(z) = (1 + z1+z2)1
(2,1) HR6(z) = (1 + 2z1+z2)1
(1,0) HR7(z) = (1 z1)1
(1,1) HR8(z) = (1 z1+z2)1
(2,1) HR9(z) = (1 2z1+z2)1
285
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b)
HR1(z) = HR4(z)HR7(z)
HR6(z) = HR4(z)HR4(z)
HR9(z) = HR7(z)HR7(z)
(c) Only the following cases can make h(n) FIR:
(i)
hR(n) = δ(n)
Then H(z) =
N
X
i=0
zi
y(n) =
N
X
i=0
x(ni)
(ii)
hR(n)hF(n) = δ(n)
Then H(z) = 1
y(n) = x(n)
(d) see above.
9.28
Refer to fig 9.28-1
Note that 4 multiplications and 3 additions are required to implement H1(z). The advantage
z-1
+ z-1
+ z-1
+
x(n) b
0
b1
b2
b3
Figure 9.28-1: Structure of H1(z)
of Horner’s method is in evaluating H1(z) for a specific z0. Thus, if
H1(z) = b0+b0b1z1+b0b1b2z2+b0b1b2b3z3
=b0+z1(b0b1+z1(b0b1b2+z1b0b1b2b3))
286
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
the 3 multiplications and 3 additions are required for the evaluation of 9.1 in the field of z.
If the various powers of zare prestored, then Horner’s scheme has no advantage over the direct
evaluation of 9.1. Refer to fig 9.28-2
This requires 4 multiplications and 3 additions. The linear-phase system is written as
+z-1
z-1
z-1
z-1 +z-1
+
z-1
b3b2
b1
b
0
Figure 9.28-2: Structure of H(z) = b0z3+b0b1z2+b0b1b2z1+b0b1b2b3
H(z) = z2a3+za2+a1+z1a0+z2a1+z3a2+z4a3
By applying Horner’s scheme, we can rewrite this as
H(z) = z3(a3+z1(a2+z1(a1+z1(a0+z1(a1+z1(a2+z1a3))))))
Assuming that z1and zare given, a direct evaluation of H(z) at z=z0requires 8 multiplications
and 6 additions. Using Horner’s scheme based on 9.28, requires the same number of operations
as direct evaluation of H(z). Hence, Horner’s scheme does not offer any savings in computation.
9.29
(a) When x1and x2are positive, the result is obvious. If x1and x2are negative, let
x1=0n1n2. . . nb
=0n1n2. . . nb+ 0 0 0 ... 0 1
x2=0m1m2. . . mb
=1m1m2. . . mb+ 0 0 0 ... 0 1
x3=x1+x2
=0n10... 0 + 0 m10... 0 + c
where c= 0 0 n2. . . nb+ 0 0 m2. . . mb+ 0 0 0 ... 0 1 0
If the sign changes, there are two possibilities
(i)n1=m1= 0
287
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
n1=m1= 1
⇒ |x1|>1
2,|x2|>1
2
⇒ |x3|>1,overflow
(ii)(n1= 1, m1= 0, c = 0) or (n1= 0, m1= 1, c = 0)
(|0n10... 0)10|>1
2or (|0m10. . . 0)10|>1
2
and |c10|>1
2
⇒ |x3|>1,overflow
(b)
x1= 0 1 0 0
x2= 0 1 1 0
x3=0 1 1 0 = 1 0 1 0
x1+x2= 1 0 1 0,overflow
x1+x2+x3= 0 1 0 0,correct result
9.30
(a)
H(z) = a+z1
1az1
|H(ejw)|2=|a+ejw
1aejw |2
=(a+cosw)2+ (sinw)2
(1 acosw)2+ (asinw)2
=a22acosw + 1
12acosw +a2= 1 w
(b) Refer to fig 9.30-1
(c) If |ˆa|=| − ˆa|, where ˆameans the quantized value of a, then the filter remains all-pass.
x(n) y(n)
z-1
a1
-a
+ +
Figure 9.30-1:
(d) Refer to fig 9.30-2
(e) Yes, it is still all-pass.
288
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
x(n) y(n)
a
z-1
z-1
+-
++
+
Figure 9.30-2:
9.31
(a) y(n) = 2(1
2)n(1
4)nu(n)
(b) Quantization table
x > 11
32 x= 1
31
32 x > 29
32 x=15
16
29
32 x > 27
32 x=14
16
...
1
32 x > 1
32 x=14
16
...
x < 1 + 1
32 x=1
Therefore x(n) = 1
,4
16,1
16,0,...,0
y(n) = 8
16y(n1) + x(n)
y(n) = 1
,12
16,7
16,3
16,1
16,0,0,...
(c)
y(n) = 1
,3
4,7
16,15
64,31
256,63
1024,...
y(n) = 1
,3
4,7
16,12
64,16
256,0,0,...
Errors occur when number becomes small.
289
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
9.32
y(n) = 0.999y(n1) + e(n)
e(n) is white noise, uniformly distributed in the interval 1
29,1
29
Ey2(n)= 0.9992Ey2(n1)+Ee2(n)
(1 0.9992)Ey2(n)=Ee2(n)
=Z
2
2
1
e2de
=2
12 where = 28
Therefore, Ey2(n)=1
12(1
28)21
10.9992
= 6.361x104
9.33
(a) poles zp1= 0.695, zp2= 0.180 Refer to fig 9.33-1
(b) Truncation
+
D
+
D
x(n) y(n)
0.695 0.18
Figure 9.33-1:
0.695 5
8= 0.625
0.180 1
8= 0.125
poles zp1= 0.625, zp2= 0.125
(c) Rounding
0.695 6
8= 0.75
0.180 1
8= 0.125
poles zp1= 0.75, zp2= 0.125
290
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(d)
|0.75 0.695|<|0.695 0.625|
Rounding is better
|Ha(w)|= [(1.483 + 1.39cosw)(1.0324 + 0.36cosw)]1
2
|Hb(w)|= [(1.391 + 1.25cosw)(1.0156 + 0.25cosw)]1
2
|Hc(w)|= [(1.563 + 1.5cosw)(1.0156 + 0.25cosw)]1
2
9.34
(a)
H1(z) = 1 1
2z1
h1(n) = 1,1
2
H2(z) = (1 1
4z1)1
h2(n) = (1
4)nu(n)
H3(z) = (1 + 1
4z1)1
h3(n) = (1
4)nu(n)
Refer to fig 9.34-1 Cascade the three systems in six possible permutations to obtain six realiza-
+
z-1
H1(z)
+
z-1
1/4
H (z)
2
+
z-1
H (z)
3
-1/4
-1/2
Figure 9.34-1:
tions.
(b) Error sequence ei(n) is uniformly distributed over interval (1
22b,1
22b). So σ2
ei=22b
12 for
any i(call it σ2
e)
291
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+++
+++
z-1 z-1 z -1
e1(n)
1/4-1/2 -1/4
e(n) e(n)
23
Figure 9.34-2:
(c) consider cascade H1-H2-H3Refer to fig 9.34-2
h4(n) = h2(n)h3(n)
=1,0,1
16,0,(1
16)2,0,...
σ2
q=σ2
e"2
X
n=0
h2
4(n) +
X
n=0
h2
3(n)#
=σ2
e2
1(1
16 )2+1
1(1
4)2
= 3.0745σ2
e
using similar methods:
H1H2H3σ2
q= 3.0745σ2
e
H2H1H3σ2
q= 3.3882σ2
e
H2H3H1σ2
q= 3.2588σ2
e
H3H1H2σ2
q= 3.2627σ2
e
H3H2H1σ2
q= 3.3216σ2
e
9.35
y(n) = Q[0.1δ(n)] + Q[αy(n1)]
(a)
y(n) = Q[0.1δ(n)] + Q[0.5y(n1)]
y(0) = Q[0.1] = 1
8
292
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
y(1) = Q[1
16] = 0
y(2) = y(3) = y(4) = 0
no limit cycle
(b)
y(n) = Q[0.1δ(n)] + Q[0.75y(n1)]
y(0) = Q[0.1] = 1
8
y(1) = Q[3
32] = 1
8
y(2) = Q[3
32] = 1
8
y(3) = y(4) = 1
8
limit cycle occurs
9.36
(a) σ2
x=rxx(0) = 3 Ax=1
3
(b)
= 26
σ2
e=2
12
=1
12 ×212
so SNR = 10log10
1
σ2
e
= 10log10(12 ×212)
= 46.91dB
(c) left-justified.
(d)
σ2
q=σ2
e
X
n=0
h2(n) + σ2
e1
X
n=0
h2(n)
Now σ2
e1=1
12(1
28)2
and X
n
h2(n) = 1
10.752=16
7,
so σ2
q=16
71
12(1
28)2+1
12(1
26)2
=17
344,064
and SNR = 10log10
1
σ2
q
= 43.06dB
293
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
9.37
Define ρc
=rcosθ, ρs
=rsinθ for convenience, (a)
ρsy(n1) + e1(n) + x(n) + ρcv(n1) + e2(n) = v(n)
ρsv(n1) + e3(n) + ρcy(n1) + e4(n) = y(n)
(b)
ρsz1Y(z) + E1(z) + X(z) + ρcz1V(z) + E2(z) = V(z)
ρsz1V(z) + E3(z) + ρcz1Y(z) + E4(z) = Y(z)
Y(z) = ρsz1
12ρcz1+r2z2[X(z) + E1(z) + E2(z)]
+1ρcz1
12ρcz1+r2z2[E3(z) + E4(z)]
=H1(z)X(z) + H1(z)[E1(z) + E2(z)]
+H2(z)[E3(z) + E4(z)]
when H1(z) and H2(z) are as defined in the problem statement
h1(n) = ρs
1
sinθ rn1sinθnu(n1)
=rnsin()u(n1)
=rnsin()u(n)
h2(n) = 1
sinθ rnsin(n+ 1)θu(n) + ρc
1
sinθ rn1sin(θn)u(n1)
=δ(n) + rn
sinθ [sin(n+ 1)θcosθsin()]u(n1)
=δ(n) + rncos()u(n1)
=rncos()u(n)
(c)
σ2
e=σ2
e1=σ2
e2=σ2
e3=σ2
e4=2
12
=1
12(2b)2
=22b
12
σ2
q= 2σ2
e
X
n=0
h2
1(n) + 2σ2
e
X
n=0
h2
2(n)
= 2σ2
e
X
n=0
[r2nsin2+r2ncos2]
= 2σ2
e
1
1r2n
=22b
6
1
1r2n
9.38
(a)
h1(n) = (1
2)nu(n)
294
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
h2(n) = (1
4)nu(n)
h(n) = [2(1
2)n(1
4)n]u(n)
σ2
q= 2σ2
e1
X
n=0
h2
1(n) + 2σ2
e2
X
n=0
h2
2(n)
=64
35σ2
e1+16
15σ2
e2
(b)
σ2
q=σ2
e1X
n
h2(n) + σ2
e2X
n
h2
1(n)
=64
35σ2
e1+4
3σ2
e2
9.39
Refer to fig 9.39-1
z-1
z-1
z-1
+
+
+
+
x(n) y(n)1
a1
aM-2
aM-1
e1(n)
eM-2 (n)
eM-1 (n)
Figure 9.39-1:
σ2
ei=1
1222bi
σ2
q= (M1)σ2
ei
=(M1)
12 22b
295
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
9.40
H(z) = B(z)
A(z)
=G1
(1 0.8ejπ
4)(1 0.8ejπ
4)
(1 0.5z1)(1 + 1
3z1)
G2
(1 + 0.25z1)(1 5
8z1)
(1 0.8ejπ
3)(1 0.8ejπ
3)
=H1(z)H2(z)
(a)
z1=ejw
At w= 0, z1= 1
H1(w)|w=0 = 1
G1
(1 0.8ejπ
4)(1 0.8ejπ
4)
(1 0.5)(1 + 1
3)= 1
G1= 1.1381
G2
(1 + 0.25)(1 5
8)
(1 0.8ejπ
3)(1 0.8ejπ
3)= 1
G2= 1.7920
(b) Refer to fig 9.40-1.
(c) Refer to fig 9.40-2.
Refer to fig 9.40-3.
Refer to fig 9.40-4.
296
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+
z-1
z-1
z-1
+
z-1
+
+
z-1
+
z-1
++
+
Direct for m I:
Direct form II and cascade structure:
-3/8
-5/32
x(n) 1
1/6
1/6
Gy(n)
-3/8
-5/32
Gy(n)
1/6
1/6
x(n)
Figure 9.40-1:
0 10 20 30 40 50 60 70 80 90 100
−1
−0.5
0
0.5
1
1.5
−−−> mag
Direct form I, impulse response
0 10 20 30 40 50 60 70 80 90 100
0.8
1
1.2
1.4
1.6
−−−> mag
Direct form I, step response
−−−> n
Figure 9.40-2:
297
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 10 20 30 40 50 60 70 80 90 100
−0.5
0
0.5
1
1.5
−−−> mag
Direct form II, impulse response
0 10 20 30 40 50 60 70 80 90 100
1
1.1
1.2
1.3
1.4
1.5
−−−> mag
Direct form II, step response
−−−> n
Figure 9.40-3:
0 10 20 30 40 50 60 70 80 90 100
−0.5
0
0.5
1
1.5
−−−> mag
Cascade form , impulse response
0 10 20 30 40 50 60 70 80 90 100
1
1.1
1.2
1.3
1.4
1.5
−−−> mag
Cascade form, step response
−−−> n
Figure 9.40-4:
298
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
9.41
(a)
k1=3
8
27
32
=4
9
k2=5
32
Refer to fig 9.41-1a.
(b)
+
z-1 + z-1
+
z-1
+
+ z-1 +
+
z-1
f (n)
1
k
2
k
1
k
2 k
1
f (n)
1f (n)
0
f (n)
0
+
f2(n) = y(n)
x(n)
(a)
--
y(n)
(n)
0
g
Forward
Reverse
(n)
f (n)
2
g
2
x(n)
(b)
Figure 9.41-1:
A(z) = 1
(1 0.5z1)(1 + 1
3z1)
=1
11
6z11
6z2
k2=1
6
299
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
k1(1 + k2) = 1
6
k1=1
5
Refer to fig 9.41-1b.
(c) Refer to fig 9.41-2.
(e) Refer to fig 9.41-3.
+
+ z -1
+
+ z -1
+ +
x(n)
- -
v2v1v0
y(n)
-1/6 -1/5
=-0.1563 =0.4336 =0.7829
Figure 9.41-2:
(f) Finite word length effects are visible in h(n) for part f.
9.42
Refer to fig 9.42-1.
c=15
16
H1(z) =
9
10
11
2z1
H2(z) =
83
80
1 + 1
3z1
300
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 50 100
−0.5
0
0.5
1IR for part a
h(n)
0 50 100
−0.5
0
0.5
1IR for part b
h(n)
0 50 100
−0.2
0
0.2
0.4
0.6
0.8 IR for part c
h(n)
−−> n 0 50 100
−0.5
0
0.5
1IR for part f
h(n)
−−> n
Figure 9.41-3:
301
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+ z -1
+ z -1
+
y(n)
c
H1(z)
H2(z)
x(n)
Parallel form structure:
Parallel form structure using 2nd-order coupled-form state-space sections
x(n)
1
1/2
A
B
-1/3
y(n)
Figure 9.42-1:
302
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Chapter 10
10.1
(a) To obtain the desired length of 25, a delay of 251
2= 12 is incorporated into Hd(w). Hence,
Hd(w) = 1ej12w,0≤ |w| ≤ π
6
= 0,otherwise
hd(n) = 1
2πZπ
6
π
6
Hd(w)ejwndw
=sinπ
6(n12)
π(n12)
Then, h(n) = hd(n)w(n)
where w(n) is a rectangular window of length N= 25.
(b)H(w) = P24
n=0 h(n)ejwn plot |H(w)|and 6H(w). Refer to fig 10.1-1.
(c) Hamming window:
w(n) = (0.54 0.46cos
12 )
h(n) = hd(n)w(n) for 0 n24
Refer to fig 10.1-2.
303
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−150
−100
−50
0
50
−−−> Freq(Hz)
−−−> mag(dB)
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−4
−2
0
2
4
−−−> Freq(Hz)
−−−> phase
Figure 10.1-1:
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−150
−100
−50
0
50
−−−> Freq(Hz)
−−−> mag(dB)
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−4
−2
0
2
4
−−−> Freq(Hz)
−−−> phase
Figure 10.1-2:
304
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(d) Bartlett window:
w(n) = 1 2(n12)
24 0n24
Refer to fig 10.1-3.
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−50
−40
−30
−20
−10
0
−−−> Freq(Hz)
−−−> mag(dB)
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−4
−2
0
2
4
−−−> Freq(Hz)
−−−> phase
Figure 10.1-3:
10.2
(a)
Hd(w) = 1ej12w,|w| ≤ π
6,π
3≤ |w| ≤ π
= 0,π
6≤ |w| ≤ π
3
hd(n) = 1
2πZπ
π
Hd(w)ejwndw
=δ(n)sinπ
3(n12)
π(n12) +sinπ
6(n12)
π(n12)
(b) Rectangular window:
w(n) = 1,0n24
= 0,otherwise
305
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Refer to fig 10.2-1.
(c) Hamming window:
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−50
−40
−30
−20
−10
0
10
−−−> Freq(Hz)
−−−> mag(dB)
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−4
−2
0
2
4
−−−> Freq(Hz)
−−−> phase
Figure 10.2-1:
w(n) = (0.54 0.46cos
12 )
h(n) = hd(n)w(n)
H(w) =
24
X
n=0
h(n)ejwn
Refer to fig 10.2-2.
(d) Bartlett window:
w(n) = 1 (n12)
12 ,0n24
Refer to fig 10.2-3.
Note that the magnitude responses in (c) and (d) are poor because the transition region is
wide. To obtain sharper cut-off, we must increase the length Nof the filter.
306
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−20
−15
−10
−5
0
5
−−−> Freq(Hz)
−−−> mag(dB)
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−4
−2
0
2
4
−−−> Freq(Hz)
−−−> phase
Figure 10.2-2:
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−15
−10
−5
0
−−−> Freq(Hz)
−−−> mag(dB)
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−4
−2
0
2
4
−−−> Freq(Hz)
−−−> phase
Figure 10.2-3:
307
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
10.3
(a) Hanning window: w(n) = 1
2(1 cosπn
12 ),0n24. Refer to fig 10.3-1.
(b) Blackman window: w(n) = 0.42 0.5cos πn
12 + 0.08cosπn
6. Refer to fig 10.3-2.
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−150
−100
−50
0
50
−−−> Freq(Hz)
−−−> mag(dB)
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−4
−2
0
2
4
−−−> Freq(Hz)
−−−> phase
Figure 10.3-1:
10.4
(a) Hanning window: Refer to fig 10.4-1.
(b) Blackman window: Refer to fig 10.4-2.
The results are still relatively poor for these window functions.
10.5
M= 4, Hr(0) = 1, Hr(π
2) = 1
2
Hr(w) = 2
M
21
X
n=0
h(n)cos[w(M1
2n)]
= 2
1
X
n=0
h(n)cos[w(3
2n)]
308
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−150
−100
−50
0
−−−> Freq(Hz)
−−−> mag(dB)
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−4
−2
0
2
4
−−−> Freq(Hz)
−−−> phase
Figure 10.3-2:
At w= 0, Hr(0) = 1 = 2
1
X
n=0
h(n)cos[0]
2[h(0) + h(1)] = 1 (1)
At w=π
2, Hr(π
2) = 1
2= 2
1
X
n=0
h(n)cos[π
2(3
2n)]
h(0) + h(1) = 0.354 (2)
Solving (1) and (2), we get
h(0) = 0.073 and
h(1) = 0.427
h(2) = h(1)
h(3) = h(0)
Hence, h(n) = {0.073,0.427,0.427,0.073}
309
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−15
−10
−5
0
5
−−−> Freq(Hz)
−−−> mag(dB)
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−4
−2
0
2
4
−−−> Freq(Hz)
−−−> phase
Figure 10.4-1:
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−15
−10
−5
0
5
−−−> Freq(Hz)
−−−> mag(dB)
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−4
−2
0
2
4
−−−> Freq(Hz)
−−−> phase
Figure 10.4-2:
310
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
10.6
M= 15.Hr(2πk
15 ) = 1, k = 0,1,2,3
0, k = 4,5,6,7
Hr(w) = h(M1
2) + 2
M3
2
X
n=0
h(n)cosw(M1
2n)
h(n) = h(M1n)
h(n) = h(14 n)
Hr(w) = h(7) + 2
6
X
n=0
h(n)cosw(7 n)
Solving the above eqn yields,
h(n) = {0.3189,0.0341,0.1079,0.0365,0.0667,0.0412,0.0498,0.4667
0.4667,0.0498,0.0412,0.0667,0.0365,0.1079,0.0341,0.3189}
10.7
M= 15.Hr(2πk
15 ) =
1, k = 0,1,2,3
0.4, k = 4
0, k = 5,6,7
Hr(w) = h(M1
2) + 2
M3
2
X
n=0
h(n)cosw(M1
2n)
h(n) = h(M1n)
h(n) = h(14 n)
Hr(w) = h(7) + 2
6
X
n=0
h(n)cosw(7 n)
Solving the above eqn yields,
h(n) = {0.3133,0.0181,0.0914,0.0122,0.0400,0.0019,0.0141,0.52,
0.52,0.0141,0.0019,0.0400,0.0122,0.0914,0.0181,0.3133}
10.8
(a)
ya(t) = dxa(t)
dt
=d
dt[ej2πF t]
=j2πF ej2πF t
Hence, H(F) = j2πF
311
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b)
|H(F)|= 2πF
6H(F) = π
2, F > 0
=π
2, F < 0
Refer to fig 10.8-1.
(c)
−0.1 −0.08 −0.06 −0.04 −0.02 0 0.02 0.04 0.06 0.08 0.1
0
0.2
0.4
0.6 B=pi/6
−−> Freq(Hz)
−−> magnitude
−0.1 −0.08 −0.06 −0.04 −0.02 0 0.02 0.04 0.06 0.08 0.1
−2
−1
0
1
2
−−> Freq(Hz)
−−> phase
Figure 10.8-1:
H(w) = jw, |w| ≤ π
|H(w)|=|w|
6H(w) = π
2, w > 0
=π
2, w < 0
Refer to fig 10.8-2.
we note that the digital differentiator has a frequency response that resembles the response
of the analog differentiator.
(d)
y(n) = x(n)x(n1)
H(z) = 1 z1
H(w) = 1 ejw
312
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
−4 −3 −2 −1 0 1 2 3 4
0
1
2
3
4
−−> w
−−> magnitude
−4 −3 −2 −1 0 1 2 3 4
−2
−1
0
1
2
−−> w
−−> phase
Figure 10.8-2:
=ejw
2(2jsinw
2)
|H(w)|= 2|sinw
2|
6H(w) = π
2w
2
Refer to fig 10.8-3.
Note that for small w,sinw
2w
2and H(w)jwejw
2, which is a suitable approximation
to the differentiator in (c).
(e) The value H(w0) is obtained from (d) above. Then y(n) = A|H(w0)|cos(w0n+θ+π
2w0
2)
10.9
Hd(w) = wej10w,0wπ
=wej10w,πw0
hd(n) = 1
2πZπ
π
Hd(w)ejwndw
=cosπ(n10)
(n10) , n 6= 10
= 0, n = 10
hd(n) = cosπ(n10)
(n10) ,0n20, n 6= 10
313
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
−4 −3 −2 −1 0 1 2 3 4
0
0.5
1
1.5
2
−−> w
−−> magnitude
−4 −3 −2 −1 0 1 2 3 4
−2
−1
0
1
2
−−> w
−−> phase
Figure 10.8-3:
= 0, n = 10
With a Hamming window, we obtain the following frequency response: Refer to fig 10.9-1.
10.10
H(s) has two zeros at z1=0.1 and z2=and two poles p1,2=0.1±j3. The matched
z-transform maps these into:
˜z1=e0.1T=e0.01 = 0.99
˜z2=e−∞T= 0
˜p1=e(0.1+j3)T= 0.99ej0.3
˜p2= 0.99ej0.3
Hence, H(z) = 1rz1
12rcosw0z1+r2z2, w0= 0.3r= 0.99
From the impulse invariance method we obtain
H(s) = 1
21
s+ 0.1j3+1
s+ 0.1 + j3
H(z) = 1
21
1e0.1Tej3Tz1+1
1e0.1Tej3Tz1
=1rcosw0z1
12rcosw0z1+r2z2
314
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
0
0.5
1
1.5
2
2.5
3
−−−> Freq(Hz)
−−−> mag(dB)
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
−4
−2
0
2
4
−−−> Freq(Hz)
−−−> phase
Figure 10.9-1:
The poles are the same, but the zero is different.
10.11
Ha(s) = (Ωul)s
s2(Ωul)s+ Ωul
s=2
T
1z1
1 + z1
H(z) = (Ωul)
2
T(1 z1)(1 + z1)
(2
T)2(1 z1)2+ (Ωul)( 2
T)(1 z1)(1 + z1) + Ωul(1 + z1)2
=2(αβ)(1 z2)
[4 + 2(αβ) + αβ]2(4 αβ)z1+ [4 2(αβ) + αβ]z2
where α= ΩuT, β = ΩlT
In order to compare the result with example 10.4.2, let
wu= ΩuT=3π
5
wl= ΩlT=2π
5
Then, H(z) = 0.245(1 z2)
1 + 0.509z2( example 8.3.2 )
In our case, we have α= ΩuT= 2tanwu
2= 2.753
β= ΩlT= 2tanwl
2= 1.453
315
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
By substituting into the equation above, we obtain
H(z) = 2.599(1 z2)
10.599 + 5.401z2
=0.245(1 z2)
1 + 0.509z2
10.12
Let T= 2
(a) H(z) = 1+z1
1z1y(n) = y(n1) + x(n) + x(n1)
(b)
Ha(Ω) = 1
||6H(Ω) = π
2,0
π
2,<0
(c)
|H(w)|=|cotw
2|6H(w) = π
2,0wπ
π
2,π < w < 0
(d) The digital integrator closely matches the magnitude characteristics of the analog integrator.
The two phase characteristics are identical.
(e) The integrator has a pole at w= 0. To avoid overflow problems, we would have E[x(n)] = 0,
i.e., a signal with no dc component.
10.13
(a)
H(z) = A(1 + z1)3
(1 1
2z1)(1 1
2z1+1
4z2)
=A(1 + z1)(1 + 2z1+z2)
(1 1
2z1)(1 1
2z1+1
4z2)
H(z)|z=1 = 1
A=3
64, b1= 2, b2= 1, a1= 1, c1=1
2, d1=1
2, d2=1
4
(b) Refer to fig 10.13-1
10.14
(a) There are only zeros, thus H(z) is FIR.
(b)
Zeros: z1=4
3,
z2=3
4,
z3,4=3
4e±jπ
3
z5,6=4
3e±jπ
3
316
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+
+
z-1
z-1
+
+ +
z-1
+ + +
z-1
+
+
z-1
z-1
+
+
y(n)x(n)
-0.5
x(n)
3/64
-1 3
3
1
1/2
-1/8
y(n)
-1/2 2
1
1/4
1
3/64
Figure 10.13-1:
z7= 1
Hence, z2=1
z
1
z4=z
3
z5=1
z
3
z6=z
5
z1=1
z7
= 1
and H(z) = z6H(z1)
Therefore, H(w) is linear phase.
(c) Refer to fig 10.14-1
10.15
From the design specifications we obtain
ǫ= 0.509
δ= 99.995
fp=4
24 =1
6
fs=6
24 =1
4
317
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
x(n)
25/12
y(n)
(4/3)2+ (3/4)2+ 4 cos 260o= 481/144
-4/3 - 3/4 = -25/12
+ +
z-1
z-1 z-1
+
+
z-1 z-1
z-1
+
+
z-1
+
Figure 10.14-1:
Assume t= 1.Then, Ωp= 2tanwp
2
= 2tanπfp= 1.155
and Ωs= 2tanws
2
= 2tanπfs= 2
η=δ
ǫ= 196.5
k=s
p
= 1.732
Butterworth filter: Nmin logη
logk = 9.613 N= 10
Chebyshev filter: Nmin cosh1η
cosh1k= 5.212 N= 6
Elliptic filter: sinα =1
k= 0.577 α= 35.3o
sinβ =1
η= 0.577 β= 0.3o
Nmin k(sinα)
k(cosα).k(cosβ)
k(sinβ)= 3.78 N= 4
318
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
10.16
From the design specifications we have
ǫ= 0.349
δ= 99.995
fp=1.2
8= 0.15
fs=2
8= 0.25
p= 2tanwp
2= 1.019
s= 2tanws
2= 2
η=δ
ǫ= 286.5
k=s
p
= 1.963
Butterworth filter: Nmin logη
logk = 8.393 N= 9
Chebyshev filter: Nmin cosh1η
cosh1k= 4.90 N= 5
Elliptic filter: Nmin k(1
k)
k(q11
k2)
.
k(q11
η2)
k(1
η)N= 4
10.17
Passband ripple = 1dB ǫ= 0.509
Stopband attenuation = 60dB δ= 1000
wp= 0.3π
ws= 0.35π
p= 2tanwp
2= 1.019
s= 2tanws
2= 1.226
η=δ
ǫ= 1965.226
k=s
p
= 1.203
Nmin cosh1η
cosh1k=8.277
0.627 = 13.2N= 14
Special software package, such as MATLAB or PC-DSP may be used to obtain the filter coeffi-
cients. Hand computation of these coefficients for N= 14 is very tedious.
319
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
10.18
Passband ripple = 0.5dB ǫ= 0.349
Stopband attenuation = 50dB
wp= 0.24π
ws= 0.35π
p= 2tanwp
2= 0.792
s= 2tanws
2= 1.226
η=δ
ǫ= 906.1
k=s
p
= 1.547
Nmin cosh1η
cosh1k=7.502
1.003 = 7.48 N= 8
Use a computer software package to determine the filter coefficients.
10.19
(a) MATLAB is used to design the FIR filter using the Remez algorithm. We find that a filter
of length M= 37 meets the specifications. We note that in MATLAB, the frequency scale is
normalized to 1
2of the sampling frequency. Refer to fig 10.19-1.
(b)δ1= 0.02, δ2= 0.01,f=20
100 15
100 = 0.05
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
0
0.2
0.4
0.6
0.8
1
1.2
−−> f
|H(w)|
Figure 10.19-1:
With equation (10.2.94) we obtain
ˆ
M=20log10(δ1δ2)13
14.6f+ 1 34
320
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
With equation (10.2.95) we obtain
D(δ1δ2) = 1.7371
f(δ1δ2) = 11.166
and ˆ
M=D(δ1δ2)f(δ1δ2)(f)2
f+ 1 36
Note (10.2.95) is a better approximation of M.
(c) Refer to fig 10.19-2.
Note that this filter does not satisfy the specifications.
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
−−> f
|H(w)|
Figure 10.19-2: M=37 FIR filter designed by window method with Hamming window
(d)The elliptic filter satisfies the specifications. Refer to fig 10.19-3.
(e)
FIR IIR
order 37 5
storage 19 16
No. of mult. 19 16
10.20
(a)
h(n) = 0
,1,2,3,4,5,4,3,2,1,0,...
H(z) =
10
X
n=0
h(n)zn
=z1+ 2z2+ 3z3+ 4z4+ 5z5+ 4z6+ 3z7+ 2z8+z9
H(w) = ej9w[2cos4w+ 4cos3w+ 6cos2w+ 8cosw + 5]
(b)|H(w)|=|2cos4w+ 4cos3w+ 6cos2w+ 8cosw + 5|. Refer to fig 10.20-1.
321
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
−−> f
|H(w)|
Figure 10.19-3:
10.21
(a)
dc gain: Ha(0) = 1
3dB frequency: |Ha(jΩ)|2=1
2
or α2
α2+ Ω2
c
=1
2
c=α
For all Ω,only H(j) = 0
ha(τ) = 1
eha(0) = 1
e
eαt =e1
τ=1
α
(b)
h(n) = ha(nT )
=eαnT u(n)
H(z) = 1
1eαT z1
H(w) = 1
1eαT ejw
H(0) = H(w)|w=0
=1
1eαT
3dB frequency: |H(wc)|2=1
2|H(0)|2
(1 αT αcoswc)2+ (eαT sinwc)2= 2(1 eαT )2
322
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
0
5
10
15
20
25
−−> Freq(Hz)
−−> magnitude
Figure 10.20-1:
Hence, wc= 2sin1(sinhαT
2)
Since |H(w)|2=1
12eαT cosw +e2αT
it oscillates between 1
(1 eαT )2and 1
(1 + eαT )2
but never reaches zero
h(τ) = eατT =e1
τ1
αT
τis the smallest integer that is larger than 1
T
(c)
H(z) = α
2
T
1z1
1+z1+α
=αT (1 + z1)
2(1 z1) + αT (1 + z1)
=αT (1 + z1)
2 + αT + (αT 2)z1
DC Gain: H(z)|z=1 = 1
At z=1(w=π), H(z) = 0
since |Ha(jc)|2=1
2,we have Ωc=α
wc= 2tan1c
2T
= 2tan1αT 2
Let a=2αT
2 + αT
323
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Then H(z) = 1a
21 + (1 + a)z1
1az1
h(n) = 1a
2δ(n) + (1 + a)an1u(n1)
h(0) = 1a
2
h(n)
h(0) =1
e
(1 + a)an1=1
e
n=ln a
1+a1
lna
=ln(2αT
4)1
ln(2αT
2+αT )
10.22
(a)
hd(n) = T
2πZπ
T
π
T
Hd(w)ejwndw
=T
2π"Z0.4π
T
π
2T
ejwndw +Z0.5π
T
0.4π
T
ejwndw#
=T
sin πn
2Tsin2πn
5T
(b)
Let hs(n) = hd(n)w(n),100 n100(M= 101)
Then, h(n) = hs(n100) will be the impulse of the filter for 0 n200
(c)
Hd(w) =
0,0w0.4π
T
ej100w,0.4π
Tw0.5π
T
0,0.5π
T< w < 1.5π
T
ej100w,1.5π
Tw1.6π
T
0,1.6π
T< w 2π
T
w=
2π
T
200k
=πk
100T
Then, H(k) = 0,0k < 40
= 0,50 < k < 150
= 0,160 < k 200
H(k) = ejπk
T,40 k50
=ejπkT ,150 k160
H(w) will match Hd(w) at 201 points in frequency. The filter will contain large ripples in
between the sampled frequencies. Transition values should be specified to reduce the ripples in
both the passbands and the stopband.
324
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
10.23
(a)
wl=5π
12
l=tanwl
2( for T= 2)
wu=7π
12
u=tanwu
2
Analog: lowpass to bandpass
ss2+ Ωlu
s(Ωul)
Bilinear: Analog to digital
sz1
z+ 1 =1z1
1 + z1
combine the two steps:
s1z1
1+z12+ Ωlu
1z1
1+z1(Ωul)
=(1 z1)2+ Ωul(1 + z1)2
(1 z1)(Ωul)
Therefore, H(z) = 1
h(1z1)2+Ωul(1+z1)2
(1z2)(Ωul)i2+2h(1z1)2+Ωul(1+z1)2
(1z2)(Ωul)i+ 1
(b)
u
l
=tan7π
24
tan5π
24
= 1.7
(1)u
l
= 1.43
(2)u
l
= 1.8
(3)u
l
= 1.82
(4)u
l
= 1.7
filter (4) satisfies the constraint
10.24
(a)
H(z) = (1 z12)1
6
1 + z1+
1
12 (1 1
2z1)
1z1+z2+
1
12 (1 + 1
2z1)
1 + z1+z2
=1
6(1 z12)2 + z1+3
2z2+1
2z3+z4
1 + z1+z2+z3+z4+z5
=1
6(1 z6)(1 z1)(2 + z1+3
2z2+1
2z3+z4)
325
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
This filter is FIR with zeros at z= 1, e±jπ
6, e±jπ
2, e±j5π
6,0.5528 ±j0.6823 and 0.3028 ±j0.7462
(b) It is a highpass filter.
(c)
H(w) = 1
6(1 ej6w)(1 ejw)(2 + ejw +3
2ej2w+1
2ej3w+ej4w)
H(0) = H(π
6) = H(3π
6) = H(3π
6) = 0
H(2π
6) = 1
2
H(4π
6) = 2
H(π) = 2
10.25
(a)
fL=900
2500 = 0.36
fH=1100
2500 = 0.44
Refer to fig 10.25-1.
(b) The ideal lowpass filter has a passband of 0.04 f0.04. Hence,
X(f) W(f)
V(f)
f f
f
-0.4 0 0.360.40.44 -0.4 -0.04 0 0.04 0.4
-0.04 0 0.04
Figure 10.25-1:
Hd(w) = 1ej15w0.08πw0.08π
0,otherwise
Hence,
hd(n) = 1
2πZ0.08π
0.08π
ej15wejwndw
326
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=1
2πZ0.08π
0.08π
ejw(n15)dw
=2sin0.08π(n15)
(n15)
h(n) = hd(n)wH(n)
wH(n) = 0.54 0.46cos2π(n15)
30
h(n) is the impulse response of the lowpass filter H(w)
(c) Rx= 1000
10.26
(a)
ˆy(n) =
M1
X
k=0
h(k)x(nk)
E=
X
n=0
[y(n)ˆy(n)]2
=
X
n=0
[y(n)
M1
X
k=0
h(k)x(nk)]2
By differentiating E with respect to each coefficient and setting the derivatives to zero, we obtain
M1
X
k=0
h(k)rxx(kl) = ryx(l), l = 0,1,...,M 1
where rxx(l) =
X
n=0
x(n)x(nl) and
ryx(l) =
X
n=0
y(n)x(nl)
(b)
E=
X
n=0
[y(n) + w(n)
M1
X
k=0
h(k)x(nk)]2
By carrying out the minimization we obtain
M1
X
k=0
h(k)rxx(kl) = ryx(l) + rwx(l), l = 0,1,...,M 1
where rwx(l) =
X
n=0
w(n)x(nl)
10.27
x(n) =
N1
X
k=0
ej2πkn/N =N, n = 0
0,1nN1
327
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
x(n) is a periodic sequence with period N. Hence, y(n) is also periodic with period N. Let
H2(z) = 1 +
p
X
k=1
akzk
and h2(n) = {1, a1, a2,...,ap}
Then, h2(n)y(n) = x(n), n = 0,1,...,N 1
If p+ 1 N, the Nequations above are sufficient to determine a1, a2,...,apand their order. If
p+ 1 > N, it is not possible to determine the {ak}and the order p.
10.28
(1) The set of linear equations are:
M1
X
k=0
h(k)rxx(kl) = ryx(l), l = 0,1, . . . , M 1
where rxx(l) =
X
n=0
x(n)x(nl) and
ryx(l) =
X
n=0
y(n)x(nl)
E=
X
n=−∞
[y(n)
M1
X
k=0
h(k)x(nk)]2
(2) Refer to fig 10.28-1.
(3) Refer to fig 10.28-2.
8 9 10 11 12 13 14
8.08
8.1
8.12
8.14
8.16
8.18
8.2
8.22
8.24
8.26
8.28 Total squared error
error
filter order
Figure 10.28-1:
(4) v(n) = y(n) + 0.01w(n). Refer to fig 10.28-3.
328
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 1000 2000 3000
0
0.5
1
fft of original h(n)
−−>|H(w)|
0 1000 2000 3000
0
0.1
0.2
0.3
0.4 M=11E=8.093
−−>|H(w)|
0 1000 2000 3000
0
0.1
0.2
0.3
0.4
0.5 M=12E=8.084
−−>|H(w)|
0 1000 2000 3000
0
0.1
0.2
0.3
0.4
0.5 M=13E=8.101
−−>|H(w)|
Figure 10.28-2:
10.29
(a) Since δ(nk) = 0 except for n=k, equation (1) reduces to
h(n) = a1h(n1) a2h(n2) ...aNh(nN) + bn,0nM
(b) Since δ(nk) = 0 except for n=k, equation (1) reduces to
h(n) = a1h(n1) a2h(n2) ...aNh(nN),0n > M
(c) We use the linear equation given in (b) to solve for the filter parameters {ak}. Then we use
values for the {ak}in the linear equation fiven in (a) and solve for the parameters {bk}.
10.30
Hd(z) = 2
11
2z1
We can see that by setting M= 0 and N= 1 in
H(z) = PM
k=0 bkz1
1 + PN
k=1 akz1
we can provide a perfect match to Hd(z) as given in
H(z) = b0
1 + a1z1.
329
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 1000 2000 3000
0
0.5
1
1.5 fft of original h(n)
−−>|H(w)|
0 1000 2000 3000
0
0.5
M=8 E=8.42
0 1000 2000 3000
0
0.2
0.4 M=9 E=8.305
0 1000 2000 3000
0
0.2
0.4 M=10 E=8.228
0 1000 2000 3000
0
0.2
0.4 M=11 E=8.228
0 1000 2000 3000
0
0.5
M=12 E=8.221
0 1000 2000 3000
0
0.5
M=13 E=8.238
0 1000 2000 3000
0
0.5
M=14 E=8.24
Figure 10.28-3:
With δ(n) as the input to H(z), we obtain the output
h(n) = a1h(n1) + b0δ(n).
For n > M = 1, we have
h(n) = a1h(n1)
or, equivalently,
hd(n) = a1hd(n1).
Substituting for hd(n), we obtain a1=1
2. To solve for b0, we use the equation given in 10.29(a)
with h(n) = hd(n),
hd(n) = 1
2hd(n1) + b0δ(n).
For n= 0 this equation yields b0= 2. Thus
H(z) = 2
11
2z1.
(b)
Hd(z) = H(z)
330
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
10.31
(a)
h(n) =
N
X
k=1
akh(nk) +
M
X
k=0
bkδ(nk)n0
(b) Based on (a)
ˆ
hd(n) =
N
X
k=1
akhd(nk)n > M
ε1=
X
M+1 hhd(n)ˆ
hd(n)i2
=
X
M+1 "hd(n)
N
X
k=1
akhd(nk)#2
By differentiating with respect to the parameters {ak}, we obtain the set of linear equations of
the form
N
X
k=1
akrhh(k, l) = rhh(l, 0) l= 1,2,...,N
where,
rhh(k, l) =
X
n=1
hd(nk)hd(nl)
=
X
n=0
hd(n)hd(n+kl) = rhh(kl)
The solution of these linear equations yield to the filter parameters {ak}.
(c) We can find the least-squares solution for {bk}from the minimization of
ε2=
X
n=0 "ˆ
hd(n)
M
X
k=0
bkv(nk)#2
Thus we obtain a set of linear equations for the parameters {bk}, in the form
M
X
k=0
bkrvv(k, l) = rhv (l)l= 0,1,...,M
where
rvv(k, l) =
X
n=0
v(nk)v(nl)
rhv(k) =
X
n=0
h(n)v(nk)
331
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
10.32
(a)
y(n) = 1.5198y(n1) 0.9778y(n2) + 0.2090y(n3)
+0.0812x(n) + 0.0536x(n1) + 0.0536x(n2) + 0.0812x(n3)
hd(n) can be found by substituting x(n) = δ(n). Fig 10.32-1 shows the hd(n).
0 5 10 15 20 25 30 35 40 45 50
−0.1
−0.05
0
0.05
0.1
0.15
0.2
0.25
0.3
n
hd(n)
Figure 10.32-1:
(b) The poles and zeros obtained using Shanks’ method are listed in Table 10.32. The magnitude
response for each case together with the desired response is shown in Fig. 10.32-2. The frequency
response characteristics illustrate that Shanks’ method yields very good designs when the number
of poles and zeros equals or exceeds the number of poles and zeros in the actual filter. Thus the
inclusion of zeros in the approximation has a significant effect in the resulting design.
Filter
Order Poles Zeros
N=3 0.5348
M=2 0.6646 ±j0.4306 0.2437 ±j0.5918
N=3 0.3881 -1
M=3 0.5659 ±j0.4671 0.1738 ±j0.9848
N=4 -0.00014 -1
0.388
M=3 0.566 ±j0.4671 0.1738 ±j0.9848
332
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
−90
−80
−70
−60
−50
−40
−30
−20
−10
0
Normalized Frequency (xπ rad/sample
Magnitude (dB)
Desired response
N=3, M=3
N=4, M=3
N=3, M=2
Figure 10.32-2:
333
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
334
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Chapter 11
11.1
(a) Let the corresponding baseband spectrum be called Xb(Ω). Then
Xa(Ω) = 1
2[Xb(Ω 2000π) + Xb(Ω + 2000π)]
With frequencies normalized to Fx,
w=
Fx
. The sequence x(n) has DTFT
X(w) =
X
q=−∞
Xa(w2πq)
=
X
q=−∞
[Xa(w0.8π2πq) + Xb(w+ 0.8π2πq)]
modulation by cos(0.8π) causes shifts up and down by 0.8π(and scaling by 1
2) of each
|X(w’)|
0.5
Assumes peak of X
b(.) normalized to unity
Xb(w’) shifted to 0.8
w’
−π −0.8π 0 0.8π π
π
β=0.16π
period 2π
Figure 11.1-1:
component in the spectrum. Refer to fig 11.1-1. Ideal LPF preserves only the baseband spectrum
(of each period). Refer to fig 11.1
335
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
−π −0.4π 0.1π 0.4π π
0.5 0.5
1
w
|W(w’)|
H(w’) period 2π
β
Figure 11.1-2:
The downsampling produces the figure in fig 11.1, where w′′ =
Fy=D
Fx= 10w. Note that
there is no aliasing in the spectrum |Y(w′′)|because the decimated sample rate, in terms of w,
is 2π
10 >0.04π.
(b) The assumed spectral amplitude normalization in fig 11.1-1 implies that the analog FT
(magnitude spectrum) of xa(t) is (refer to fig 11.1-4).
The given sample rate is identical to Fyabove, Fy= 250Hz. The DTFT of samples taken
at this rate is ˜
Y(Ω) = 1
TyPqXa(Ω qy) where Ωy= 2πFy. On a scaled frequency axis
w′′ = ΩTy=
Fy,˜
Y(w′′) = 1
TyPqXa(w′′ q2π). Consequently ˜y(n) = y(n).
0.08π π
|V(w’)|
w’
period 2π
0.8π π
0.1
period 2
w’’
|Y(w’’)| = 0.1 |V(0.1w’’)|
π
Figure 11.1-3:
336
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
−Ω Ω Ω
400π
cc
T
x/2
|Xa(Ω) |
Figure 11.1-4:
11.2
(a) X(w) = 1
(1aejw )
(b) After decimation Y(w) = 1
2X(w
2) = 1
2(1aejw
2)
(c)
DTFT {x(2n)}=X
n
x(2n)ejw2n
=X
n
x(2n)ejwn
=Y(w)
11.3
(a)Refer to fig 11.3-1
(b)
z-1
+
x(n)
F
x 1/2
y(m)
F
y= Fx
Figure 11.3-1:
337
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Let w=
Fx
, w′′ =
Fy
=w
2
Y(w′′) = X
neven
x(n
2)ejw′′n+X
nodd
1
2[x(n1
2) + x(n+ 1
2)]ejw′′n
=X
p
x(p)ejw′′2p+1
2X
q
[x(q) + x(q+ 1)]ejw′′(2q+1)
=X(2w′′) + 1
2ejw′′ [X(2w′′) + ej2w′′ X(2w′′)]
=X(2w′′)[1 + cosw′′]
X(w) = 1,0≤ |w| ≤ 0.2π
0,otherwise
X(2w′′) = 1,0≤ |2w′′| ≤ 0.2π
0,otherwise
=1,0≤ |w′′| ≤ 0.1π
0,otherwise
Y(w′′) = 1 + cosw′′,0≤ |w′′| ≤ 0.1π
0,otherwise
(c) Refer to fig 11.3-2
X(.)
0 0.7 0.9 1.1 1.3 2 w ’
0 0.35 0.45 0.55 0.65 w ’’
π π πππ π
π π π π π
Figure 11.3-2:
Y(w′′) =
1 + cosw′′,0.35π≤ |w′′| ≤ 0.45π
or 0.55π≤ |w′′| ≤ 0.65π
0,otherwise
11.4
(a) Let w=
Fx, w′′ =D
Fx. Refer to fig 11.4-1
Let x′′(n) be the downsampled sequence.
338
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
π
π
|X(w ’)|
1
-w ’
mw ’
mw ’
|X’’(w’’)|
1/D
-Dw’
mDw’
mw ’’
Figure 11.4-1:
x′′(n) = x(nD)
X′′(w′′) = 1
DX(w′′
D)
As long as Dw
mπ,X(w) [hence x(n)] can be recovered from X′′(w′′)[x′′(n) = x(Dn)]
using interpolation by a factor D:
X(w) = DX′′(Dw)
The given sampling frequency is w
s=2π
D. The condition Dw
mπ2w
m2π
D=w
s
(b) Let xa(t) be the ral analog signal from which samples x(n) were taken at rate Fx. There exists
a signal, say x
a(t), such that x
a(t) = Xa(t
Tx). x(n) may be considered to be the samples of x(t)
taken at rate fx= 1. Likewise x′′(n) = x(nD) are samples of x(t) taken at rate f′′
x=fx
D=1
D.
From sampling theory, we know that x(t) can be reconstructed from its samples x′′(n) as long
as it is bandlimited to fm1
2D, or wmπ
D, which is the case here. The reconstruction formula
is
x(t) = X
k
x′′(k)hr(tkD)
where
hr(t) = sin(π
Dt)
(π
Dt)
Refer to fig 11.4-2
Actually the bandwidth of the reconstruction filter may be made as small as w
m, or as large
as 2π
Dw
m, so hrmay be
hr(t) = sin(w
ct)
(w
ct)
where w
mw
c2π
Dw
m. In particular x(n) = x(t=n) so
x(n) = X
k
x(kD)hr(nkD)
339
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0w ’
mπ/D 2π/D - w ’
mw ’
Hr(w ’) |X(w ’)| period
2π/D
2π/D
Figure 11.4-2:
(c) Clearly if we define
v(p) = x(p),if p is an integer multiple of D
0,other p
then, we may write 11.4 as
x(n) = X
p
v(p)hr(np)
so x(n) is reconstructed as (see fig 11.4-3)
x’’(n)=x(kn) Dv(n) x(n)
hr(n)
Figure 11.4-3:
340
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
11.5
(a)
Let w=
Fx
, w′′ =2Ω
Fx
Xs(w) = X
n
xs(n)ejwn
=X
m
x(2m)ejw2m
=1
2X
q
X(w2π
2q)
=1
2X
q
X(wπq)
To recover x(n) from xs(n): see fig 11.5-1
(b)
1/2
Xs(w)
period π
π/3 2π/3 π
−π −2π/3 −π/3 w
x
s(n) v(n) x(n)
hr(n)
2
where
Hr(w)
1
w
−π/2 π/2
Figure 11.5-1:
Recall w= 2w
Xd(w) = X
n
xd(n)ejwn
=X
neven
xs(n)ejwn
2
=X
n
xs(n)ejwn
2
341
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
since xs(n) = 0 when nodd
=Xs(w
2)
see fig 11.5-2
No information is lost since the decimated sample rate still exceeds twice the bandlimit of
−π 2π/3 π
period 21/2
w ’
π
Figure 11.5-2:
the original signal.
11.6
A filter of length 30 meets the specification. The cutoff frequency is wc=π
5and the coefficients
are given below:
h(1) = h(30) = 0.006399
h(2) = h(29) = 0.01476
h(3) = h(28) = 0.001089
h(4) = h(27) = 0.002871
h(5) = h(26) = 0.01049
h(6) = h(25) = 0.02148
h(7) = h(24) = 0.01948
h(8) = h(23) = 0.0003107
h(9) = h(22) = 0.03005
h(10) = h(21) = 0.04988
h(11) = h(20) = 0.03737
h(12) = h(19) = 0.01848
h(13) = h(18) = 0.1075
h(14) = h(17) = 0.1995
h(15) = h(16) = 0.2579
342
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
pk(n) = h(n+k), k = 0,1,...
corresponding polyphase filter structure (see fig 11.6-1)
+
p
0(n) +
p (n)
p (n)
1
4
y(n)
x(n)
F
xF
y= Fx/D
Figure 11.6-1:
11.7
A filter of length 30 meets the specification. The cutoff frequency is wc=π
2and the coefficients
are given below:
h(1) = h(30) = 0.006026
h(2) = h(29) = 0.01282
h(3) = h(28) = 0.002858
h(4) = h(27) = 0.01366
h(5) = h(26) = 0.004669
h(6) = h(25) = 0.01970
h(7) = h(24) = 0.01598
h(8) = h(23) = 0.02138
h(9) = h(22) = 0.03498
h(10) = h(21) = 0.01562
h(11) = h(20) = 0.06401
h(12) = h(19) = 0.007345
h(13) = h(18) = 0.1187
h(14) = h(17) = 0.09805
h(15) = h(16) = 0.4923
pk(n) = h(2n+k), k = 0,1; n= 0,1,...,14
343
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
corresponding polyphase filter structure (see fig 11.7-1)
p
0(n)
/DF
y= Fx
F
x
p (n)
1
y(n)
x(n)
Figure 11.7-1:
11.8
The FIR filter that meets the specifications of this problem is exactly the same as that in Problem
11.6. Its bandwidth is π
5. Its coefficients are
g(n, m) = h(nI + (mD)I)
=h(nI +mD [mD
I]I)
=h(2n+ 5m2[5m
2])
g(0, m) = {h(0), h(1)}
g(1, m) = {h(2), h(3)}
.
.
.
g(14, m) = {h(28), h(29)}
A polyphase filter would employ two subfilters, each of length 15
p0(n) = {h(0), h(2),...,h(28)}
p1(n) = {h(1), h(3),...,h(29)}
11.9
(a)
x(n) = {x0, x1, x2,...}
D=I= 2.Decimation first
344
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
z2(n) = {x0, x2, x4,...}
y2(n) = {x0,0, x2,0, x4,0,...}
Interpolation first
z1(n) = {x0,0, x1,0, x2,0,...}
y1(n) = {x0, x1, x2,...}
so y2(n)6=y1(n)
(b) suppose D=dk and I=ik and d, i are relatively prime.
x(n) = {x0, x1, x2,...}
Decimation first
z2(n) = {x0, xdk, x2dk,...}
y2(n) =
x0,0,...,0
|{z }
ik1
, xdk,0,...,0
|{z }
ik1
, x2dk,...
Interpolation first
z1(n) =
x0,0,...,0
| {z }
ik1
, x1,0,...,0
|{z }
ik1
, x2,0,...,0
|{z }
ik1
,...
y1(n) =
x0,0,...,0
|{z }
d1
, xd,0,...,0
|{z }
d1
,...
Thus y2(n) = y1(n) iff d=dk or k= 1 which means that Dand Iare relatively prime.
11.10
(a) Refer to fig 11.10-1
y1(n) = h(n)w1(n)
=h(n)x(nD)
=
X
k=0
h(k)x[(nk)D]
H(zD) = . . . h(0)z0+h(1)zD+h(2)z2D+...
H(zD)˜
h(n)
=
h0,0,...,0
|{z }
D1
, H1,0,...,0
|{z }
D1
, h(2),...
so w2(n) =
nD1
X
k=0
˜
h(k)x(nk)
=
n
X
k=0
˜
h(kD)x(nkD)
=
n
X
k=0
h(k)x(nkD)
345
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
y
1(n)
x(n) w1
(n) H(z)
x(n) H(z
D)w2
(n) y
2(n)
D
D
Figure 11.10-1:
y2(n) = w2(nD)
=
n
X
k=0
h(k)x(nD kD)
=
n
X
k=0
h(k)x[(nk)D]
So y1(n) = y2(n)
(b)
w1(n) =
X
k=0
h(k)x(nk)
y1(n) = w1(p), n =pI(pan integer )
= 0,other n
w2(n) = x(p), n =pI
= 0,other n
Let ˜
h(n) be the IR corresponding to H(zI)
y2(n) =
X
k=0
˜
h(k)w2(nk)
=
X
k=0
˜
h(kI)w2(nkI)
=
X
k=0
h(k)w2(nkI)
for n=pI
y2(n) =
X
k=0
h(k)w2((pk)I)
346
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=
X
k=0
h(k)x(pk)
=w1(p)( see above )
for n6=pI
y2(n) =
X
k=0
h(k).0 = 0
so we conclude y1(n) = y2(n)
11.11
(a)
H(z) = X
n
h(2n)z2n+X
n
h(2n+ 1)z2n1
=X
n
h(2n)(z2)n+z1X
n
h(2n+ 1)(z2)n
=H0(z2) + z1H1(z2)
Therefore H0(z) = X
n
h(2n)zn
H1(z) = X
n
h(2n+ 1)zn
(b)
H(z) = X
n
h(nD)znD +X
n
h(nD + 1)znD1+...
+X
n
h(nD +D1)znDD+1
=
D1
X
k=0
zkX
n
h(nD +k)(zD)n
Therefore Hk(z) = X
n
h(nD +k)zn
(c)
H(z) = 1
1az1
=
X
n=0
anzn
H0(z) =
X
n=0
a2nzn
=1
1a2z1
H1(z) =
X
n=0
a2n+1zn
=a
1a2z1
347
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
11.12
The output of the upsampler is X(z2). Thus, we have
Y1(z) = 1
2X(z)H1(z1/2) + X(z)H1(z1/2W1/2)
=1
2H1(z1/2) + H1(z1/2W1/2)X(z)
=H2(z)X(z)
11.13
(a) Refer to Fig. 11.13-1 for I/D = 5/3.
Fx5Fx
Fx5Fx
3Fy
Fy2Fy
(1/2)min(Fx,Fy)
Filter
DTFT[x(n)]
DTFT[y(m)]
Figure 11.13-1:
(b) Refer to Fig. 11.13-2 for I/D = 3/5.
11.14
(a) The desired implementation is given in Fig. 11.14-1
(b) The polyphase decomposition is given by
Hk(z) = (1 + z1)5
= 1 + 5z1+ 10z2+ 10z3+ 5z4+z5
= 1 + 10z2+ 5z4+ (5 + 10z2+z4)z1
=P0(z) + P1(z)z1
348
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Fx
Fy5Fy
3Fx
3Fx
(1/2)min(Fx,Fy)
Filter
DTFT[x(n)]
DTFT[y(m)]
Figure 11.13-2:
11.15
(a)
H(z) =
N1
X
n=0
znPn(zN)
where
Pn(z) =
X
k=−∞
h(kN +n)zk
Let m=N1n. Then
H(z) =
N1
X
n=0
z(N1m)PN1m(zN)
=
N1
X
n=0
z(N1m)Qm(zN)
(b)
2
()115
+
z2
()115
+
z2
()115
+
z
Figure 11.14-1:
349
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
y(n)
N
0+
+
+
z−1
z−1
P (z )
N
0
z−1
z−1
+
+
+
P (z )
N
1
N−2
N−1
N
N
P (z )
P (z )
P (z )
N
1
N−2
N−1
N
N
P (z )
P (z )
y(n)
x(n) x(n) P (z )
Figure 11.15-1: Type 1 Polyphase Decomposition
N−1
+
+
z−1
z−1
+
0
Q (z )
N
N
N
N
x(n)
y(n)
Q (z )
Q (z )
Q (z )
1
N−2
Figure 11.15-2: Type 2 Polyphase Decomposition
350
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
11.16
Q (z )
Q (z )
N
+
z−1
z−1
+
3
3
3
N
x(n)
Q (z )
1
y(n)
2 N
0
Figure 11.16-1:
11.17
D1= 25, D2= 4
F0= 10 kHz , F1=F0
D1
= 400 Hz
Passband 0 F50
Transition band 50 < F 345
Stopband 345 < F 5000
F2=F1
D2
= 100 Hz
Passband 0 F50
Transition band 50 < F 55
Stopband 55 < F 200
For filter 1, δ1=0.1
2= 0.05, δ2= 103
f=345 50
10,000 = 2.95x102
ˆ
M1=10logδ1δ213
14.6f+ 1 = 71
For filter 2, δ1= 0.05, δ2= 103
f=55 50
400 = 7.5x103
ˆ
M2=10logδ1δ213
14.6f+ 1 275
The coefficients of the two filters can be obtained using a number of DSP software packages.
351
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
11.18
To avoid aliasing Fsc Fx
2D. Thus D=I= 50.
Single stage
δ1= 0.1, δ2= 103
f=65 60
10,000 = 5x104
ˆ
M1=10logδ1δ213
14.6f+ 1 3700
Two stages
D1= 25, D2= 2 I1= 2, I2= 25
stage 1:F1=10,000
25 = 400
Passband 0 F60
Transition band 60 < F 335
Stopband 335 < F 5000
δ1= 0.1, δ2=103
4
f= 2.75x102ˆ
M1= 84
stage 2:F2=400
2= 200
Passband 0 F60
Transition band 60 < F 65
Stopband 65 < F 100
δ1= 0.1, δ2=103
4
f= 0.1875 ˆ
M2= 13
Use DSP software to obtain filter coefficients.
11.19
b+(n) is nonzero for 0 n2N2 with Neven. Let c(n) = b+[n(N1)]. So c(n) is nonzero
for (N1) nN1. From (11.11.35)
B+(w) + (1)N1B+(wπ) = αejw(N1)
or B+(z) + (1)N1B+(z) = αz(N1)
Therefore, C(z)z(N1) + (1)N1C(z)(z)(N1) =αz(N1)
or C(z) + C(z) = α
c(n) + c(n) = αδ(n)
when n6= 0c(n) = c(n)
when nis odd c(n) = c(n)
when nis even but n6= 0, c(n) = 0
(half-band filter)
when n= 0, c(n) = α
2
352
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
11.20
one stage:
δ1= 0.01, δ2= 103
f=100 90
10,000 = 103
ˆ
M=10logδ1δ213
14.6f+ 1 2536
two stages: F0= 2 ×105Hz
I1= 1, I2= 2
F1=F0
I1
= 2 ×104Hz
Passband 0 F90
Transition band 90 < F 19,900
Therefore f=19,900 90
2×105= 0.09905
and δ11 =δ1
2, δ12 =δ2
ˆ
M1=10logδ1δ213
14.6f+ 1 29
F2=F1
I2
= 1 ×104Hz
Passband 0 F90
Transition band 90 < F 9,900
Therefore f=9,900 90
2×104= 0.4905
and δ21 =δ1
2, δ22 =δ2
ˆ
M2=10logδ1δ213
14.6f+ 1 7
11.21
Suppose the output of the analysis section is xa0(m) and xa1(m). After interpolation by 2, they
become y0(m) and y1(m). Thus
yk(m) = xak(m
2), m even k= 0,1
0, m odd
The final output is
z(m) = y0(m)2h(m) + y1(m)[2(1)mh(m)]
when mis even, say m= 2j,
z(m) = z(2j) = 2y0(m)h(m)2y1(m)h(m)
= 2 X
k
y0(k)h(mk)2X
k
y1(k)h(mk)
= 2 X
l
y0(2l)h(2j2l)2X
l
y1(2l)h(2j2l)
353
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
= 2 X
l
xa0(l)h[2(jl)] 2X
l
xa1(l)h[2(jl)]
= 2[xa0(j)xa1(j)] h(2j)
= 2[xa0(j)xa1(j)] p0(j)
In the same manner, it can be shown that
z(2j+ 1) = 2[xa0(j) + xa1(j)] p1(j)
11.22
Refer to fig 11.22-1, where hi(n) is a lowpass filter with cutoff freq. π
Ii. After transposition (refer
I1h
1
(n)
Interpolator 1
I h(n)
L L
Interpolator L
Figure 11.22-1: I=I1I2. . . ILL-stage interpolator
to fig 11.22-2). As D=I, let Di=IL+1i, then D=D1D2. . . DL. Refer to fig 11.22-3
Obviously, this is equivalent to the transposed form above.
354
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
h(n)
Lh1(n)ILI
1
Figure 11.22-2:
h (n)
Lh1
(n)DLD1
Figure 11.22-3: L-stage decimator
355
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
11.23
Suppose that output is y(n). Then Ty=k
ITx.Fy=1
Ty=I
k
1
Tx=I
kFx. Assume that the lowpass
filter is h(n) of length M=kI (see fig 11.23-4)
1
2
K
buffer
length K
input
buffer
length K
x(n) Fx
output
buffer
length I
y(n)
F
y=( I/k) F
x
K-1
n=0
+
g(n,0)
g(n,1)
g(n,I-1) n=0,1, ..., K-1
n=0,1, ..., K-1
n=0,1, ..., K-1
coefficient storage
Figure 11.23-4:
11.24
(a)
for any n=lI +j(0 jI1)
I1
X
k=0
pk(nk) =
I1
X
k=0
pk(lI +jk)
=pj(lI)
=pj(l)
=h(j+lI)
=h(n)
Therefore, h(n) =
I1
X
k=0
pk(nk)
356
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b) z-transform both sides
H(z) =
I1
X
k=0
zkpk(z)
(c)
1
IX
n
I1
X
l=0
h(n)ej2πl(nk)
Iznk
I
=1
IX
m
I1
X
l=0
h(k+mI)ej2πlmzm
=X
m
h(k+mI)zm
=X
m
pk(m)zm
=pk(z)
11.25
(a) Refer to fig 11.25-1.
(b)
0 2 4 6 8
0
0.2
0.4
0.6
0.8
1spectrum of x(n)
−−> w
−−> magnitude
0 2 4 6 8
0.4
0.5
0.6
0.7
0.8 spectrum of y(n)
−−> w
−−> magnitude
Figure 11.25-1:
Bandwidth = π
3
cut off freq = π
2
sampling freq of x(n) = 2π
sampling freq for the desired band of frequencies = 2π
2=π
Therefore, D=2π
2= 2
(c) Refer to fig 11.25-2.
(d) Refer to fig 11.25-3.
357
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 500 1000 1500
0
10
20
30
40 x(n)
−−>x(n)
−−−> n 0 500 1000 1500
0
200
400
600
800
1000
1200 |X(w)|
−−> magnitude
Figure 11.25-2:
0 200 400 600 800 1000 1200
0
100
200
300
400
500
600
700
800
900
1000
−−> magnitude
spectrum of s(n)
Figure 11.25-3:
358
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
11.26
N−1
Q (z )
N
+
+
z−1
z−1
+y(n)
I
I
I
I
N
N
N
x(n)
Q (z )
Q (z )
Q (z )
1
N−2
0
Figure 11.26-1:
11.27
H0(z) =
N1
X
n=0
znPn(zN)
where
Pn(z) =
X
k=0
h0(kN +n)zk,0kN1
Then,
Hk(z) = H0(zej2πk/N ) = H0(zwk
N)
where wN=ej2π/N .
(a)
Hk(z) =
N1
X
l=0
zlwkl
NPl(zNwkN
N)
=
N1
X
l=0
zlwkl
NPl(zN), k = 0,1,...,N 1
Therefore, Hk(z),0kN1 can be expressed in matrix form as
Hk(z) = h1wk
Nw2k
N. . . w(N1)k
Ni
P0(zN)
z1P1(zN)
.
.
.
z1P1(zN)
359
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b) From part (a), we have
H0(z)
H1(z)
.
.
.
HN1(z)
=
1 1 1 ··· 1
1w1
Nw2
N··· w(N1)
N
.
.
..
.
..
.
..
.
.
1w(N1)
Nw2(N1)
N··· w(N1)(N1)
N
P0(zN)
z1P1(zN)
.
.
.
z1P1(zN)
=NW 1
P0(zN)
z1P1(zN)
.
.
.
z1P1(zN)
where Wid the DFT matrix.
(c)
IDFT
N
0
z−1
z−1
P (z )
N
1
N−2
N−1
N
N
P (z )
P (z )
x(n)
y (n)
y (n)
1
N−2
N−1
y (n)
y (n)
0
N−point
P (z )
Figure 11.27-1:
(d)
DFT
0
y (n)
1
N−2
y (n)
N−1
y (n)
P (z )
N
0
P (z )
N
1
N−2
N−1
N
N
P (z )
P (z )
+
+
+
z−1
z−1
N−point
v(n)
y (n)
Figure 11.27-2:
360
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
11.28
H0(z) = 1 + z1+ 3z2+ 4z3
(a)
Hk(z) = H0(zwk
4),1k3
=H0(zej2πk/4)
Then,
H1(z) = 1 + jz13z2+j4z3
H2(z) = 1 jz1+ 3z24z3
H3(z) = 1 jz13z2+j4z3
Note that the impulse response hk(n) are complex-valued, in general. Consequently, |Hk(w)|is
not symmetric with respect to w= 0.
(b) Let us use the polyphase implementation of the uniform filter bank. We have
Pl(z) =
X
n=0
h0(l+ 3n)zn, l = 0,1,2,3
This yields P0(z) = 1, P1(z) = 1, P2(z) = 3, and P3(z) = 4. By using the results in Prob-
lem 11.27, we have the equation for the synthesis filter bank as
H0(z)
H1(z)
H2(z)
H3(z)
=
1 1 1 1
1j1j
11 1 1
1j1j
P0(z4)
z1P1(z4)
z2P2(z4)
z3P3(z4)
=
1 1 1 1
1j1j
11 1 1
1j1j
1
z1
3z2
4z3
= 4W1
1
z1
3z2
4z3
where Wdenotes the DFT matrix. Thus, we have the analysis filter bank given in fig 11.28-1.
(c) The synthesis filter bank in fig. 11.28-2
11.29
H(z) = 3 + 19z2+ 32z3+ 19z43z6
(a)
H(z1) = 3 + 19z2+ 32z3+ 19z43z6
z6H(z1) = 3z6+ 19z4+ 32z3+ 19z23
=H(z)
Therefore, H(z1) and H(z) hve roots that are symmetric, such that if ziis not a root, then
1/ziis also a root. This implies that H(z) has linera phase.
361
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
y (n)
−1
+
z−1
z−1
1
y (n)
y (n)
1
0
IDFT
x(n)
2
3
4−point
4
0
P (z )
4
P (z )
4
P (z )
4
P (z )
4
2
3
y (n)
z
Figure 11.28-1:
y (n)
+
z−1
y (n)
0
+
+
z−1
z−1
DFT
1
y (n)
1
0
P (z )
N
P (z )
N
v(n)
2
3
N
N
P (z )
P (z )
4−point
2
y (n)
3
Figure 11.28-2:
(b) We may express H(z) as:
H(z) = z33z3+ 19z1+ 32 + 19z13z3
Thus, we have the coefficients:
h(2n) = 32, n = 0
0, n 6=
Therefore, H(z) is a half-band filter.
362
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(c)
−4 −3 −2 −1 0 1 2 3 4
0
10
20
30
40
50
60
70
w
|H(w)|
−4 −3 −2 −1 0 1 2 3 4
−10
−5
0
5
10
w
angle(H(w))
Figure 11.29-1:
11.30
H0(z) = 1 + z1
(a)
Pl(z) =
X
n=0
h0(l+ 2n)zn
P0(z) =
X
n=0
h0(2n)zn= 1
P1(z) =
X
n=0
h0(l+ 2n)zn= 1
363
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b)
H1(z) = P0(z2)z1P1(z2)
= 1 z1
x(n) 1
1
z−1
+
+
2
2
Figure 11.30-1: Anaylsis section
(c)
G0(z) = P0(z2) + z1P1(z2) = 1 + z1
G1(z) = P0(z2)z1P1(z)=1 + z1
−1
2
2
1
1
+
+
+
+
1
1
z−1
+
2
2x(n)
^
x(n)
z
Figure 11.30-2: QMF in a polyphase realization
(d) For perfect reconstruction,
Q(z) = 1
2[H0(z)G0(z) + H1(z)G1(z)] = Czk
where Cis a constant. We have
Q(z) = 1
2(1 + z1)2(1 z1)2= 2z1
11.31
(a)
H(z) =
H0(z)
H1(z)
H2(z)
=
1 + z1+z2
1z1+z2
1z2
=P(z3)a(z)
where a(z) =
1
z1
z2
. Then
1 + z1+z2
1z1+z2
1z2
=
P00(z3)P01(z3)P02(z3)
P10(z3)P11(z3)P12(z3)
P20(z3)P21(z3)P22(z3)
1
z1
z2
364
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Clearly, P(z3) =
1 1 1
11 1
1 0 1
(b) The synthesis filters are given as
G(z) = z3Qt(z3)a(z1)
where Q(z) = Czk[P(z)]1. But
[P(z)]1=1
4
1 1 2
22 0
1 1 2
By selecting C= 4 and k= 1, we have
Q(z) = z
1 1 2
22 0
1 1 2
Therefore,
G0(z)
G1(z)
G2(z)
=z2
1 1 2
22 0
1 1 2
1
z1
z2
=
1 + 2z1+z2
12z1+z2
2 + 2z1
(c)
3
P(z) Q(z)
3
z−1
3
3
z−1
+
z−1
z−1
+
x(n)
v(n)
3
3
Figure 11.31-1:
365
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
366
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Chapter 12
12.1
(a)
Γxx(z) = 25
(1 z1+1
2z2)(1 z1+1
2z2)
H(z) = 1
1z1+1
2z2
and σ2
w= 25
so x(n) = x(n1) 1
2x(n2) + w(n)
(b) The whitening filter is H1(z) = 1 z1+1
2z2
12.2
(a) Γxx(z) = 27
2
(11
3z1)(11
3z)
(11
2z1)(11
2z)
For a stable filter, denominator (1 1
2z1) must be chose. However, either numerator factor
may be used. H(z) = (1 1
3z1)
(1 1
2z1)
|{z }
[min.pk.]
or (11
3z)
(11
2z)
(b) Must invert the min. pk. filter to obtain a stable whitening filter.
H1(z) = (1 1
2z1)
(1 1
3z1)
12.3
(a)
H(z) = 1 + 0.9z1
11.6z1+ 0.63z2
whitening filter, H1(z) = 11.6z1+ 0.63z2
1 + 0.9z1
zeros: z= 0.7 and 0.9
pole: z=0.9
367
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b)
Γxx(w) = σ2
wH(w)H(w)
=σ2
w|1 + 0.9ejw|2
|11.6ejw + 0.63e2jw |2
12.4
A(z) = 1 + 13
24z1+5
8z2+1
3z3
k3=1
3
B3(z) = 1
3+5
8z1+13
24z2+z3
k3=1
2
B2(z) = 1
2+3
8z1+z2
A1(z) = A2(z)k2B2(z)
1k2
2
= 1 + 1
4z1
k1=1
4
12.5
A2(z) = 1 + 2z1+1
3z2
B2(z) = 1
3+ 2z1+z2
k2=1
3
A1(z) = A2(z)k2B2(z)
1k2
2
= 1 + 3
2z1
k1=3
2
12.6
(a)
A1(z) = 1 + 1
2z1
B1(z) = 1
2+z1
A2(z) = A1(z) + k2B1(z)z1
368
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
= 1 + 1
3z11
3z2
B2(z) = 1
3+1
3z1+z2
H(z) = A3(z) = A2(z) + k3B2(z)z1
= 1 + z3
The zeros are at z=1, e±jπ
3
Refer to fig 12.6-1
1
Figure 12.6-1:
(b)
If k3=1,we have
H(z) = A3(z) = A2(z)B2(z)z1
= 1 + 2
3z12
3z2z3
The zeros are at z=1,5
6±j11
6
(c) If |kp|= 1, the zeros of H(z) = Ap(z) are on the unit circle. Refer to fig 12.6-2.
369
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
unit circle
Figure 12.6-2:
12.7
A1(z) = 1 + 0.6z1
B1(z) = 0.6 + z1
A2(z) = A1(z) + k2B1(z)z1
= 1 + 0.78z1+ 0.3z2
B2(z) = 0.3 + 0.78z1+z2
A3(z) = A2(z) + 0.52B2(z)z1
= 1 + 0.93z1+ 0.69z2+ 0.5z3
B3(z) = 0.5 + 0.69z1+ 0.93z2+z3
H3(z) = A3(z) + 0.9B3(z)z1
= 1 + 1.38z1+ 1.311z2+ 1.337z3+ 0.9z4
h(n) = 1
,1.38,1.311,1.337,0.9,0,...
12.8
Let y(m) = x(2npm). Then, the backward prediction of x(np) becomes the forward
prediction of y(n). Hence, its linear prediction error filter is just the noise whitening filter of the
corresponding anticausal AR(p) process.
12.9
ˆx(n+m) =
p
X
k=1
ap(k)x(nk)
370
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
e(n) = x(n+m)ˆx(n+m)
=x(n+m) +
p
X
k=1
ap(k)x(nk)
E[e(n)x(nl)] = 0, l = 1,2,...,p
p
X
k=1
ap(k)γxx(kl) = γxx(l+m), l = 1,2, . . . , p
The minimum error is
E{|e(n)|2}=E[e(n)x(n+m)]
=γxx(0) +
p
X
k=1
ap(k)γxx(m+k)
Refer to fig 12.9-1.
x(n+m) +
-
e(n)
z-m-1 forward
linear
predictor
x(n+m)
Figure 12.9-1:
12.10
ˆx(npm) =
p1
X
k=0
bp(k)x(nk)
e(n) = x(npm)ˆx(npm)
=x(npm) +
p1
X
k=0
bp(k)x(nk)
E[e(n)x(nl)] = 0, l = 0,2,...,p1
p1
X
k=0
bp(k)γxx(lk) = γxx(lpm), l = 0,2, . . . , p 1
371
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
The minimum error is
E{|e(n)|2}=E[e(n)x(npm)]
=γxx(0) +
p1
X
k=0
bp(k)γxx(p+mk)
Refer to fig 12.10-1.
x(n) Backward
linear
predictor
x(n-p-m) + -e(n)
x(n-p-m)
z-p-m
Figure 12.10-1:
12.11
The Levinson-Durbin algorithm for the forward filter coefficients is
am(m)km=γxx(m) + γbt
m1am1
Ef
m
am(k) = am1(k) + kma
m1(mk),
k= 1,2,...,m1; m= 1,2,...,p
but bm(k) = a
m(mk), k = 0,2,...,m
or am(k) = b
m(mk)
Therefore, b
m(0) km=γxx(m) + γt
m1b
m1
Eb
m
b
m(mk) = b
m1(m1k) + kmbm1(k)
Equivalently, bm(0) = k
m=γ
xx(m) + γ
m1bt
m1
Eb
m
bm(k) = bm1(k1) + k
mb
m1(mk)
This is the Levinson-Durbin algorithm for the backward filter.
372
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
12.12
Let
bm=bm1
0+dm1
bm(m)
Then, "Γm1γb
m1
γbt
m1γxx(0) #bm=bm1
0+dm1
bm(m)=cm1
cm(m)
Hence,
Γm1bm1+ Γm1dm1+bm(m)γb
m1=cm1
γbt
m1bm1+γbt
m1dm1+bm(m)γxx(0) = cm(m)
But Γm1bm1=cm1
Γm1dm1=bm(m)γb
m1
Hence, dm1=bm(m1
m1γb
m1
Also, Γ1
m1γb
m1=ab
m1
Therefore, bm(m)γbt
m1ab
m1+bm(m)γxx(0) = cm(m)γbt
m1bm1
solving for bm(m),we obtain
bm(m) = cm(m)γbt
m1bm1
γxx(0) + γbt
m1ab
m1
=cm(m)γbt
m1bm1
Ef
m1
we also obtain the recursion
bm(k) = bm1(k) + bm(m)a
m1(mk),
k= 1,2, . . . , m 1
12.13
Equations for the forward linear predictor:
Γmam=cm
where the elements of cmare γxx(l+m), l = 1,2,...,p. The solution of amis
am(m) = cm(m)γbt
m1am1
γxx(0) + γbt
m1ab
m1
=cm(m)γbt
m1am1
Ef
m1
am(k) = am1(k) + am(m)α
m1(mk),
k= 1,2,...,m1; m= 1,2,...,p
where αmis the solution to Γmαm=γm
The coefficients for the m-step backward predictor are bm=ab
m.
373
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
12.14
(a)
ˆx(n) = a1x(n1) a2x(n2) a3x(n3)
But x(n) = 14
24x(n1) + 9
24x(n2) 1
24x(n3) + w(n)
E{[x(n)ˆx(n)]2}is minimized by selecting the coefficients as a1=14
24 , a2=9
24 , a3=1
24
(b)
γxx(m) =
3
X
k=1
akγxx(mk), m > 0
=
p
X
k=1
akγxx(mk) + σ2
w, m = 0
Since we know the {ak}we can solve for γxx(m), m = 0,1,2,3. Then we can obtain γxx(m)
for m > 3, by the above recursion. Thus,
γxx(0) = 4.93
γxx(1) = 4.32
γxx(2) = 4.2
γxx(3) = 3.85
γxx(4) = 3.65
γxx(5) = 3.46
(c)
A3(z) = 1 14
24z19
24z2+1
24z3
k3=1
24
B3(z) = 1
24 9
24z114
24z2+z3
A2(z) = A3(z)k3B3(z)
1k2
3
= 1 0.569z10.351z2
k2=0.351
B2(z) = 0.351 0.569z1+z2
A1(z) = A2(z)k2B2(z)
1k2
2
= 1 0.877z1
k1=0.877
12.15
(a)
Γxx(z) = 4σ2
w
9
(2 z1)(2 z)
(3 z1)(3 z)
=σ2
wH(z)H(z1)
374
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
The minimum-phase system function H(z) is
H(z) = 2
3
2z1
3z1
=4
9
11
2z1
11
3z1
(b) The mixed-phase stable system has a system function
H(z) = 2
3
12z1
3z1
=2
9
12z1
11
3z1
12.16
(a)
A2(z) = 1 2rcosΘz1+r2z2
k2=r2
B2(z) = r22rcosΘz1+z2
A1(z) = A2(z)k2B2(z)
1k2
2
= 1 2rcosΘ
1 + r2z1
Hence, k1=2rcosΘ
1 + r2
(b) As r1, k21 and k1→ −cosΘ
12.17
(a)
a1(1) = 1.25, a2(2) = 1.25, a3(3) = 1
Hence, A3(z) = 1 1.25z1+ 1.25z2z3
First, we determine the reflection coefficients. Clearly, k3=1, whcih implies that the roots
of A3(z) are on the unit circle. We may factor out one root. Thus,
A3(z) = (1 z1)(1 1
4z1+z2)
= (1 z1)(1 αz1)(1 αz1)
where α=1 + j63
8
Hence, the roots of A3(z) are z= 1, α, and α.
(b) The autocorrelation function satisfies the equations
γxx(m) +
3
X
k=1
a3(k)γxx(mk) = σ2
w, m = 0
0,1m3
375
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
γxx(0) γxx(1) γxx(2) γxx(3)
γxx(1) γxx(0) γxx(1) γxx(2)
γxx(2) γxx(1) γxx(0) γxx(1)
γxx(3) γxx(2) γxx(1) γxx(0)
1
1.25
1.25
1
=
σ2
w
0
0
0
(c) Note that since k3=1, the recursion Ef
m=Ef
m1(1 − |km|2) implies that Ef
3= 0. This
implies that the 4x4 correlation matrix Γxx is singular. Since Ef
3= 0, then σ2
w= 0
12.18
γxx(0) = 1
γxx(1) = 0.5
γxx(2) = 0.625
γxx(3) = 0.6875
Use the Levinson-Durbin algorithm
a1(1) = γxx(1)
γxx(0) =1
2
A1(z) = 1 + 1
2z1
k1=1
2
E1= (1 a2
1(1))γxx(0) = 3
4
a2(2) = γxx(2) + a1(1)γxx(1)
E1
=1
2
a2(1) = a1(1) + a2(2)a1(1) = 1
4
Therefore,A2(z) = 1 + 1
4z11
2z2
k2=1
2
E2= (1 a2
2(2))E1=9
16
a3(3) = γxx(3) + a2(1)γxx(2) + a2(2)γxx(1)
E2
=1
2
a3(2) = a2(2) + a3(3)a2(1) = 3
8
a3(1) = a2(1) + a3(3)a2(2) = 0
Therefore,A3(z) = 1 3
8z2+1
2z3
k3=1
2
E3= (1 a2
3(3))E2=27
64
376
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
12.19
(a)
Γxx(z) =
X
−∞
γxx(m)zm
=1
X
−∞
(1
4)mzm+
X
0
(1
4)mzm
=
1
4z
11
4z+1
11
4z1
=
15
16
(1 1
4z)(1 1
4z1)
since Γxx(z) = σ2H(z)H(z1),
H(z) = 0.968
11
4z1
is the minimum-phase solution. The difference equation is
x(n) = 1
4x(n1) + 0.968w(n)
where w(n) is a white noise sequence with zero mean and unit variance.
(b) If we choose
H(z) = 1
11
4z
=z1
z11
4
=4z1
14z1
then, x(n) = 4x(n1) 4×0.968w(n1)
12.20
γxx(0) = 1
γxx(1) = 0
γxx(2) = a2
γxx(3) = 0
a1(1) = γxx(1)
γxx(0) = 0
A1(z) = 1
k1= 0
E1= (1 a2
1(1))γxx(0) = 1
a2(2) = γxx(2) + a1(1)γxx(1)
E1
=a2
a2(1) = a1(1) + a2(2)a1(1) = 0
377
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Therefore,A2(z) = 1 + a2z2
k2=a2
E2= (1 a2
2(2))E1= 1 a4
a3(3) = γxx(3) + a2(1)γxx(2) + a2(2)γxx(1)
E2
= 0
a3(2) = a2(2) + a3(3)a2(1) = a2
a3(1) = a2(1) + a3(3)a2(2) = 0
Therefore,A3(z) = A2(z) = 1 + a2z2
k3= 0
E3=E2= 1 a4
12.21
Ap(z) = Ap1(z) + kpBp1(z)z1
where Bp1(z) is the reverse polynomial of Ap1(z).
For |kp|<1, we have all the roots inside the unit circle as previously shown.
For |kp|= 1, Ap(z) is symmetric, which implies that all the roots are on the unit circle.
For |kp|>1, Ap(z) = As(z) + ǫBp1(z)z1, where As(z) is the symmetric polynomial with all
the roots on the unit circle and Bp1(z) has all the roots outside the unit circle. Therefore, Ap(z)
will have all its roots outside the unit circle.
12.22
Vm=1km
k
m1
VmJVt
m=1km
k
m11 0
011km
k
m1
=1km
k
m11km
k
m1=1− |km|20
0(1 − |km|2)
= (1 − |km|2)1 0
01= (1 − |km|2)J
12.23
(a)
E[fm(n)x(ni)] = E[
m
X
k=0
am(k)x(nk)x(ni)]
= 0,by the orthogonality property
378
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b)
E[gm(n)x(ni)] =
m
X
k=0
a
m(k)E[x(nm+k)x(ni)]
=
m
X
k=0
a
m(k)γxx(km+i)
= 0, i = 0,1,...,m1
(c)
E[fm(n)x(n)] = E{fm(n)[fm(n)
m
X
k=1
am(k)x(nk)]}
=E{|fm(n)|2}
=Em
E[gm(n)x(nm)] = E{gm(n)[gm(n)
m1
X
k=0
bm(k)x(nk)]}
=E{|gm(n)|2}
=Em
(d)
E[fi(n)fj(n)] = E{fi(n)[x(n) +
j
X
k=1
aj(k)x(nk)]}
=E{fi(n)x(n)}
=Ei
=Emax(i, j)
where i > j has been assumed
(e)
E[fi(n)fj(nt)] = E{fi(n)[x(nt) +
j
X
k=1
aj(k)x(ntk)]}
when 0 tij, x(nt1), x(nt2),...,x(ntj) are just a subset of x(n1), x(n
2),...,x(ni) Hence, from the orthogonality principle,
E[fi(n)fj(nt)] = 0
Also, when 1tijholds, via the same method we have
E[fi(n)fj(nt)] = 0
(f)
E[gi(n)gj(nt)] = E{gi(n)[x(ntj) +
j1
X
k=0
bj(k)x(ntk)]}
when 0 tij, {x(nt), x(nt1),...,x(ntj)}is a subset of {x(n),...,x(ni+ 1)}
Hence, from the orthogonality principle,
E[gi(n)gj(nt)] = 0
379
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Also, when 0 tij+ 1 we obtain the same result (g)
for i=j, E{fi(n+i)fj(n+j)}=E{f2
i(n+i)}
=Ei
for i6=j, suppose that i > j. Then
E{fi(n+i)fj(n+j)}=E{fi(n+i)[x(n+j) +
j
X
k=1
aj(k)x(n+jk)]}
= 0
(h)
suppose i > j
E{gi(n+i)gj(n+j)}=E{gi(n+i)[x(n) +
j1
X
k=0
bj(k)x(n+jk)]}
=E[gi(n+i)x(n)]
=Ei
(i)
for ij
E{fi(n)gj(n)}=E{fi(n)[x(nj) +
j1
X
k=0
bj(k)x(nk)]}
=E{fi(n)[bj(0)x(n)]}
=kjE[fi(n)x(n)]
=kjEi
for i < j,
E{fi(n)gj(n)}=E{gj(n)[x(n) +
i
X
k=1
ai(k)x(nk)]}
= 0
(j)
E{fi(n)gi(n1)}=E{fi(n)[x(n1j) +
i1
X
k=0
bi(k)x(n1k)]}
=E[fi(n)x(n1i)]
=E{fi(n)[gi+1(n)
i
X
k=0
bi+1(k)x(nk)]}
=E[fi(n)bi+1(0)x(n)]
=ki+1Ei
(k)
E{gi(n1)x(n)}=E{gi(n1)[fi+1(n)
i+1
X
k=1
ai+1(k)x(nk)]}
=E[gi(n1)ai+1(i+ 1)x(n1i)]
=ki+1Ei
E{fi(n+ 1)x(ni)}=E{fi(n+ 1)[fi(ni)
i
X
k=1
ai(k)x(nik)]}
380
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(l)
suppose i > j
E{fi(n)gj(n1)}=E{fi(n)[x(n1j) +
j1
X
k=0
bj(k)x(n1k)]}
= 0
Now, let ij. then
E{fi(n)gj(n1)}=E{gj(n1)[x(n) +
i
X
k=1
ai(k)x(nk)]}
=E{gj(n1)x(n)}
=kj+1Ejfrom (d)
12.24
(a) E[fm(n)x(ni)] = 0,1im
(b) E[gm(n)x(ni)] = 0,0im1
(c) E[fm(n)x(n)] = E[gm(n)x(nm)] = Em
(d) E[fi(n)f
j(n)] = Emax(i, j)
(e)
E[fi(n)f
j(nt)] = 0,for 1tij, i > j
1tij, i < j
(f)
E[gi(n)g
j(nt)] = 0,for 0tij, i > j
0tij+ 1, i < j
(g)
E[fi(n+i)f
j(n+j)] = Ei, i =j
0, i 6=j
(h) E[gi(n+i)g
j(n+j)] = Emax(i, j)
(i)
E[fi(n)g
i(n)] = k
jEi, i j
0, i < j
(j) E[fi(n)g
i(n1)] = k
i+1Ei
(k) E[gi(n1)x(n)] = k
i+1Ei
(l)
E[fi(n)g
j(n1)] = 0, i < j
k
j+1Ej, i j
12.25
G0=0γxx(1) γxx(2) γxx(3)
γxx(0) γxx(1) γxx(2) γxx(3)
G1=0γxx(1) γxx(2) γxx(3)
0γxx(0) γxx(1) γxx(2)
381
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
k1=γxx(1)
γxx(0) V1=1k1
k
11
V1G1=0 0 γxx(2) + k1γxx(1) γxx(3) + k1γxx(2)
0γxx(0) + k
1γxx(1) γxx(1) + k
1γxx(2) γxx(2) + k
1γxx(3)
G2=0 0 γxx(2) + k1γxx(1) γxx(3) + k1γxx(2)
0 0 γxx(0) + k
1γxx(1) γxx(1) + k
1γxx(2)
Therefore, k2=γxx(2)+k1γxx (1)
γxx(0)+k
1γxx(1) =γxx (0)γxx (2)γ2
xx(1)
γ2
xx(1)γ2
xx(0)
Let,
V2=1k2
k
21
V2G2=0 0 0 A
0 0 k2[γxx(2) + k1γxx(1)] + γxx(0) + k1γxx(1) B
where A=γxx(3) + k1γxx(2) + k1k2γxx(2) + k2γxx(1),and
B=k2γxx(3) + k1k2γxx(2) + k1γxx(2) + γxx(1)
and therefore, G3=000γxx(3) + k1(1 + k2)γxx(2) + k2γxx(1)
000k2γxx(3) + k1(1 + k2)γxx(2) + γxx(1)
and
k3=[γ2
xx(1) γ2
xx(0)]γxx(3) + C
[γxx(0)γxx(2) γ2
xx(1)]γxx(3) γxx(1)γ2
xx(2) + D
where C= 2γxx(0)γxx(1)γxx(2) γxx(1)γ2
xx(2) γ3
xx(1) and
D=γxx(0)γxx(1)γxx(2) + γ3
xx(1) γxx(1)γ2
xx(0)
This is the same result obtained from the Levinson Algorithm.
12.26
The results of section 11.1 apply directly to this problem. We may express Γxx(f) as
Γxx(f) = σ2
w|H(f)|2
where H(f) is a filter with transfer function
H(z) = exp[
X
m=1
v(m)zm]
The prediction error filter whitens the input process, so that the output process is white with
spectral density σ2
w= exp[v(0)]. Therefore, the minimum MSE is
Ef
=Zπ
π
σ2
wdw
=σ2
wZπ
π
dw
382
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
= 2πσ2
w
= 2πev(0)
But v(0) = Z1
2
1
2
lnΓxx(f)df
Therefore, Ef
= 2πexp[Z1
2
1
2
lnΓxx(f)df]
12.27
Γxx(z) = σ2
w
(1 az1)(1 az)
G(z) = 1
1az1
Since d(n) = x(n+m),we have
γdx(k) = E{d(n)x(nk)}
=E{x(n+m)x(nk)}
=γxx(m+k)
Therefore, Γdx(z) = zMΓxx(z)
Γdx(z)
G(z1)+
=zmσ2
w(1 az)
(1 az1)(1 az)+
=σ2
wzm
1az1+
=am
1az1σ2
w
Hopt(z) = 1
σ2
w
(1 az1)am
1az1σ2
w
=am
hopt(n) = amδ(n)
the output is y(n) = hopt(n)x(n)
=amx(m)
MMSE=γxx(0)
X
k=0
hopt(k)γdx(k)
=γxx(0) amγdx(0)
=γxx(0) amγxx(m)
=σ2
w
1a2amamσ2
w
1a2
=1a2m
1a2σ2
w
12.28
(a)
G0=01
2
1
8
1
64
11
2
1
8
1
64
383
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
G1=01
2
1
8
1
64
0 1 1
2
1
8k1=1
2
V1=11
2
1
21
V1G1=0 0 1
83
64
03
4
7
16
15
128
G2=0 0 1
83
64
0 0 3
4
7
16 k2=2
3
V2=12
3
2
31
V2G2=0 0 0 47
192
0 0 2
3
13
32
G3=0 0 0 47
192
0 0 0 2
3k3=47
128
(b)Refer to fig 12.28-1
12.29
Γxx(f) =
X
k=−∞
γxx(k)ej2πf k
Am(f) =
m
X
p=0
am(p)ej2πf p
A
n(f) =
n
X
a=0
a
n(q)ej2πf q
Z1
2
1
2
Γxx(f)Am(f)A
n(f)df =X
kX
pX
q
γxx(k)am(p)a
n(q)Z1
2
1
2
ej2πf (k+p+q)df
=
X
k=−∞
m
X
p=0
n
X
q=0
γxx(k)am(p)a
n(q)δ(qpk)
=
m
X
p=0
n
X
q=0
γxx(qp)am(p)a
n(q)
=X
pX
q
E[x(l+q)x(l+p)]am(p)a
n(q)
384
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+
+ +z-1
+
z-1 +
+
z-1
w(n) x(n)
-47/128 -2/3 1/247/128 2/3 -1/2
Figure 12.28-1:
=E(m
X
p=0
am(p)x(l+p)
n
X
q=0
a
n(q)x(l+p))
=E{fm(l+m)f
n(l+n)}
=Emδmn
where the last step follows from prob. 12.24 property (g)
12.30
A1(z) = 1 + 0.6z1
B1(z) = 0.6 + z1
A2(z) = A1(z) + k2B1(z)z1
= 1 + 0.78z1+ 0.3z2
B2(z) = 0.3 + 0.78z1+z2
A3(z) = A2(z) + k3B2(z)z1
= 1 + 0.93z1+ 0.69z2+ 0.5z3
B3(z) = 0.5 + 0.69z1+ 0.93z2+z3
A4(z) = A3(z) + k4B3(z)z1
= 1 + 1.38z1+ 1.311z2+ 1.337z3+ 0.9z4
H(z) = 1
A4(z)
385
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
12.31
A2(z) = 1 + 0.1z10.72z2
k2=0.72
B2(z) = 0.72 + 0.1z1+z2
A1(z) = A2(z)k2B2(z)
1k2
2
= 1 + 0.357z1
k1= 0.357
B1(z) = 0.357 + z1
A0(z) = B0(z) = 1
C2(z) = β0B0(z) + β1B1(z) + β2B3(z)
=β0+β1(0.357 + z1) + β2(0.72 + 0.1z1+z2)
= 1 0.8z1+ 0.15z2
Hence, β0= 1.399
β1=0.815
β2= 0.15
Refer to fig 12.31-1
+
+ +z-1
+
z-1
+ +
-0.72 0.357
0.15 -0.815 1.399
0.72 -0.357
output
input
Figure 12.31-1:
12.32
Refer to fig 12.32-1 ht(n) mininizes E[e2(n)] (wiener filter) length M= 2 (a)
386
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+ +h+
(n)
s(n)
w(n)
x(n) y(n) -
+
e(n)
d(n)
FIR
Figure 12.32-1:
Γss(w) = σ2
v|H(w)|2
=0.49
|10.8ejw|2
Γss(z) = 0.49
(1 0.8z1)(1 0.8z)
We can either formally invert this z-transform, or use the following idea: The inverse z-
transform of 12.1 will have the form
γss(m) = γss(0)(0.8)|m|
From the AR model for s(n) it is easy to show
γss(0) = 0.8γss(1) + γsv (0)
= 0.8γss(1) + δ2
and γss(1) = 0.8γss(0) + γsv (1)
= 0.8γss(0)
solve for γss(0) = 49
36
so γss(m) = 49
36(4
5)|m|
Now γss(m) = E[x(n)x(nm)]
=E{[s(n) + w(n)][s(nm) + w(nm)]}
=γss(m) + σ2
wδ(m)
=49
36(4
5)|m|+δ(m)
(b)
d(n) = s(n)
γdx(l) = γsx(l) = E[s(n)x(nl)]
=E{s(n)[s(nl) + w(nl)]}
=γss(l)
So the normal equations are
1 + 49
36
49
36
4
5
49
36
4
51 + 49
36 ht(0)
ht(1) =49
36
49
36
4
5
387
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
ht(0) = 0.462, ht(1) = 0.248
(c) ξ= MMSE2=49
36 0.462 x 49
36 0.248 x 49
36 x4
5= 0.462
12.33
Γdx(z) = Γss(z)
=0.49
(1 0.8z1)(1 0.8z)
Γxx(z) = Γss(z) + 1
=1.78(1 0.45z1)(1 0.45z)
(1 0.8z1)(1 0.8z)
G(z) = (1 0.45z1)
(1 0.8z1)
Γdx(z)
G(z1)+
=0.49
(1 0.8z1)(1 0.45z)+
=0.766
10.8z1+0.345z
10.45z+
=0.766
10.8z1
H+
c(z) = 1
1.78
10.8z1
10.45z1
0.766
10.8z1
=0.43
10.45z1
h+
c(n) = 0.43(0.45)nu(n)
ξ+
c= MMSE=1
2πj Ic
ss(z)Hc(zss(z1)]z1dz
=1
2πj Ic
0.28
(z0.45)(1 0.8z)dz
= 0.438
12.34
Using quantities in prob. 12-33,
H+
nc(z) = Γdx(z)
Γxx(z)
=0.275
(1 0.45z1)(1 0.45z)
ξ+
nc = MMSEnc =1
2πj Ic
dd(z)H+
nc(zdx(z1)]z1dz
=1
2πj Ic
0.275
(z0.45)(1 0.45z1)dz
= 0.345
388
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
12.35
γss(m) = (0.6)|m|
2 0.6 0.36
0.6 2 0.6
0.36 0.6 2
h+(0)
h+(1)
h+(2)
=
1
0.6
0.36
h+(0) = 0.455, h+(1) = 0.15, h+(2) = 0.055
ξ3= MMSE3= 1 0.455 0.15 x 0.60.055 x 0.36 = 0.435
Increasing the length of the filter decreases the MMSE.
12.36
γxx(0) γxx(1) γxx(2)
γxx(1) γxx(0) γxx(1)
γxx(2) γxx(1) γxx(0)
1
1
0.6
=
1
0
0
σ2
w
11 0.6
1 1.6 0
0.61 1
γxx(0)
γxx(1)
γxx(2)
=
1
0
0
σ2
w
γxx(0) = 2.5641, γxx(1) = 1.6026, γxx(2) = 0.064
For m3, γxx(m) = γxx(m1) 0.6γxx(m2)
For m < 0, γxx(m) = γxx(m)
12.37
Γss(z) = σ2
v
(1 + Pp
k=1 ap(k)zk)(1 + Pp
k=1 ap(k)zk)
Let ap(0)
= 1
Γss(z) = σ2
v
(Pp
k=0 ap(k)zk)(Pp
k=0 ap(k)zk)
Γss(z) = Γss(z) + σ2
w
=σ2
v+σ2
w(.)(.)
(.)(.)
389
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
x(n)is ARMA(p,p). Suppose
Γxx(z) = (Pp
k=0 bp(k)zk)(Pp
k=0 bp(k)zk)
(Pp
k=0 ap(k)zk)(Pp
k=0 ap(k)zk)
Comparing parameters of the two numerators
σ2
v+σ2
w
p
X
k=0
a2
p(k) = σ2
n
p
X
k=0
b2
p(k)
σ2
w
pq
X
k=0
ap(k)ap(k+q) = σ2
n
pq
X
k=0
bp(k)bp(k+q)q= 1,2,...,p
There are p+1 equations in p+1 unknown parameters σ2
n, bp(1),...,bp(p). Note that bp(0) = 1.
390
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Chapter 13
13.1
E=
N
X
n=0 "y(n) + w(n)
M1
X
k=0
h(k)x(nk)#2
By carrying out the minimization we obtain the set of linear equations:
M1
X
k=0
h(k)rxx(lk) = ryx(l) + rwx(l), l = 0,···, M 1
where,
rwx(l) =
N
X
n=0
w(n)x(nl)
13.2
If we assume the presence of a near-end echo only, the received signal is
rA(t) = AsA(td1) + w(t) = A
X
k=0
a(k)p(td1kTs) + w(t)
The receiver filter eliminates the noise outside the frequency band occupied by the signal and
after sampling at the symbol rate we obtain,
r(n) = A
X
k=0
a(k)p(nTsd1kTs) + w(nTs).
If we assume that the delay d1is a multiple of the symbol time interval, that is, d1=DTs,
then,
r(n) = Aa(nD) + w(n)
The LS criterion minimizes
E=
X
n=0
r(n)
M1
X
k=0
h(k)a(nk)
2
.
The equations for the coefficients of the adaptive echo canceler are
M1
X
k=0
h(k)raa(lk) = rra(l)l= 0,···, M 1
391
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
where,
raa(lk) = X
n
a(nk)a(nl).
rra(l) = X
n
[Aa(nD) + w(n)]a(nl) = Araa(lD) + rwa(l).
13.3
Assume that the sample autocorrelation and crosscorrelation are given by the unbiased estimates:
rvv(k) = 1
N
N1
X
n=0
v(n)v(nk)ryv (k) = 1
N
N1
X
n=0
y(n)v(nk)
Then,
rvv(k) = 1
N
N1
X
n=0
X
l=0
w2(nl)h(l) + w3(n)!
X
p=0
w2(nkp)h(p) + w3(nk)!
=1
N
N1
X
n=0
X
l=0
X
p=0
w2(nl)w2(nkp)h(l)h(p)+
+
X
l=0
w2(nl)w3(nk)h(l) +
X
p=0
h(p)w2(nkp)w3(n) + w3(n)w3(nk)!
Since E[w2(nl)w3(nk)] = 0, we obtain
E[rvv (k)] = 1
N
N1
X
n=0
X
l=0
X
p=0
E[w2(nl)w2(nkp)]h(l)h(p) + E[w3(n)w3(nk)]!
or
E[rvv (k)] =
X
l=0
X
p=0
h(l)h(p)γw2w2(k+pl) + γw3w3(k)
ryv(k) = 1
N
N1
X
n=0
y(n)v(nk)
=1
N
N1
X
n=0
(x(n) + w1(n) + w2(n))
X
l=0
w2(nkl)h(l) + w3(nk)!
=1
N
N1
X
n=0
X
l=0
(x(n) + w1(n) + w2(n))w2(nkl)h(l) +
+1
N
N1
X
n=0
(x(n)w3(nk) + w1(n)w3(nk) + w2(n)w3(nk))
=E[ryv (k)] =
X
l=0
[γxw2(k+l) + γw2w2(k+l)]h(l) + γxw3(k)
Further simplifications are obtained if w1, w2, w3are white and xis uncorrelated with w2.
392
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
13.4
We need to prove that
[1 aH
m(n)]Vm+1(n) = [b+
m(n1) 1]Q
m+1(n) = K
m+1(n)
Vm+1(n) =
n
X
l=0
wnlx(lm1)X
m+1(n) =
n
X
l=0
wnlx(lm1)
x(l)
x(l1)
.
.
.
x(lm)
=
Pn
l=0 wnlx(lm1)x(l)
···
Vm(n1)
=
v
···
Vm(n1)
Thus,
[1 aH
m(n)]Vm+1(n) = [1 QH
m(n)R1
m(n1)]
v
···
Vm(n1)
=vQH
m(n)R1
m(n1)Vm(n1) = v+QH
m(n)bm(n1)
=v+bt
m(n1)Q
m(n)
But,
Qm+1(n) =
n
X
l=0
wnlX(l)X
m+1(l1) =
Qm(n)
···
v
Hence,
[1 aH
m(n)]Vm+1(n) = [bt
m(n1) 1]
Q
m(n)
···
v
= [bt
m(n1) 1]Q
m+1(n)
From the definition of Km+1(n) in (13.3.29) we obtain
[1 aH
m(n)]Vm+1(n) = [bt
m(n1) 1]Q
m+1(n) = K
m+1(n)
13.5
We need to prove that
ξm(n) = ξm(n1) am(n)g
m(n)em+1(n)
Eb
m(n)
By definition
ξm(n) = δm(n)
Eb
m(n)
Use the relations:
δm(n) = wδm(n1) + amg
m(n)em(n)
em+1(n) = em(n)δm(n1)gm(n)
Eb
m(n1)
Eb
m(n) = wEb
m(n1) + am|gm(n)|2
ξm(n) =
wδm(n1) + amg
m(n)em+1(n) + δm(n1)gm(n)
Eb
m(n1)
Eb
m(n)
393
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=δm(n1)(wEb
m(n1) + am(n)|gm(n)|2)
Eb
m(n)Eb
m(n1) am(n)g
m(n)em+1(n)
Eb
m(n)
=δm(n1)
Eb
m(n1) am(n)g
m(n)em+1(n)
Eb
m(n)
=ξm(n1) am(n)g
m(n)em+1(n)
Eb
m(n)
13.6
Km(n) = um(n)
vm(n)=wum(n1) + 2fm1(n)g
m1(n1)
vm(n)=
vm(n)Km(n) = wum(n1) + fm1(n)g
m1(n1) + fm1(n)g
m1(n1)
=wum(n1) + [fm(n) + Km(n)gm1(n1)]g
m1(n1)
+ [g
m(n) + Km(n)f
m1(n)]fm1(n)
=wum(n1) + fm(n)g
m1(n1) + g
m(n)fm1(n)
+Km(n){|g2
m1(n1)|+|f2
m1(n1)|}
Km(n)[vm(n)− |g2
m1(n1)| − |f2
m1(n1)|]
=wum(n1) + fm(n)g
m1(n1) + g
m(n)fm1(n)
=Km(n)wvm(n1) = wum(n1) + fm(n)g
m1(n1) + g
m(n)fm1(n)
Km(n) = Km(n1) + fm(n)g
m1(n1) + g
m(n)fm1(n)
wvm(n1)
13.7
We will derive the FAEST algorithm in Table 13.7 line by line. The alternative Kalman gain is
defined as
˜
Km(n) = 1
wPm(n1)X
m(n)
From (13.2.74)
Km(n) = Pm(n1)X
m(n)
w+Xt
m(n)Pm(n1)X
m(n)=˜
Km(n)
1 + 1
wXt
m(n)Pm(n1)X
m(n)
=˜
Km(n)am(n) (see13.3.57)
Define ˜am(n) = 1/am(n). Then,
˜am(n) = 1 + 1
wXt
m(n)Pm(n1)X
m(n) = 1 + Xt
m(n)˜
Km(n).
FAEST-line 1:
fm1(n) = x(n) + at
m1(n1)Xm1(n1)
FAEST-line 2:
˜
fm1(n, n) = fm1(n)am1(n) = fm1(n)
˜am1(n1).
FAEST-line 3: From (13.3.50)
am(n) = am(n1) Km(n1)fm(n) =
am1(n) = am1(n1) ˜
Km1(n)am1(n1)fm1(n)
=am1(n1) ˜
Km1(n)˜
fm1(n, n)
394
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
FAEST-line 4: From (13.3.83)
Ef
m1(n) = wEf
m1(n1) + am1(n1)fm1(n)f
m1(n)
But am1(n1)f
m1(n) = ˜
f
m1(n, n), thus,
Ef
m1(n) = wEf
m1(n1) + fm1(n)˜
f
m1(n, n)
FAEST-line 5:
˜
Km(n) = 1
wR1
m(n1)X
m(n) and ˜
Km1(n1) = 1
wR1
m1(n2)X
m1(n1)
Use the partition (13.3.32) to write
R1
m(n1) = 0 0
0R1
m1(n2) +1
Ef
m1(n1) 1
am1(n1) [1 aH
m1(n1)].
Thus,
˜
Km(n) = (1
w0 0
0R1
m1(n2) +1
wEf
m1(n1) 1
am1(n1) [1 aH
m1(n1)])
·x(n)
X
m1(n1)
=0
˜
Km1(n1) +f
m1(n)
wEf
m1(n1) 1
am1(n1)
FAEST-line 6: We need to find the update formula for the step ˜
Km+1(n+ 1) ˜
Km(n+ 1).
˜
Km(n) = 1
wPm(n1)X
m(n).
Using partition (13.3.27) we obtain
Pm(n1) = Pm1(n1) 0
0 0 +1
Eb
m1(n1) bm1(n1)
1[bH
m1(n1) 1]
Thus,
˜
Km(n) = 1
wPm1(n1) 0
0 0 X
m1(n)
x(nm+ 1) +1
wEb
m1(n1)
·bm1(n1)
1[bH
m1(n1) 1] ·X
m1(n)
x(nm+ 1)
=˜
Km1(n1)
0+g
m1
wEb
m1(n1) bm1(n1)
1
Write
˜
Km(n) = ˜
Cm1(n)
˜cmm(n)
We identify
˜cmm(n) = g
m1(n)
wEb
m1(n1) =gm1(n) = wEb
m1(n1)˜c
mm(n).
395
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
FAEST-line 7: Using the partition of ˜
Km(n) in step-6 we obtain
˜
Cm1(n) = ˜
Km1(n) + ˜cmm(n)bm1(n1) =˜
Km1(n) = ˜
Cm1(n)˜cmm(n)bm1(n1)
FAEST-line 8: From (13.3.91)
am(n) = am1(n1) "1f
m1(n, n)fm1(n)
Ef
m1(n)#
But, am(n) = 1/˜am(n) and fm1(n) = ˜
fm1(n, nam1(n1). Thus,
˜am(n) = ˜am1(n1) ·Ef
m1(n)
Ef
m1(n)am1(n1)|fm1(n)|2
= ˜am1(n1) ·wEf
m1(n1) + |fm1(n)|2/˜am1(n1)
wEf
m1(n)
= ˜am1(n1) "1 + 1
˜am1(n1) |fm1(n)|2
wEf
m1(n)#
= ˜am1(n1) + |fm1(n)|2
wEf
m1(n)
FAEST-line 9: ˜am(n) = 1 + ˜
Kt
m(n)Xm(n).If we use the partition of step-6 then
˜am(n) = 1 + [ ˜
Kt
m1(n) 0]Xm(n) + g
m1(n)
wEb
m1(n1)[bt
m1(n1) 1]Xm(n)
= ˜am1(n) + ˜cmm(n)gm1(n) =
˜am1(n) = ˜am(n)˜cmm(n)gm1(n)
FAEST-line 10: From (13.3.61)
˜gm1(n, n) = gm1(n)am1(n) = gm1(n)
˜am1(n)
FAEST-line 11: From (13.3.84)
Eb
m(n) = wEb
m(n1) + am(n)g
m(n)gm(n).
But, gm(n)am(n) = ˜gm(n, n), so that,
Eb
m(n) = wEb
m(n1) + g
m(n)˜gm(n, n) = wEb
m(n1) + gm(n)˜g
m(n, n)
FAEST-line 12: The time-update of bm(n) is given by (13.3.51)
bm(n) = bm(n1) Km(n)gm(n)
But, Km(n) = ˜
Km(n)am(n) and am(n)gm(n) = ˜gm(n, n), so that
bm(n) = bm(n1) ˜
Km(n)˜gm(n, n)
FAEST-line 13: By definition eM(n) = d(n)ht
m(n1)Xm(n)
FAEST-line 14,15: From (13.2.76)
hm(n) = hm(n1) + Km(n)em(n) = hm(n1) + ˜
Km(n)am(n)em(n)
=hm(n1) + ˜
Km(n)˜em(n, n)
where,
˜em(n, n) = am(n)em(n) = em(n)
˜am(n)
396
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
13.8
hm(n+ 1) = whm(n) + e(n)X
m(n)
where
e(n) = d(n)hT
m(n)Xm(n).
Thus,
hm(n+ 1) = whm(n) + (d(n)hT
m(n)Xm(n))X
m(n)
=whm(n) + d(n)X
m(n)− △X
m(n)Xt
m(n)hm(n)
=E[hm(n+ 1)] = (wI − △Rm)E[hm(n)] + rm
where,
Rm=E[X
m(n)Xt
m(n)], rm=E[d(n)X
m(n)].
Since Rmis Hermitian, it assumes the decomposition Rm=UΛUH, where Λ is a diagonal matrix
with elements λk, 0 km1, the eigenvalues of Rm, and Uis a normalized modal matrix
such that UUH=I.
Thus,
E[hm(n+ 1)] = U[wI − △Λ]UHE[hm(n)] + rm.
Premultiplying the above by UHwe obtain
h0
m(n+ 1) = [wI − △Λ]h0
m(n) + r0
m
where h0
m(n+ 1) = UHE[hm(n+ 1)], r0
m=UHrm. The values of that ensure convergence of
the mean of the coefficient vector should satisfy
|w− △λk|<1, k = 0,···, m 1
or 1w
λk
<<1 + w
λk
, k = 0,···, m 1
or 1w
λmin
<<1 + w
λmax
.
13.9
ε(n) = |e(n)|2+ckhM(n)k2
=d(n)XT
M(n)hM(n)hd(n)hH
M(n)X
M(n)i+chH
M(n)hM(n)
=|d(n)|22Re hhH
M(n)X
M(n)id(n) + hH
M(n)X
M(n)XT
M(n)hM(n) + chH
M(n)hM(n)
The complex gradient vector is ε(n)/∂hH
M:
ε(n)
hH
M
=X
M(n)d(n) + X
M(n)XT
M(n)hM(n) + chM(n)
=X
M(n)d(n) + XT
M(n)hM(n)+chM(n)
=e(n)X
M(n) + chM(n)
397
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Then, in the steepest-descent method, we update the coeficient vector as follows:
hM(n+ 1) = hM(n)ε(n)
hH
M
=hM(n) + ∆ [e(n)X
M(n)chM(n)]
= (1 c)hM(n) + ∆e(n)X
M(n)
13.10
The normalized LMS algorithm is given as:
hM(n+ 1) = hM(n) +
kX(n)k2X
M(n)e(n)
DEfine the error vector ε(n) as
ε(n) = hopt(n)hM(n)
Also, define the mean square derivation of the error vector as
J(n) = Ekε(n)k2
Then,
J(n+ 1) = Ekε(n)
kX(n)k2X
M(n)e(n)k2
=J(n)2∆E(Re εH(n)X(n)e(n)
kX(n)k2)+ ∆2E|e(n)|2
kX(n)k2
Hence,
J(n+ 1) J(n) = ∆2|e(n)|2
kX(n)k22∆E(Re εH(n)X(n)e(n)
kX(n)k2)
We observe that the mean square derivation decreases exponentially with an increase in n, pro-
vided that
0<<
ERe[εH(n)X(n)e(n)]
kX(n)k2
Eh|e(n)|2
kX(n)k2i
Approximation:
E|e(n)|2
kX(n)k2E|e(n)|2
E[kX(n)k2]
and
E(Re εH(n)X(n)e(n)
kX(n)k2)ERe εH(n)X(n)e(n)
E[kX(n)k2]
With the approximations, we obtain
0<<Re εH(n)X(n)e(n)
E[|e(n)|2]
398
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
13.11
We can reduce the number of computations needed by m1 multiplications if we avoid the
update of the Kalman gain
Km1(n) = xCm1(n)ybm1(n1).
If we use the alternative Kalman gain this step takes the form
˜
Km1(n) = ˜
Cm1(n)ybm1(n1).
As in the a-priori case, the update of the alternative Kalman gain vector ˜
Km(n), is carried out
in two steps,
˜
Km(n)
stepup
˜
Km+1(n+ 1)
stepdown
˜
Km(n+ 1)
using the following Levinson-type recursions:
˜
Km(n) = 0
˜
Km1(n1) +f
m1
wEf
m1(n1) 1
am1(n1) (step 5ofprob.13 8)
and
˜
Km(n) = ˜
Km1(n)
0+g
m1
wEb
m1(n1) bm1(n1)
1(step 6ofprob.13 8)
With ˜
Km(n) we associate the scalar ˜am(n)
˜am(n) = 1
am(n)= 1 + X
m(n)˜
Km(n).
This parameter is updated as (see prob. 13.8)
˜am(n) = ˜am1(n1) + |fm1(n)|2
wEf
m1(n)
˜am1(n1) = ˜am(n)gm1(n)˜cmm(n).
FAST RLS algorithm: Version A (a-posteriori version)
fm1(n) = x(n) + at
m1(n1)Xm1(n1)
gm1(n) = x(nM+ 1) + bt
m1(n1)Xm1(n1)
am1(n) = am1(n1) ˜
Km1(n1) fm1(n)
˜am1(n1)
fm1(n, n) = x(n) + at
m1(n1)Xm1(n1)
Ef
m1(n) = wEf
m1(n1) + fm1(n)f
m1(n, n)
˜
Km(n) = ˜
Cm1(n)
˜cmm(n)=0
˜
Km1(n1) +f
m1(n)
wEf
m1(n1) 1
am1(n1)
˜
Km1(n) = ˜
Cm1(n)bm1(n1)˜cmm(n)
˜am(n) = ˜am1(n1) + |fm1(n)|2
wEf
m1(n1)
˜am1(n) = ˜am(n)gm1(n)˜cmm(n)
bm1(n) = bm1(n1) ˜
Km1(n1) gm1(n)
˜am1(n)
399
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
ˆ
d(n) = ht
m(n1)Xm(n)
em(n) = d(n)ˆ
d(n)
hm(n) = hm(n1) + ˜
Km(n)em(n)
˜am(n)
Initialization:
am1(1) = bm1(1) = 0,˜
Km1(1) = 0, hm1(1) = 0, Ef
m1(1) = E>0.
In this version we need 5 extra multiplications for the calculation of fm1(n)
˜am1(n1) ,|fm1(n)|2
wEf
m1(n1) ,
gm1(ncmm(n), gm1(n)
˜am1(n1) ,em(n)
˜am(n)and we save mmultiplications from the estimation of ˜
Km1(n).
FAST RLS algorithm: Version B (a-posteriori version)
fm1(n) = x(n) + at
m1(n1)Xm1(n1)
gm1(n) = x(nM+ 1) + bt
m1(n1)Xm1(n)
am1(n) = am1(n1) ˜
Km1(n1) fm1(n)
˜am1(n1)
˜
fm1(n, n) = fm1(n)
˜am1(n1)
Ef
m1(n) = wEf
m1(n1) + |fm1(n)|2
˜am1(n1)
˜
Km(n) = ˜
Cm1(n)
˜cmm(n)=0
˜
Km1(n1) +f
m1(n)
wEf
m1(n1) 1
am1(n1)
˜
Km1(n) = ˜
Cm1(n)bm1(n1)˜cmm(n)
˜am(n) = ˜am1(n1) + |fm1(n)|2
wEf
m1(n1)
˜am1(n) = ˜am(n)gm1(n)˜cmm(n)
bm1(n) = bm1(n1) ˜
Km1(n1) gm1(n)
˜am1(n)
ˆ
d(n) = ht
m(n1)Xm(n)
em(n) = d(n)ˆ
d(n)
hm(n) = hm(n1) + ˜
Km(n)em(n)
˜am(n)
Initialization:
am1(1) = bm1(1) = 0,˜
Km1(1) = 0, hm1(1) = 0, Ef
m1(1) = E>0,˜am1(1) = 1.
In this version we need 3 extra multiplications for the calculation of fm1(n)
˜am1(n1) ,gm1(n)
˜am1(n1) ,em(n)
˜am(n)
and we save mmultiplications from the estimation of ˜
Km1(n).
13.12
E=E
g
M1
X
n=0
h(n)x(n)!2
400
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
E
h(k)= 0 =E"2 g
M1
X
n=0
h(n)x(n)!x(k)#= 0, k = 0,···, M 1.
Thus,
E[gx(k)] = E"M1
X
n=0
h(n)x(n)x(k)#, k = 0,···, M 1.
E[gx(k)] = E[g(gv(k) + w(k))] = E[g2]v(k) + E[gw(k)]
=Gv(k) (ifg, w(k)areuncorrelated)
E"M1
X
n=0
h(n)x(n)x(k)#=
M1
X
n=0
h(n)E[x(n)x(k)]
=
M1
X
n=0
h(n)E[(gv(n) + w(n))(gv(k) + w(k))]
=
M1
X
n=0
h(n)E[g2v(n)v(k) + gv(n)w(k) + gv(k)w(n) + w(n)w(k)]
=G
M1
X
n=0
h(n)v(k)v(n) + σ2
wh(k)
Hence,
Gv(k) = Gv(k)
M1
X
n=0
h(n)v(n) + σ2
wh(k)
or
(GvvT+σ2
wI)h=Gv
where
v= [v(0),···, v(M1)]T,h= [h(0),···, h(M1)]T.
13.13
Let
H(z) =
M1
X
k=0
hkzkand Hn=H(z=ej2πn/M ) =
M1
X
k=0
hkej2πnk/M .
The sequence {hk}is related to the sequence {Hn}by the inverse discrete Fourier transform
hk=1
M
M1
X
n=0
Hnej2πn/M , k = 0,···, M 1.
When hk, given above is substituted in the expression for H(z) the double sum that results can
be simplified to yield
H(z) = 1zM
M
M1
X
k=0
Hk
1ej2πk/M z1.
The filter structure is shown in Fig. 13.13-1.
1. Let yk(n) be the output at time t=nT of the filter with transfer function
1zM
M
1
1ej2πk/M z1.
401
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
1 − z−1
1 − z−M
1 − z−1
H0
y0X
yM−1
HM−1
H1
y1
d(n)
^
1
1
1
M
1 − z−1
ej2πX
X
++
+
d(n)
e(n)
(M−1)
ej2π/M
/M
Figure 13.13-1:
Then the response of the recursive filter at t=nT is
ˆ
d(n) =
M1
X
k=0
Hk(n)yk(n).
where {Hk(n)}are the filter coefficients at t=nT . If e(n) = dˆ
d(n) then, an algorithm
for adjusting the coefficients Hk(n) is given by
Hk(n+ 1) = Hk(n) + e(n)yk(n)k= 0,···, M 1.
2. The cascade of the comb filter 1zM
Mwith each of the single-pole filter forms a system
with frequency response
Hk(f) = 1ej2πf/M
M(1 ej2π(k/Mf)).
Thus,
|Hk(f)|=1
M
ej2πM f
ej2π(k/Mf)·
ej2πM f ej2πM f
ej2π(k/Mf)ej2π(k/Mf)
=1
M
2jsin(πMf)
2jsin(π(k/M f)) =1
M
sin(πMf)
sin(π(k/M f)) .
We observe that |Hk(f)|= 0 at the frequencies f=n/M ,n6=kand |Hk(f)|= 1 at
f=k/M .
Thus, the kth system has a resonant frequency at f=k/M, and it is zero at the resonant
frequencies of all the other systems. This means that if the desired signal is
d(n) =
M1
X
k=0
Akcos(ωkn), ωk=2πk
M,
the coefficient of each single-pole filter can be adjusted independently without any interac-
tion from the other filters.
402
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
13.14
J
h(n)= 2h(n)40
Thus,
h(n+ 1) = h(n)− △h(n) + 20=h(n)(1 − △) + 20.
1. For an overdamped system,
|1− △| <1 =0<<2.
2. Fig. 13.14-1 contains a plot of J(n) vs. n. The step was set to 0.5 and the initial value
of hwas set to 0. In Fig. 13.14-2 we have plotted J(h(n)) vs. h(n). As it is observed from
the figures the minimum value of Jwhich is 372, is reached within 5 iterations of the
algorithm.
0 5 10 15 20 25 30 35 40 45 50
−400
−350
−300
−250
−200
−150
−100
−50
0
50
n
J(n)
Figure 13.14-1:
13.15
Normal Equations:
M1
X
k=0
a(k)rvv (lk) = ryv (l)l= 0,1,···, M 1
403
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 2 4 6 8 10 12 14 16 18 20
−400
−350
−300
−250
−200
−150
−100
−50
0
50
h(n)
J(h(n))
Figure 13.14-2:
rvv(lk) = rw3w3(lk) + rv2v2(lk)
Power spectral density of v2(n):
Γv2v2(f) = σ2
w|H(f)|2=σ2
w
1
|10.5ej2πf |2=σ2
w
0.75
0.75
1.25 cos(2πf).
Thus,
rv2v2(m) = σ2
w
0.75(0.5)|m|.
Hence,
rvv(lk) = σ2
wδ(lk) + σ2
w
0.75(0.5)|lk|.
Assuming that x(n), w1(n), w2(n), w3(n) are mutually uncorrelated, it follows that
E[y(n)v(nl)] = E[w2v2(nl)] = E"w2
X
k=0
h(k)w2(nlk)#,
where h(k) = 0.5k. Thus,
E[y(n)v(nl)] =
X
k=0
h(k)E[w2(n)w2(nlk)] =
X
k=0
h(k)σ2
wδ(l+k) = σ2
wδ(l).
404
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
+ + e(n)
y(n)=x(n) + w (n) + w (n)
w (n)
2v(n) A(z)
w (n)
v (n)
2
3
1
1−0.5 z−1
1 2
Figure 13.15-1:
The normal equations take the form
σ2
w+σ2
w
0.75
0.5σ2
w
0.75
0.25σ2
w
0.75
0.5σ2
w
0.75 σ2
w+σ2
w
0.75
0.5σ2
w
0.75
0.25σ2
w
0.75
0.5σ2
w
0.75 σ2
w+σ2
w
0.75
a(0)
a(1)
a(2)
=
σ2
w
0
0
=a(0) = 15
32, a(1) = 4
32, a(2) = 1
32.
13.16
e(n) = x(n)a1x(n1) a2x(n2)
E=E[e2(n)] =
E
a1
=E[(x(n)a1x(n1) a2x(n2))x(n1)] = 0
E
a2
=E[(x(n)a1x(n1) a2x(n2))x(n2)] = 0
=E[x(n)x(n1)] a1E[x(n1)x(n1)] a2E[x(n2)x(n1)] = 0
E[x(n)x(n2)] a1E[x(n1)x(n2)] a2E[x(n2)x(n2)] = 0
But,
E[x(n)x(n1)] = E[x(n2)x(n1)] = a
E[x(n1)x(n1)] = E[x(n2)x(n2)] = 1
E[x(n)x(n2)] = a2
Thus, we obtain the system
1a
a1a1
a2=a
a2
with solution a1=a,a2= 0.
405
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
13.17
The optimum linear predictor in Prob. 13.16 is a first order filter with transfer function
A(z) = 1 az1.
Thus, the corresponding lattice has one stage with the forward and backward errors given by
f(n) = f0(n) + Kb0(n1) b(n) = b0(n1) + Kf0(n)
Since f0(n) = b0(n) = x(n), we obtain
f(n) = x(n) + Kx(n1) b(n) = x(n1) + Kx(n).
Comparing with the prediction error:
e(n) = x(n)ax(n1)
we identify Kas a.
z −1
+
+
x(n) −a
−a
f(n)=e(n)
g(n)
Figure 13.17-1:
13.18
1
X
k=0
bkryy(lk) = rdy (l) = rxy (l), l = 0,1
where y(n) is the input of the adaptive FIR filter B(z)
ryy(lk) = rss(lk) + rww(lk) = rss(lk) + σ2
wδ(lk)
where s(n) is the output of the system C(z).
If x(n) is white with variance σ2
xthen,
rss(lk) = σ2
x
10.92(0.9)|lk|=σ2
x
10.19(0.9)|lk|
rxy(l) = E[x(n)y(nl)] = E[x(n)(s(nl) + w(nl))].
If x(n) and w(n) are uncorrelated then,
rxy(l) = E[x(n)s(nl)] = σ2
xδ(l).
406
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Thus, we obtain the system:
σ2
x
0.19 +σ2
wσ2
x
0.19 (0.9)
σ2
x
0.19 (0.9) σ2
x
0.19 +σ2
w
b0
b1=σ2
x
0.
With σ2
xand σ2
wknown, we can determine b0, b1.
13.19
(a)
fm(n) = fm1(n)kmgm1(n1)
gm(n) = gm1(n1) k
mfm1(n)
εLS
m=
n
X
l=0
wnlh|fm(l)|2+|gm(l)|2i
LS
m
dk
m
=2
n
X
l=0
wnlg
m1(l1)fm(l) + fm1(l)g
m(l)= 0
n
X
l=0
wnlg
m1(l1) [fm1(l)kmgm1(l1)] + fm1(l)g
m1(l1) kmfm1(l)
Solving for kM, we obtain
km(n) = 2Pn
l=0 wnlfm1(l)g
m1(l1)
Pn
l=0 wnlh|fm1(l)|2+|gm1(l1)|2i=um(n)
vm(n)
(b)
km(n) = wum(n1) + 2fm1(n)g
m1(n1)
wvm(n1) + |fm1(n)|2+|gm1(n1)|2
fm1(n)gm1(n1) = fm1(n)g
m(n) + km(n)f
m1(n)
=fm1(n)g
m(n) + km(n)|fm1(n)|2
fm1(n)gm1(n1) = gm1(n) [fm(n) + km(n)gm1(n1)]
=gm1(n1)fm(n) + km(n)|gm1(n1)|2
Therefore,
2fm1(n)g
m1(n1) = km(n)h|fm1(n)|2+|gm1(n)|2i+z(n)
where
z(n) = fm1(n)gm(n) + fm(n)g
m1(n1)
Now,
2fm1(n)g
m1(n1) = z(n) + km(n)hwvm(n) + |fm1(n)|2+|gm1(n)|2i
km(n)wvm(n1)
=z(n) + km(n)vm(n)km(n)wvm(n1)
407
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Then,
2
n1
X
l=0
wnlfm1(l)g
m1(l1) + 2fm1(n)g
m1(n1) = wum(n1)
+z(n) + km(n)vm(n)
km(n)wvm(n1)
But km(n) = um(n)/vm(n). Therefore,
km(n)wm(n) = z(n) + wum(n1) + km(n)vm(n)kmwvm(n1)
and, then
km(n) = wum(n1)
wvm(n1) +z(n)
wvm(n1)
km(n) = km(n1) + z(n)
wvm(n1)
408
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Chapter 14
14.1
(a)
limT0→∞E"1
2T0|ZT0
T0
x(t)ej2πF tdt|2#
= limT0→∞E"1
2T0ZT0
T0
x(t)ej2πF tdt ZT0
T0
x(τ)ej2πF τ #
= limT0→∞
1
2T0ZT0
T0ZT0
T0
E[x(t)x(τ)]ej2πF (tτ)dtdτ
= limT0→∞
1
2T0ZT0
T0ZT0
T0
γxx(tτ)ej2πF (tτ)dtdτ
= limT0→∞
1
2T0Zt+T0
tT0ZT0
T0
γxx(α)ej2πF (α)dtdα
=Z
−∞
γxx(α)ej2πF (α)
=γxx(F)
(b)
γxx(m) = 1
N
N1
X
n=0
x(n+m)x(n)
N
X
m=N
γxx(m)ej2πf m =
N
X
m=N
1
N
N1
X
n=0
x(n+m)x(n)ej2πf m
=
N1
X
n=0
1
N
n+N
X
l=nN
x(l)x(n)ej2πf (ln)
=1
N
N1
X
n=0
N1
X
l=0
x(l)x(n)ej2πf lej2πf n
=1
N|
N1
X
n=0
x(n)ej2πf n|2
409
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
14.2
E[|γxx(m)|2] = 1
N2
N−|m|−1
X
n=0
N−|m|−1
X
n=0
E[x(n)x(n+m)x(n)x(n+m)]
=1
N2X
nX
n{E[x(n)x(n+m)]E[x(n)x(n+m)]
+E[x(n)x(n)]E[x(n+m)x(n+m)]
+E[x(n)x(n+m)]E[x(n)x(n+m)]}
=1
N2X
nX
n
[γ2
xx(m) + γ2
xx(nn)
+γ
xx(n+mn)γxx(n+mn)]
Let p=nn.Then
E[|γxx(m)|2] = γ2
xx(m)N− |m|
N2
+1
N2X
nX
p
[γ2
xx(p)γ
xx(pm)γxx(p+m)]
=|E[γxx(m)]|2+1
N2X
nX
p
[γ2
xx(p)γ
xx(pm)γxx(p+m)]
Therefore,
var[γxx(m)] = 1
N2X
nX
p
[γ2
xx(p)γ
xx(pm)γxx(p+m)]
1
N
X
p=−∞
[γ2
xx(p)γ
xx(pm)γxx(p+m)]
14.3
(a)
E[γxx(m)γ
xx(m)] = E
1
N
N−|m|−1
X
n=0
x(n)x(n+m).
1
N
N−|m|−1
X
n=0
x(n)x(n+m)
=1
N2X
nX
n
E{x(n)x(n+m)x(n)x(n+m)}
=1
N2X
nX
n{E[x(n)x(n+m)]E[x(n)x(n+m)]
+E[x(n)x(n)]E[x(n+m)x(n+m)]
+E[x(n)x(n+m)]E[x(n)x(n+m)]}
=σ4
x
N2X
nX
n
[δ(m)δ(m) + δ(nn)δ(mm)
+δ(n+mn)δ(n+mn)]
Hence, E[pxx(f1)pxx(f2)] =
N1
X
m=(N1)
N1
X
m=(N1)
E[γxx(m)γxx(m)]ej2πmf1ej2πmf2
410
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
=σ4
x
N2X
mX
mX
nX
n
[δ(m)δ(m) + δ(nn)δ(mm)
+δ(n+mn)δ(n+mn)]ej2πmf1ej2πmf2
=σ4
x(1 + sinπ(f1+f2)N
Nsinπ(f1+f2)2
+sinπ(f1f2)N
Nsinπ(f1f2)2)
(b)
cov[pxx(f1)pxx(f2)] = E[pxx(f1)pxx(f2)] E[pxx(f1)]E[pxx(f2)]
=E[pxx(f1)pxx(f2)] σ4
x
=σ4
x(sinπ(f1+f2)N
Nsinπ(f1+f2)2
+sinπ(f1f2)N
Nsinπ(f1f2)2)
(c)
var[pxx(f)] = cov[pxx(f1)pxx(f2)]|f1=f2=f
=σ4
x"1 + sin2πfN
Nsin2πf 2#
14.4
Assume that x(n) is the output of a linear system excited by white noise input w(n), where
σ2
x= 1. Then pxx(f) = Γxx(f)pww(f). From prob. 12.3, (a), (b) and (c), we have
E[pxx(f1)pxx(f2)] = Γxx(f1xx(f2)E[pww (f1)pww(f2)]
= Γxx(f1xx(f2)(1 + sinπ(f1+f2)N
Nsinπ(f1+f2)2
+sinπ(f1f2)N
Nsinπ(f1f2)2)
cov[pxx(f1)pxx(f2)] = Γxx(f1xx(f2)cov[pww(f1)pww(f2)]
= Γxx(f1xx(f2)(sinπ(f1+f2)N
Nsinπ(f1+f2)2
+sinπ(f1f2)N
Nsinπ(f1f2)2)
var[pxx(f)] = cov[pxx(f1)pxx(f2)]|f1=f2=f
= Γf
xx "1 + sin2πfN
Nsin2πf 2#
14.5
Let yk(n) = x(n)hk(n)
=
N1
X
m=0
x(m)ej2πk(nm)
N
=ej2πkn
N
N1
X
m=0
x(m)ej2πkm
N
yk(n)|n=N=
N1
X
m=0
x(m)ej2πkm
N
=X(k)
411
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Note that this is just the Goertzel algorithm for computing the DFT. Then,
|yk(n)|2=|X(k)|2=|
N1
X
m=0
x(m)ej2πkm
N|2
14.6
From (14.2.18) we have
W(f) = 1
MU |
M1
X
n=0
w(n)ej2πf n|2
=1
MU
M1
X
n=0
M1
X
n=0
w(n)w(n)ej2πf (nn)
Z1
2
1
2
W(f)df =1
MU X
nX
n
w(n)w(n)Z1
2
1
2
ej2πf (nn)df
=1
MU X
nX
n
w(n)w(n)δ(nn)
=1
U"1
M
M1
X
n=0 |w(n)|2#= 1
by the definition of U in (14.2.12)
14.7
(a) (1) Divide x(n) into subsequences of length M
2and overlapped by 50% to produce 4ksubse-
quences. Each subsequence is padded with M
2zeros.
(2) Compute the M-point DFT of each frame or subsequence.
(3) Compute the magnitude square of each DFT.
(4) Average the 4kM-point DFT’s.
(5) Perform the IDFT to obtain an estimate of the autocorrelation sequence.
(b)
X3(k) =
M1
X
m=0
x3(m)ej2πkm
M
=
M
21
X
m=0
x1(m)ej2πkm
M+
M1
X
m=M
2
x2(mM
2)ej2πkm
M
=
M1
X
m=0
x1(m)ej2πkm
M+ejπk
M1
X
m=0
x2(m)ej2πkm
M
X3(k) = X1(k) + ejπkX2(k)
(c) Instead of zero-padding, we can combine two subsequences to produce a single M-point
subsequence and thus reduce the number of sequences form 4kto 2k. Then, we use the relation
in (b) for the DFT.
412
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
14.8
(a) Obviously, f= 0.01. From (12.2.52), M=0.9
f= 90.
(b) From (14.2.53), the quality factor is QB= 1.1Nf. This expression does not depend on M;
hence, there is no advantage to increasing the value of Mbeyond 90.
14.9
(a) From table 14.1, we have
QB= 1.11Nf
⇒ △f=QB
1.11N=1
111
Qw= 1.39Nf
⇒ △f=Qw
1.39N=1
139
QBT = 2.34Nf
⇒ △f=QBT
2.34N=1
234
(b)
For the Bartlett estimate,
QB=N
M
M=N
QB
= 100
For the Welch estimate with 50% overlap,
Qw=16N
M
M=16N
Qw
= 178
For the Blackman-Tukey estimate,
QBT =1.5N
M
M=1.5N
QBT
= 150
14.10
(a) Suppose P(i)
B(f) is the periodogram based on the Bartlett method. Then,
P(i)
B(f) = 1
M|
M1
X
n=0
xi(m)ej2πf n|2, i = 0,1,...,k1
P(0)
xx (f) = 0
P(1)
xx (f) = 1w
M|
M1
X
n=0
x1(m)ej2πf n|2
= (1 w)P(1)
B(f)
P(2)
xx (f) = wP (1)
xx (f) + (1 w)P(1)
B(f)
413
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
= (1 w)[wP (1)
B(f) + P(2)
B(f)]
P(m)
xx (f) = (1 w)X
k=1
mwmkP(k)
B(f)
Therefore, E{P(M)
xx (f)}= (1 w)X
k=1
MwmkE[P(k)
B(f)]
= (1 w)1wM
1w
1
MZ1
2
1
2
Γxx(α)sinπ(fα)M
sinπ(fα)2
= (1 wM)1
MZ1
2
1
2
Γxx(α)sinπ(fα)M
sinπ(fα)2
var{P(M)
xx (f)}=E{[P(M)
xx (f)]2} − [E{P(M)
xx (f)}]2
var{P(M)
xx (f)}=E{[(1 w)X
k=1
MwmkP(k)
B(f)]2}
−{E[(1 w)X
k=1
MwmkP(k)
B(f)]}2
= (1 w)2"X
k=1
Mw2(Mk)E{P(k)
B(f)}2− {E[P(k)
B(f)]}2#
= (1 w)2X
k=1
Mw2(Mk)var[P(k)
B(f)]
= (1 w)21w2M
1w2Γ2
xx(f)"1 + sin2πfM
Msin2πf 2#
= (1 w2w)1w
1 + wΓ2
xx(f)"1 + sin2πfM
Msin2πf 2#
(b)
E{P(M)
xx (f)}=E{P(w)
xx (f)}
=Z1
2
1
2
Γxx(α)W(fα)
where W(f) = 1
MU |
M1
X
n=0
w(n)ej2πf n|2
var[P(M)
xx (f)] = (1 w)2
M
X
k=1
w2(Mk)var[ ˜
P(i)
xx (f)]
= (1 w2M)1w
1 + wΓ2
xx(f)
14.11
Let R(i)
xx be defined as follows:
R(i)
xx =1
M
r(i)
xx(0) r(i)
xx(1) ...
r(i)
xx(1) r(i)
xx(0) ...
...
r(i)
xx(0)
414
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Then,
Et(f)R(i)
xxE(f) =
M1
X
k=0
M1
X
k=0
1
Mr(i)
xx(kk)ej2π(kk)f
=1
M
M1
X
k=0 X
m=k(M1)
r(i)
xx(m)ej2πmf
=
(M1)
X
(M1)
(M|m|)
Mr(i)
xx(m)ej2πmf
=P(i)
xx (f)
Therefore, P(B)
xx (f) = 1
K
K
X
k=1
Et(f)R(k)
xx E(f)
14.12
To prove the recursive relation in (12.3.19) we make use of the following relations:
ˆ
Em=
N1
X
n=m
[|fm(n)|2+|gm(n1)|2] (1)
where fm(n) = fm1(n) + kmgm1(n1)
gm(n) = ˆ
k
mfm1(n) + gm1(n1) (2)
and ˆ
Em1=
N1
X
n=m1
[|fm1(n)|2+|gm1(n1)|2]
=|fm1(m1)|2+|gm1(m2)|2
+
N1
X
n=m
[|fm1(n)|2+|gm1(n1)|2]
Also,
N1
X
n=m
[fm1(n) + g
m1(n1)] = 1
2ˆ
kmˆ
Em1
We substitute for fm(n) and gm(n1) from (2) into (1), and we expand the expressions. Then,
use the relations for ˆ
Em1and ˆ
kmto reduce the result.
14.13
x(n) = 1
2x(n1) + w(n)w(n1)
E[x(n)] = 1
2E[x(n1)] + E[w(n)] E[w(n1)]
since E[w(n)] = 0,it follows that E[x(n)] = 0
To determine the autocorrelation, we have
h(0) = 1
2h(1) + δ(0) δ(1) = 1
h(1) = 1
2h(0) + δ(1) δ(0) = 1
2
415
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
p=q= 1, a =1
2, b0= 1, b1=1
Hence, γxx(0) = 1
2γxx(1) + σ2
w(1 + 1
2)
γxx(1) = 1
2γxx(0) + σ2
w(1)
and γxx(0) = 4
3σ2
w
γxx(1) = 1
3σ2
w
γxx(m) = a1γxx(m1)
=1
3(1
2)m1σ2
w, m > 1
γxx(m) = γxx(m)
=1
3(1
2)m+1σ2
w, m < 0
14.14
x(n) = w(n)2w(n1) + w(n2)
E[x(n)] = 0 since E[w(n)] = 0
γxx(m) = σ2
w
q
X
k=0
bkbk+m,0mq
where q= 2, b0= 1, b1=2, b2= 1
Hence, γxx(0) = σ2
w
2
X
k=0
b2
k=2
w
γxx(1) = σ2
w
2
X
k=0
bkbk+1 =4σ2
w
γxx(2) = σ2
w
2
X
k=0
bkbk+2 =σ2
w
γxx(m) = 0,|m| ≥ 3,
γxx(m) = γxx(m)
14.15
(a)
Γxx(z) = X
m
γxx(m)zm
= 2z2(z42z3+ 3z22z+ 1)
The four zeros are 1±j3
2,1±j3
2
The minimum-phase system is
H(z) = G(1 z1+z2),where G=2
Hence, H(z) = 2(1 z1+z2)
416
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b) The solution is unique.
14.16
(a)
Γxx(z) =
X
m=−∞
γxx(m)zm
=z2
62(6 35z1+ 62z235z3+ 6z4)
=z2
62(1 3z1)(1 2z1)(1 1
2z1)(1 1
3z1)
The four zeros are z= 3,2,1
3,1
2
The minimum phase system is H(z) = 6
62(1 1
2z1)(1 1
3z1)
=1
62(6 5z1+z2)
(b) The maximum phase system is H(z) = 1
62 (1 5z1+ 6z2)
(c) There are two possible mixed-phase systems: H1(z) = 1
62 (3 7z1+ 2z2)H2(z) =
1
62 (2 7z1+ 3z2)
14.17
(a)
H(z) = 1 + z1
10.8z1
Γhh(f) = H(z)H(z1)|z=ej2πf
=1 + ej2πf
10.8ej2πf
1 + ej2πf
10.8ej2πf
= 4 cos2πf
1.64 1.6cos2πf
γxx(m) = ( 1
2)|m|
Γxx(f) =
X
m=−∞
(1
2)|m|ej2πf m
=0.75
1.25 cos2πf
Γyy(f) = Γxx(fhh(f)
=3cos2πf
(1.64 1.6cos2πf)(1.25 cos2πf)
(b)
Γyy(f) = 54
1.64 1.6cos2πf
75
2
1.25 cos2πf
417
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
= 150
9
25
1.64 1.6cos2πf 50
3
4
1.25 cos2πf
γyy (m) = 150(0.8)|m|50( 1
2)|m|
(c) σ2
w=γxx(0) = 150 50 = 100
14.18
proof is by contradiction.
(a) Assume the |km|>1. Since Em= (1 − |km|2)Em1, this implies that either Em<0 or
Em1<0. Hence, σ2
w<0, and
atΓxxa=at
σ2
w
0
.
.
.
0
Γxx
is not positive definite.
(b) From the Schur-Cohn test, Ap(z) is stable if |km|<1. Hence, the roots of Ap(z) are inside
the unit circle.
14.19
(a)
γxx(0) γxx(1) γxx(2)
γxx(1) γxx(0) γxx(1)
γxx(2) γxx(1) γxx(0)
1
0
0.81
=
σ2
w
0
0
γxx(m) = 0.81γxx(m2), m 3
Hence, γxx(m)
σ2
w
={2.91,0,2.36,0,1.91,0,1.55,0,...}
The values of the parameters dm=
q
X
k=0
bkbk+mare as follows:
MA(2) : dm={2.91,0,2,36}
MA(4) : dm={2.91,0,2,36,0,1.91}
MA(8) : dm={2.91,0,2,36,0,1.91,0,1.55,0}
(b) The MA(2), MA(4) and MA(8) models have spectra that contain negative values. On the
other hand, the spectrum of the AR process is shown below. Clearly, the MA models do not
provide good approximations to the AR process. Refer to fig 14.19-1.
14.20
γxx(m) = 1.656σ2
w,0,0.81σ2
w,0,....
For AR(2) process:
418
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5
0
1
2
3
4
5
6
−−−> frequency(Hz)
−−−> magnitude
Figure 14.19-1:
1.656σ2
w0 0.81σ2
w
0 1.656σ2
w0
0.81σ2
w0 1.656σ2
w
1
a1
a2
=
gσ2
w
0
0
The solution is
g= 1.12
a1= 0
a2=0.489
For the AR(4) process, we obtain g= 1.07 and
a={1,0,0.643,0,0.314}
For the AR(8) process, we obtain g= 1.024 and
a={1,0,0.75,0,0.536,0,0.345,0,0.169}
Refer to fig 14.20-1.
14.21
(a) (1)
H(w) = 1ejw
1 + 0.81ejw
Γxx(w) = |H(w)|2σ2
w
Γxx(w) = |1ejw
1 + 0.81ejw |2σ2
w
(2)
H(w) = (1 ej2w)
Γxx(w) = |H(w)|2σ2
w
= 4σ2
wsin2w
(3)
H(w) = 1
10.81ejw
419
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.2 0.4 0.6
0
0.5
1
1.5
2MA(2)
−−−> frequency(Hz)
−−−> magnitude
0 0.2 0.4 0.6
0.5
1
1.5
2
2.5 AR(2)
−−−> frequency(Hz)
−−−> magnitude
0 0.2 0.4 0.6
0.5
1
1.5
2AR(4)
−−−> frequency(Hz)
−−−> magnitude
0 0.2 0.4 0.6
0
0.5
1
1.5
2AR(8)
−−−> frequency(Hz)
−−−> magnitude
Figure 14.20-1:
Γxx(w) = σ2
w
1.6561 1.62cosw
(b) Refer to fig 14.21-1.
(c) For (2),
γxx(m) =
σ2
wP3
k=0 bkbk+m,0m2
0, m > 2
γ
xx(m), m < 0
since b0= 1, b1= 0 and b2=1,we have
γxx(0) = 2σ2
w
γxx(2) = σ2
w
γxx(2) = σ2
w
γxx(m) = 0, m 6= 0,±2
For (3), the AR process has coefficients a0= 1, a1= 0 and a2= 0.81.
1 0 0.81
0 1.81 0
0.81 0 1
γxx(0)
γxx(1)
γxx(2)
=
σ2
w
0
0
γxx(0) = 2.9σ2
w
420
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
0 0.2 0.4 0.6
0
2
4
6
8(1)
−−−> frequency(Hz)
−−−> magnitude
0 0.2 0.4 0.6
0
0.5
1
1.5
2(2)
−−−> frequency(Hz)
−−−> magnitude
0 0.2 0.4 0.6
0
1
2
3
4
5
6(3)
−−−> frequency(Hz)
−−−> magnitude
Figure 14.21-1:
γxx(m) = 0, m odd
γxx(m) = 2.9(0.9)|m|σ2
w, m even
14.22
(a) For the Bartlett estimate,
M=0.9
f
=0.9
0.01 = 90
(b)M=0.9
0.02 = 45
(c)for (a), QB=N
M
=2400
90 = 26.67
for (b), QB=N
M
=2400
45 = 53.33
421
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
14.23
Γxx(f) = σ2
w|ej2πf 0.9|2
|ej2πf j0.9|2|ej2πf +j0.9|2
(a)
Γxx(z) = σ2
w
z0.9
z2+ 0.81
z10.9
z2+ 0.81
Therefore, H(z) = z0.9
z2+ 0.81
=z1(1 0.9z1)
1 + 0.81z2
(b) The inverse system is
1
H(z)=1 + 0.81z2
z1(1 0.9z1)
This is a stable system.
14.24
X(k) =
N1
X
n=0
x(n)ej2πnk
N
(a)
E[X(k)] = X
n
E[x(n)]ej2πnk
N= 0
E[|X(k)|2] = X
nX
m
E[x(n)x(m)]ej2πk(nm)
N
=X
nX
m
σ2
xδ(nm)ej2πk(nm)
N
=σ2
x
N1
X
n=0
1
=Nσ2
x
(b)
E{X(k)X(km)}=X
nX
n
E[x(n)x(n)]ej2πkn
Nej2πn(kn)
N
=σ2
xX
nX
n
δ(nn)ej2πmn
Nej2πk(nn)
N
=σ2
xej2πmn
N
=Nσ2
x, m =pN
= 0,otherwise p= 0,±1,±2,...
422
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
14.25
γvv(m) = E[v(n)v(n+m)]
=
q
X
k=0
q
X
k=0
b
kbkE[w(nk)w(n+mk)]
=σ2
w
q
X
k=0
q
X
k=0
b
kbkδ(m+kk)
=σ2
w
q
X
k=0
b
kbk+m
=σ2
wdm
Then, Γvv (f) = σ2
w
q
X
m=q
dmej2πf m
14.26
γxx(m) = E[x(n)x(n+m)]
=A2E{cos(w1n+φ)cos[w1(n+m) + φ]}
=A2
2E{cosw1m+cos[w1(2n+m) + 2φ]}
=A2
2cosw1n
14.27
(a)
x(n) = 0.81x(n2) + w(n)
y(n) = x(n) + v(n)
x(n) = y(n)v(n)
y(n)v(n) = 0.81y(n2) 0.81v(n2) + w(n)
Therefore, y(n) = 0.81y(n2) + v(n)0.81v(n2) + w(n)
so that y(n) is an ARMA(2,2) process
(b)
x(n) =
p
X
k=1
akx(nk) + w(n)
y(n) = x(n) + v(n)
x(n) = y(n)v(n)
y(n)v(n) =
p
X
k=1
ak[y(nk)v(nk)] + w(n)
y(n) +
p
X
k=1
aky(nk) = v(n) +
p
X
k=1
akv(nk) + w(n)
423
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Hence, y(n) is an ARMA(p,p) process
Note that X(z)[1 +
p
X
k=1
akzk] = W(z)
H(z) = 1
1 + Pp
k=1 akzk
=1
Ap(z)
Γxx(z) = σ2
wH(z)H(z1)
and Γyy (z) = σ2
wH(z)H(z1) + σ2
v
=σ2
w
Ap(z)Ap(z1)+σ2
v
=σ2
w+σ2
vAp(z)Ap(z1)
Ap(z)Ap(z1)
14.28
(a)
γxx(m) = E{[
K
X
k=1
Akcos(wkn+φk) + w(n)][
K
X
k=1
Akcos(wk(n+m) + φk) + w(n+m)]}
=X
kX
k
AkAkE{cos(wkn+φk)cos(wk(n+m) + φk)}+E[w(n)w(n+m)]
=
K
X
k=1
A2
2cos(wkn) + σ2
wδ(m)
(b)
Γxx(w) =
X
m=−∞
γxx(m)ejwm
=
K
X
k=1
A2
4
X
m=−∞
(ejwk+ejwk)ejwn +σ2
w
=
K
X
k=1
A2
4[2πδ(wwk2πm) + 2πδ(w+wk2πm)] + σ2
w
=π
2
K
X
k=1
A2
k[δ(wwk2πm) + 2πδ(w+wk2πm)] + σ2
w
14.29
E=aTΓyy a+λ(1 aTa)
dE
da = 0
Γyyaλa = 0
or Γyy a=λa
424
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Thus, ais an eigenvector corresponding to the eigenvalue λ. Substitute Γyya=λa into E. Then,
E=λ. To minimize E, we select th smallest eigenvalue, namely, σ2
w.
14.30
(a)
γxx(0) = P+σ2
w
γxx(1) = P cos2πf1
γxx(2) = P cos4πf
By the Levinson-Durbin algorithm,
a1(1) = γxx(1)
γxx(0)
=P cos2πf1
P+σ2
w
k1=a1(1)
E1= (1 k2
1)γxx(0)
=P2sin22πf1+ 2P σ2
w+σ4
w
P+σ2
w
a2(2) = γxx(2) + a1(1)γxx(1)
E1
=P σ2
wcos4πf1P2sin22πf1
P2sin22πf1+ 2P σ2
w+σ4
w
a2(1) = a1(1) + a2(2)a1(1)
=P cos2πf1
P+σ2
w1 + P2sin22πf1P σ2
wcos4πf1
P2sin22πf1+ 2P σ2
w+σ4
w
(b) k2=a2(2) k1=a1(1) as given above.
(c)
If σ2
w0,we have
a2(1) = (cos2πf1)(1 + 1)
=2cos2πf1
a2(2) = 1
k2= 1
k1=cos2πf1
14.31
ε(h) = hHΓxxh+µ(1 EH(f)h) + µ(1 hHE(f))
(a) To determine the optimum filter that minimizes σ2
ysubject to the constraint, we differentiate
ε(h) with respect to hH(compute the complex gradient):
ε(h)
hH= ΓxxhµE(f) = 0
Thus,
hopt =µΓ1
xx E(f)
425
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
.
(b) To solve for the Langrange multipliers using the constraint, we have
EH(f)hopt =µEH(f1
xx E(f) = 1
Thus,
µ=1
EH(f1
xx E(f)
By substituting for µin the result given in (a) we obtain the optimum filter as
hopt =Γ1
xx E(f)
EH(f1
xx E(f)
14.32
The periodogram spectral estimate is
PXX (f) = 1
N|X(f)|2=1
NX(f)X(f)
where
X(f) =
N1
X
n=0
x(n)ej2πf n =EH(f)X(n)
By substituting X(f) into Pxx(f), we obtain
Pxx(f) = 1
NEH(f)X(n)X(n)HE(f)
Then,
E[Pxx(f)] = 1
NEH(f)EX(n)X(n)HE(f)
=1
NEH(fxxE(f)
14.33
We use the Pisasenko decomposition method. First, we compute the eigqnvalues of the correlation
matrix.
g(λ) =
3λ02
0 3 λ0
2 0 3 λ
= (3 λ)
3λ0
0 3 λ2
0 3 λ
3λ0
= (3 λ)32(2)(3 λ) = (3 λ)(3 λ)24= 0
Thus, λ= 5,3,1 and the noise varinace is λmin = 1. The corresponding eigenvector is
2 0 2
020
2 0 2
1
a1
a2
=
0
0
0
a2= 1, a1= 0
1
0
1
The frequency is found from the equation 1 + z2= 0 z=±j. Therefore, ejw =±jyields
w=±π/2 and the power is P= 2.
426
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
14.34
The eigenvalues are found from
g(λ) =
2λj1
j2λj
1j2λλ1= 1, λ2= 1, λ3= 4.
and the normalized eigenvectors are
v1=
j/3
1/3
j/3
v2=
0
j/2
1/2
v3=
p2/3
j/6
1/6
By computing the denominator of (14.5.28), we find that the frequency is ω=π/2 or f= 1/4. We
may also find the frequency by using the eigenvectors v2and v3to construct the two polynomials
(Boot Music Method):
V2(z) = j
2z1
2z2
V3(z) = r2
31
6z1+1
6z2
Then, we form the polynomials
V2(z)V
2(1/z) + V3(z)V
3(1/z) = 1
3z2+2
3jz + 2 2
3jz1+1
3z2
It is easily verified that the polynomial has a double root at z=jor, equivalently, at ω=π/2.
The other two roots are spurious roots that are neglected.
Finally, the power of the exponential signal is P1= 1.
14.35
PMU SIC (f) = 1
PM
k=p+1 |sH(f)vk|2
The denominator can be expressed as
M
X
k=p+1 sH(f)vk2=
M
X
k=p+1
sH(f)vkvH
ks(f)
=sH(f)
M
X
k=p+1
vkvH
k
s(f)
14.36
(a) Vk(z) = PM1
n=0 vk(n+1)znand Vk(f) = Vk(z)|z=ej2πf Then, the denominator in PMU SI C (f)
may be expressed as
M
X
k=p+1
=sH(f)vk2=X
k=p+1
MVk(f)V
k(f)
=X
k=p+1
MVk(z)V
k(1/z)|z=ej2πf
427
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
(b) For the roots of Q(z), we consruct (from Problem 14.34) Q(z) as
Q(z) = V2(z)V
2(1/z) + V3(z)V
3(1/z)
=1
3z2+2
3jz + 2 2
3jz1+1
3z2
Thus polynomial has a double root at z=jand two spurious roots. Therefore, the desired
frequency is ω=π/2.
14.37
(a)
γxy(n0) =
N1
X
n=0
y(nn0)[y(nn0) + w(n)]
E[γxy(n0)] =
N1
X
n=0
E[y2(nn0)]
=
N1
X
n=1
E[A2cos2w0(nn0)] 0 nM1
=MA2
2
var[γxy (n0)] = E[γ2
xy(n0)]( MA2
2)2
=X
nX
n
E{y(nn0)[y(nn0) + w(n)]y(nn0)[y(nn0) + w(n)]} − (MA2
2)2
=MA2
2σ2
w
(b)
SNR = {E[γxy(n0)]}2
var[γxy (n0)]
=(MA2
2)2
MA2
2σ2
w
=MA2
2σ2
w
(c) As M increases, the SNR increases.
14.38
Refer to fig 14.38-1.
14.39
Refer to fig 14.39-1.
428
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
−20 −10 0 10 20
1.8
2
2.2
2.4
2.6
2.8
3autocor of w(n)
0 200 400 600
0
20
40
60
80 periodogram Pxx(f)
0 200 400 600
0
20
40
60
80 avg periodogram Pxx(f)
Figure 14.38-1:
0 1 2 3 4
−40
−20
0
20
40
60 theoretical psd with M = 100
0 1 2 3 4
20
40
60
80
100
120 Blackman−Tukey psd with lag=25
0 1 2 3 4
0
10
20
30
40
50 Bartlett with M = 50
Figure 14.39-1:
429
© 2007 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected under all copyright laws
as they currently exist. No portion of this material may be reproduced, in any form or by any means, without permission in
writing from the publisher. For the exclusive use of adopters of the book Digital Signal Processing, Fourth Edition, by John G.
Proakis and Dimitris G. Manolakis. ISBN 0-13-187374-1.
Co r rections to
Digital Signal Processing, 4t h Edition
by
John G . P roakis and Dimitris G. Manolakis
1. Page 18, two lines below equation (1.3.18)
sk(n) should be sk(n)
2. Page 34, Figure 1.4.8
The quantized value of the signal between 2T and 3T should be 4
3. Page 66, line below equation (2.2.43)
“is relaxed” should be “is non-relaxed”
4. Page 101, last term of equation (2.4.24)
n
n should be N
5. Page 147, last sentence above Section 3.1
Move this sentence to line above, just before the word “Finally,
6. Page 161, figure 5.2.1
The mapping is w = a-1z
7. Page 237, line 2 from the top of page
“radian” should be “radial”
8. Page 321, Figure 5.2.3, magnitude plot
Scale on the ordinate should be multiplied by 5
9. Page 387, line 8 below equation (6.1.15)
X(Fs) should be X(F)
10. Page 390, Figure 6.1.3(b)
X(F/Fs) should be X(F)
11. Page 391, Figure 6.1.5 upper right-hand part of the figure
X(F/Xf) should be X(F)
12. Page 396, Figure 6.2.3, graph of Y(F)
For F<0, the Fs on the abscissa should be -Fs
13. Page 424, two lines below equation (6.4.68)
The word “envelop” should be “envelope
14. Page 454, equation on line above Section 7.1.2
e-j2 kN should be e-j2 k/N
15.Page 463, line below equation (7.1.39)
(7.1.38) should be (7.1.39)
16.Page 506, problem 7.23(e)
The exponent should be j(2 /N) kon
17. Page 526, Figure 8.1.10
Delete the factor of 2 in the expression for B
18. Page 582, line 4 from the top
B2(z) = 1/2+3/8 z-1+z-2
19. Page 646, Problem 9.22
In the denominator of H(z), the term r2 should be r2
20. Page 672, two lines below equation (10.2.35)
G(k+x) should be ((k+ )
21. Page 679, line above equation (10.2.52) and in equation (10.2.52)
Add the term
˜ ˜
b (1) = 2b(1) -2 b(0); Then, in (10.2.52), k = 2,3,…,M/2 -2
22. Page 680, line above Case 4:
The equation should be
˜ ˜
c(0) ½ c(2) = c(1)
23. Page 725, Figure 10.3.14, graph on left
The value of 1 is the peak value
24. Page 742, problem 10.2.3, lines 4 and 6
Add subscripts l and u on the expressions for 
H(s) should b Ha(s)
25. Page 809, equation (11.12.15)
Q(zM) should be Qt(zM)
26. Page 811, in Solution of example 11.12.1
The matrix for G0(z), G1(z) and G2(z) should be transposed
Thus,
G0(z) = 1-z-1 + z-2, G1(z) = -1-z-1+3z-2, G2(z)=1+3z-1-5z-2
27. Page 818, problem 11.16
Change the statement of the problem to the following:
Use the result in Problem 11.15 to determine the type II form of the I=3
interpolator in Figure 11.5.12(b)
28. Page 821, third line from bottom of page
Should be f0 = 1/6 and  f = 1/3
29. Page 958, problem 13.19
In the expression for the least squares error,
f(m)n should be fm(l) and gm(n) should be gm(l)
30. Page 962, equations (14.1.6), (14.1.7) and (14.1.8)
X(F/X(F)) should be X(F)
31. Page 964, in Solution of Example 14.1.1, line 2
Figure 10.2.2(a) should be Figure 10.2.2
32. Page 1038, problem 14.35
In the denominator of the equation, vkvk should be vkvkH

Navigation menu