[R] Complex to polar?

Prof Brian Ripley ripley at stats.ox.ac.uk
Sun Jul 27 09:19:55 CEST 2008


Please read ?complex.

On Sun, 27 Jul 2008, rkevinburton at charter.net wrote:

> 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
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

PLEASE do.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list