rouncer at October 1st, 2008 01:27 — #1
sorry if i sound confused, but i know a little bit more now about how the fft works... just a quick question
anyway. is -atan2(real[bin],imaginary[bin]) a way to get the phase angle for the bin? because im getting some success with it but im not sure if its the correct way to do it.
reedbeta at October 1st, 2008 01:49 — #2
I believe it should be: atan2(imaginary, real)
It's because atan2 is defined weirdly and takes its arguments as y, x instead of x, y.
rouncer at October 1st, 2008 04:56 — #3