Is R's fft() output normalized or not? In other words, do I have to normalize the output first before computing the phase angle using atan2()?

On a related point, does does anyone know what phase shift is used in R's fft() function?


Normalization is multiplication of the whole output by a real number. Multiplying a complex number by a real number has no effect on the phase of the complex number. You don't need to normalize if all you need is the phase.

| cite | improve this answer | |
  • $\begingroup$ Oh my goodness. Of course. I am a freaking idiot. $\endgroup$ – Brash Equilibrium Dec 5 '11 at 21:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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