FFT | R Documentation |
see title
FFT(x, ..., plan, inverse=FALSE)
IFFT(x, ..., plan, scale=TRUE)
DCT(x, ..., plan, type=1, inverse=FALSE)
IDCT(x, ..., plan, type=1, scale=TRUE)
x |
(complex) vector to process |
... |
ignored |
plan |
FFTW plan, can be missing |
inverse |
perform inverse transform, provided for |
scale |
scale results |
type |
type of DCT |
Olaf Mersmann <olafm@statistik.uni-dortmund.de>
planFFT
n <- 2**16
x <- rnorm(n)
p <- planFFT(n)
y <- FFT(x, plan=p)
Mod(x - IFFT(FFT(x)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.