DSP - Z-Transform Solved Examples



Example 1

Find the response of the system s(n+2)3s(n+1)+2s(n)=δ(n), when all the initial conditions are zero.

Solution − Taking Z-transform on both the sides of the above equation, we get

S(z)Z23S(z)Z1+2S(z)=1

S(z){Z23Z+2}=1

S(z)=1{z23z+2}=1(z2)(z1)=α1z2+α2z1

S(z)=1z21z1

Taking the inverse Z-transform of the above equation, we get

S(n)=Z1[1Z2]Z1[1Z1]

=2n11n1=1+2n1

Example 2

Find the system function H(z) and unit sample response h(n) of the system whose difference equation is described as under

y(n)=12y(n1)+2x(n)

where, y(n) and x(n) are the output and input of the system, respectively.

Solution − Taking the Z-transform of the above difference equation, we get

y(z)=12Z1Y(Z)+2X(z)

=Y(Z)[112Z1]=2X(Z)

=H(Z)=Y(Z)X(Z)=2[112Z1]

This system has a pole at Z=12 and Z=0 and H(Z)=2[112Z1]

Hence, taking the inverse Z-transform of the above, we get

h(n)=2(12)nU(n)

Example 3

Determine Y(z),n≥0 in the following case −

y(n)+12y(n1)14y(n2)=0giveny(1)=y(2)=1

Solution − Applying the Z-transform to the above equation, we get

Y(Z)+12[Z1Y(Z)+Y(1)]14[Z2Y(Z)+Z1Y(1)+4(2)]=0

Y(Z)+12ZY(Z)+1214Z2Y(Z)14Z14=0

Y(Z)[1+12Z14Z2]=14Z12

Y(Z)[4Z2+2Z14Z2]=12Z4Z

Y(Z)=Z(12Z)4Z2+2Z1

Advertisements