[R] Complex to polar?

rkevinburton at charter.net rkevinburton at charter.net
Sun Jul 27 09:05:50 CEST 2008


I am using fft(x) to compute the fft of a real-valued sequence. This returns (as expected an array of complex numbers. Is ther an R function to transform these complex numbers into two arrays for the magnitude and phase? Basically polar notation?

Thank you.

Kevin



More information about the R-help mailing list