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.

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

and the variance is<br />

σ 2 e R<br />

△<br />

=E<br />

[(e R (n) − m eR ) 2] =<br />

= ∆2<br />

12<br />

Using (6.45), we obtain<br />

σ 2 e R<br />

= 2−2B<br />

12<br />

∫ ∆/2<br />

−∆/2<br />

e 2 f ER (e)de =<br />

or σ eR = 2−B<br />

2 √ 3<br />

( ) 1<br />

e 2 de<br />

−∆/2 ∆<br />

∫ ∆/2<br />

(10.8)<br />

(10.9)<br />

Since the samples of the sequence e R (n) are assumed to be independent<br />

of each other, the variance of [e R (n)+e R (n − 1)]/2 isgiven by<br />

[ ]<br />

eR (n)+e R (n − 1)<br />

var<br />

= 1 ( ) 2<br />

−2B<br />

2<br />

4 12 + 2−2B<br />

= 2−2B<br />

= 1 12 24 2 σ2 e R<br />

(10.10)<br />

or the standard deviation is σ eR / √ 2.<br />

From the model assumptions and (10.6) or (10.9), the covariance of<br />

the error sequence (which is an independent sequence) is given by<br />

E[e(m)e(n)] = △ C e (m − n) = △ C e (l) = 2−2B<br />

δ (l) (10.11)<br />

12<br />

where l △ = m − n is called the lag variable. Such an error sequence is also<br />

known as a white noise sequence.<br />

10.1.5 MATLAB IMPLEMENTATION<br />

In MATLAB, the sample mean and standard deviation are computed<br />

using the functions mean and std, respectively. The last argument of the<br />

function StatModelR is a vector containing sample means and standard<br />

deviations of unnormalized errors e(n) and [e(n) +e(n − 1)]/2. Thus,<br />

these values can be compared with the theoretical values obtained from<br />

the statistical model.<br />

□ EXAMPLE 10.3 The plots in Example 10.1 also indicate the sample means and standard deviations<br />

of the errors e(n) and [e(n) +e(n − 1)]/2. For B =2,these computed<br />

values are shown in Figure 10.3. Since e(n) isuniformly distributed over the<br />

interval [−2 −3 , 2 −3 ], its mean value is 0, and so is the mean of [e(n)+e(n−1)]/2.<br />

The computed values are 3.4239 × 10 −5 and 3.4396 × 10 −5 , respectively, which<br />

agree fairly well with the model. The standard deviation of e(n), from (10.9), is<br />

0.072169, while that from the top plot in Figure 10.3 is 0.072073, which again<br />

agrees closely with the model. The standard deviation of the average of the two<br />

consecutive samples, from (10.10), is 0.051031, and from the bottom plot in<br />

Figure 10.3 it is 0.063851, which clearly does not agree with the model. Hence<br />

the samples of e(n) for B =2are not independent. This was confirmed by the<br />

bottom plot in Figure 10.3.<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!