02.10.2019 Views

UploadFile_6417

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

590 Chapter 10 ROUND-OFF EFFECTS IN DIGITAL FILTERS<br />

10.4 PROBLEMS<br />

P10.1 Let x(n) =0.5[cos(n/17) + sin(n/23)]. For the following parts, use 500, 000 samples of<br />

x(n) and the StatModelR function.<br />

1. Quantize x(n) toB =2bits, and plot the resulting distributions for the error signals<br />

e 1(n) and e 2(n). Comment on these plots.<br />

2. Quantize x(n) toB =4bits, and plot the resulting distributions for the error signals<br />

e 1(n) and e 2(n). Comment on these plots.<br />

3. Quantize x(n) toB =6bits, and plot the resulting distributions for the error signals<br />

e 1(n) and e 2(n). Comment on these plots.<br />

P10.2 Let x(n) = 1 [cos(0.1πn)+sin(0.2πn)+sin(0.4πn)]. For the following parts use 500, 000<br />

3<br />

samples of x(n) and the StatModelR function.<br />

1. Quantize x(n) toB =2bits, and plot the resulting distributions for the error signals<br />

e 1(n) and e 2(n). Comment on these plots.<br />

2. Quantize x(n) toB =4bits, and plot the resulting distributions for the error signals<br />

e 1(n) and e 2(n). Comment on these plots.<br />

3. Quantize x(n) toB =6bits, and plot the resulting distributions for the error signals<br />

e 1(n) and e 2(n). Comment on these plots.<br />

P10.3 Let a real, causal, and stable IIR filter be given by<br />

N−1<br />

∑ R k<br />

H(z) =R 0 +<br />

(10.105)<br />

z − p k<br />

where all poles are distinct. Using (10.16), (10.18a), and (10.105), show that<br />

k=1<br />

σq<br />

2<br />

σe<br />

2<br />

N−1 N−1<br />

∑ ∑<br />

= R0 2 R k Rl<br />

∗ +<br />

1 − p k p ∗ l<br />

k=1<br />

l=1<br />

P10.4 Consider the lowpass digital filter designed in Problem P6.39. The input to this filter is<br />

an independent and identically distributed Gaussian sequence with zero-mean and<br />

variance equal to 0.1.<br />

1. Determine the variance of the filter output process using the VarGain function.<br />

2. Determine numerically the variance of the output process by generating 500,000<br />

samples of the input sequence. Comment on your results.<br />

P10.5 Design an elliptic bandpass digital filter that has a lower stopband of 0.3π, alower<br />

passband of 0.4π, anupper passband of 0.5π, and an upper stopband of 0.65π. The<br />

passband ripple is 0.1 dB and the stopband attenuation is 50 dB. The input signal is a<br />

random sequence whose components are independent and uniformly distributed between<br />

−1 and 1.<br />

1. Determine the variance of the filter output process using the VarGain function.<br />

2. Determine numerically the variance of the output process by generating 500,000<br />

samples of the input sequence. Comment on your results.<br />

Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).<br />

Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!