[R] FFT - (STATS) - is this correct?

2008-07-30 Thread renata.camargo05
Hello, I have calculated the fourier transform of the series enclosed at the end of this message, by doing: library(stats) x - readLines(file1.txt) x.num - as.numeric(x) ft.x.num - fft(x.num) My question is: why is the first value (Real) of ft.x.num that big? (954.833870) all the other

Re: [R] FFT - (STATS) - is this correct?

2008-07-30 Thread stephen sefick
#ts with a freq=1 d - ts(x) #it seems that this is an oscillating signal of ~ a day plot(d) #spectrogram which shows that the main frequency component is ~ 0.7. this translates to about a day (1.3 or so) sec.pgram(d) On Wed, Jul 30, 2008 at 7:14 AM, [EMAIL PROTECTED] wrote: Hello, I have

Re: [R] FFT - (STATS) - is this correct?

2008-07-30 Thread Rolf Turner
On 30/07/2008, at 11:14 PM, [EMAIL PROTECTED] wrote: Hello, I have calculated the fourier transform of the series enclosed at the end of this message, by doing: library(stats) x - readLines(file1.txt) x.num - as.numeric(x) ft.x.num - fft(x.num) My question is: why is the first value