I'm trying to estimate a frequency spectrum of a given discrete function. I have a file which is filled of values of Sine-function $sin(t)$, where $t$ runs from $0.0$ to $100.0$ and a discrete step is $dt = 0.01$.
Here's a plot of my file
ListPlot[list, Joined -> True, DataRange -> {0, 100}]
Then I do Fourier
With[{number = 10000},
ListPlot[(Sqrt[2 Pi]/Sqrt[number]) Abs[Fourier[list]],
Joined -> True, PlotRange -> {{0, 2}, All}, DataRange -> {0, 100}]]
and I see that the frequency maximum is shifted - it's not $\omega = 1$ like it should be.
So I think, that the problem lies in the DataRange options, but I don't know how to evaluate maximum DataRange correctly. I thought that it should be the range of time $t$ for my case, but it doesn't work (range of $t$ equals $100$).