A digital filter with input x[n] and output y[n] is represented by the difference equation:

$$y[n]=1/2x[n]+1/3y[n-1]$$

The impulse response for this filter is most nearly:

A.   $$h[n]=2delta[n]-2/3delta[n-1]$$
B.   $$h[n]=1/2delta[n]-1/3delta[n-1]$$
C.   $$h[n]=1/2(1/3)^n, n>=0$$
D.   $$h[n]=1/2(-1/3)^n, n>=0$$

1 Answer

James Dowd

Updated on January 3rd, 2021

Let's first start off solving for our solution by placing all y terms on one side and x terms on the other:

y[n] =12x[n]+13y[n-1] y[n]-13y[n-1]=12x[n]

Let's now transform our function from the time to frequency domain, using the properties of Z transforms as shown below:

Property #1: Z [y[n]] = Y(z) ORZ[x[n]] = X(z) Property #2: Z[ax[n]+b[y[n]] = aX(z) + bY(z) Property #3: Z[x[n-n0]] = z-n0X(z)

Using these properties:

Z[y[n]-13y[n-1]]=Z[12x[n]] Y(z)-13z-1Y(z)=12X(z)

We know that our transfer function is H(z) as represented in the equation below, so let's convert our function into this form to then solve for the transfer function:

H(z)=Y(z)X(z) Y(z)-13z-1Y(z)=12X(z) Y(z)(1-13z-1)=12X(z) Y(z)X(z)=12(1-13z-1) H(z) = 1211-13z-1

Now that we have our transfer function, we want to convert our transform function back to the time domain in order to arrive at our impulse response function. We can see we have a common transform in our expression, as shown in this table:

Using this transform pair and converting back to the time domain:

H(z) = 1211-13z-1 h[n] =12(13u[n]), n0

Therefore our final answer is C.

Copyright © 2024 Savvy Engineer