Skip to main content

Transfer function and magnitude for y[n] = 0.3y[n−1] + x[n]

Short answer

Take z-transforms to get H(z)=1/(1-0.3 z^-1). Magnitude is |H(e^jw)|=1/sqrt(1.09-0.6 cos w), maximum 1.4286 at w=0 and minimum 0.7692 at w=pi, so it is low-pass. Impulse response is h[n]=(0.3)^n u[n], causal and stable.

For a system characterized by linear constant coefficient difference equation: y[n] = 0.3y[n−1] + x[n], find the transfer function, plot magnitude and find the impulse response of the system.

System: y[n]=0.3y[n−1]+x[n]y[n]=0.3y[n-1]+x[n], initially at rest.

Transfer function

Take the z-transform:

Y(z)=0.3z−1Y(z)+X(z)H(z)=Y(z)X(z)=11−0.3z−1=zz−0.3,∣z∣>0.3\begin{aligned} Y(z)&=0.3z^{-1}Y(z)+X(z)\\ H(z)=\frac{Y(z)}{X(z)}&=\frac{1}{1-0.3z^{-1}}=\frac{z}{z-0.3}, \qquad |z|>0.3 \end{aligned}

There is a pole at z=0.3z=0.3 (inside the unit circle) and a zero at z=0z=0. On the unit circle, z=ejωz=e^{j\omega}:

H(ejω)=11−0.3e−jωH(e^{j\omega})=\frac{1}{1-0.3e^{-j\omega}}

Magnitude

∣H(ejω)∣=1(1−0.3cos⁡ω)2+(0.3sin⁡ω)2=11.09−0.6cos⁡ω|H(e^{j\omega})|=\frac{1}{\sqrt{(1-0.3\cos\omega)^2+(0.3\sin\omega)^2}}=\frac{1}{\sqrt{1.09-0.6\cos\omega}}
ω\omega0π/4\pi/4π/2\pi/23π/43\pi/4π\pi
∣H∣\lvert H\rvert1.42861.22560.95780.81260.7692

The magnitude is even in ω\omega and periodic with period 2π2\pi:

 |H(e^jw)|
 1.43 |            *
      |         *     *
 1.0  |      *           *
      |   *                 *
 0.77 |*                       *
      +--+--------+--------+---> w
       -pi        0        pi

It is a low pass response: maximum 1/0.71/0.7 at ω=0\omega=0, minimum 1/1.31/1.3 at ω=±π\omega=\pm\pi.

Impulse response

Using anu[n]↔11−az−1a^n u[n]\leftrightarrow\frac{1}{1-az^{-1}} (∣z∣>∣a∣|z|>|a|) with a=0.3a=0.3:

h[n]=(0.3)nu[n]h[n]=(0.3)^n u[n]

Recursion check with x=δ[n]x=\delta[n]: h[0]=1, h[1]=0.3, h[2]=0.09, h[3]=0.027,…h[0]=1,\ h[1]=0.3,\ h[2]=0.09,\ h[3]=0.027,\dots

Answer: H(z)=11−0.3z−1H(z)=\dfrac{1}{1-0.3z^{-1}}, ∣H(ejω)∣=11.09−0.6cos⁡ω|H(e^{j\omega})|=\dfrac{1}{\sqrt{1.09-0.6\cos\omega}}, h[n]=(0.3)nu[n]h[n]=(0.3)^n u[n] (causal and stable).

✓ Answer checked by Claude Opus 5.5 (high effort)

All Signals and Systems chapter 6 questions →