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.
fft phase quick question
Started by rouncer, Oct 01 2008 05:27 AM
2 replies to this topic
#1
Posted 01 October 2008 - 05:27 AM
#2
Posted 01 October 2008 - 05:49 AM
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.
It's because atan2 is defined weirdly and takes its arguments as y, x instead of x, y.
reedbeta.com - developer blog, OpenGL demos, and other projects
#3
Posted 01 October 2008 - 08:56 AM
thankyou
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












