You are testing a 1 volt. d.c. source and have the following measurements obtained from the source

Question:

You are testing a 1 volt. d.c. source and have the following measurements obtained from the source every minute starting at time 0

п x[n] п x[п] 0 1.0 3 0.7 1 1.2 4 1.2 2 0.9 5 1.0


To find the average voltages for the first 5 min, i.e., to get rid of some of the noise in the data, you use the following averager

y[n] = x[n] + x[n – 1] +x[n – 2]


(a) Use the input/output equation of the filter to compute and then plot the moving averages y[n] for 2 ‰¤ n ‰¤ 5.

(b) Find the impulse response h[n] of the averager and compute the output y[n] using the convolution sum. Do you obtain the same results as before?

(c) Suppose you use a median filter of length 3, so that at some sample nwe consider the samples values at n, n ˆ’ 1, and n ˆ’ 2, order these values and the one in the middle is the output ym[n]. Moving one sample we consider the next three values and find the new median. Compute and plot ym[n] for 2 ‰¤ n ‰¤ 5.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: