first time on here!

I'm working through "Digital Signal Processing using MATLAB" by Vinay and Proakis. Good book.

I am stuck on this example tho.

enter image description here

Shouldn't the imaginary part in the denominator (magnitude calculation) be (-0.9sin(w))^2 since the Frequency Response equation has an e^-jw?

Also why does the angle calculation include a -arctan instead of just a regular arctan.



1 Answer 1


For the magnitude, the denominator term will be $$1-0.9e^{-j\omega}=1-0.9(cos\omega - jsin\omega) = 1-0.9cos\omega+0.9jsin\omega$$

Hence the plus sign.

For the phase, if you multiply the numerator and denominator with the complex conjugate,

$$H(e^{j\omega}) = \frac {1-0.9cos\omega-0.9jsin\omega}{(1-0.9cos\omega+0.9jsin\omega)(1-0.9cos\omega-0.9jsin\omega)}$$

The denominator will become real. Therefore, $$\angle H(e^{j\omega}) = arctan(\frac {-0.9 sin\omega}{1-0.9cos\omega})$$ Taking the minus sign outside is how you get the negative in the phase.

  • $\begingroup$ Thanks very much! Makes sense now! $\endgroup$
    – Dom
    Commented May 10, 2020 at 8:48
  • $\begingroup$ Why would you want to multiply the numerator and denominator by the complex conjugate? Couldnt you just take the arctan of the imaginary part divided by the real part? $\endgroup$
    – Dom
    Commented May 10, 2020 at 8:58
  • $\begingroup$ When the complex number is represented as a+ib, you take the arctan of imag/real i.e b/a. The given complex number is in 1/a+ib form. To get the complex number in the a+ib form, the numerator and denominator were multiplied by the complex conjugate. $\endgroup$
    – DSP Novice
    Commented May 10, 2020 at 9:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.