Skip to content
Prev 155042 / 398503 Next

Plotting the complex fft in 3D?

Oliver Bandel wrote:
I don't find this very enlightening, but here you go:

x <- rnorm(1000)
f <- fft(x)

library(rgl)
plot3d(1:length(f), Re(f), Im(f))


Duncan Murdoch