my friend the complex number

John J Samuel vlabs at pacific.net.sg
Mon Dec 8 02:34:14 EST 1997


> phase = atan(y/x)
> phase = atan(-8.04/-2.62) = 1.2557771591334
>

Use atan2 (y, x) instead.

John







More information about the music-dsp mailing list