Let's say that I have an entirely real time domain digital signal (no
imaginary component). Then say that I pass this signal through a complex
DFT.
Can I find the magnitude of each frequency bin (k) by taking:
sqrt ( ReX(k)^2 + ImX(k)^2 )
And the initial phase of each frequency bin by taking:
atan( ImX(k)/ReX(k) )
Or does this only work for the real DFT?