I need to use the discrete fourierFourier transform for function that represented as list of values. I
I started from thewith an easy task to check ammy understanding. I use it right - trytried to reachget the amplitude values fot 2*Sin[x] functionfor 2*Sin[x]
. Looks like itI think they should be somwhere about 2. But using the discrete 'Fourier'Fourier
operation it isproduces something quite different. Can someone tell me - where is my mistakes are?
Please see my observations:Here is what I tried.
data = Table[2*Sin[x], {x, 0, 100}]; ListPlot[data, Joined -> True]
data = Table[2*Sin[x], {x, 0, 100}];
ListPlot[data, Joined -> True]
ListPlot[Abs[Fourier[data]], Joined -> True, PlotRange -> All]
ListPlot[Abs[Fourier[data]], Joined -> True, PlotRange -> All]
ListPlot[Table[ Abs[FourierTransform[2*Sin[x], x, w]] /. DiracDelta -> DiscreteDelta, {w, 0.1, 10, 0.1}], Joined -> True, PlotRange -> All]
ListPlot[
Table[Abs[FourierTransform[2*Sin[x], x, w]] /.
DiracDelta -> DiscreteDelta, {w, 0.1, 10, 0.1}],
Joined -> True,
PlotRange -> All]
How can I reach fo the 'Fourier' operationget the same results from 'Fourier' as I reach for theget from 'FourierTransform'?
Thank you for help.