Electronic – Finding the amplitude response of an LTI system

signalsystem

I'm asked to find the amplitude response of an LTI system described by the difference equation:

$$
y[n] – ay[n-1] = x[n]
$$

After taking the Fourier transform of both sides and some math, I get the frequency response:

$$
H(e^{jw}) = 1/(1-ae^{-jw})
$$

But how do I get the amplitude response from this? I know the amplitude response is

$$ |H(e^{jw})| $$

but I'm unsure how to "get the length" of my frequency response. I have a feeling this is a simple math problem that I'm misunderstanding.

(Disclaimer: this is a question on a past final that I'm using to study. I have the answer to the question (and will post if proof is needed), but I want to understand the method)

Best Answer

Although you are in frequency domain you still should be able to get all parameters as you were in time domain. They are different domains but they both should represent the same thing. Time domain represent things in terms of amplitude in respect to time. Frequency domain represent things in terms of amplitude AND PHASE in respect to frequency values. Note that you should have both amplitude and phase in frequency domain, since in the time domain the phase can be represented in the same plot by a shift.

One way to represent these things in frequency domain is by dealing with complex numbers. Complex numbers can be viewed as vectors in a 2D space which have a length (as you said) and an angle. The length represents the output/input ratio and the angle represent the phase shift in comparison also to the input.

So, answering your question, you should calculate the H length to find your output/input ratio. To help you, imagine that:

\$e^{jw}=cos(w)+jsin(w)\$

In other words, its a complex number with always length of 1 and angle \$w\$

You can solve this by two methods:

-Vector method:

imagine that number 1 is \$Z=1+0.i\$ which is a vector to the right, with length 1 and angle \$0\$.

Imagine that \$e^{jw}\$ is a vector that I showed right above

Now add them. Then divive vectors 1 by the vector that you've found.

-Cartesian Coordinates:

represent all in terms of \$Z=a+jb\$ and also \$e^{jw}=cos(w)+jsin(w)\$

and imagine that you have:

\$\large Z = \frac{Z_1}{Z_2+Z_3}\$

and then find length of Z by:

\$|Z| = \sqrt{a^2+b^2}\$