Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Fourier with right axis' topicStudent Support Forum > General > "Fourier with right axis"

Next Comment >Help | Reply To Topic
Author Comment/Response
Niklas
06/19/13 08:19am

Hello,

I have a 2. linear ODE, like

dgl = {y''[x] + Sin[x] == 0, y[0] == 0, y'[0] == 1}

then I should solve this numerical

lsg = NDSolve[dgl, y, {x, -10, 10}]

and create a table of this content

data = Flatten[Table[y[x] /. lsg, {x, -10, 10, 0.1}]]

and make a Fourier transformation and plot this

ListLinePlot[Abs[Fourier[data[[data]]], PlotRange -> All]

My output have not the right tics at the axis, how I can manipulate that? Because if I grow up the steps of table, I would have other tics.

URL: ,

Subject (listing for 'Fourier with right axis')
Author Date Posted
Fourier with right axis Niklas 06/19/13 08:19am
Re: Fourier with right axis jf 06/19/13 12:40pm
Re: Re: Fourier with right axis Niklas 06/21/13 05:43am
Next Comment >Help | Reply To Topic