Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'ListPlot[AbsFourier[data]]' topicStudent Support Forum > General > "ListPlot[AbsFourier[data]]"

Next Comment >Help | Reply To Topic
Author Comment/Response
Ileana Lee
06/19/01 06:54am

Say you have a function like:

NN=64
data=4/(1+0.2Cos[2 Pi t/NN])

I used the following command to plot a spectrum:

ListPlot[Abs[Fourier[data]], Plot Range->All,
PlotJoined->True]

The problem is that this does not give me a spectrum plotted on the frequency axis (Hz).

So, I was wondering how do I plot a spectrum graph with the horizontal axis being the frequency (Hz)

URL: ,

Subject (listing for 'ListPlot[AbsFourier[data]]')
Author Date Posted
ListPlot[AbsFourier[data]] Ileana Lee 06/19/01 06:54am
Re: ListPlot[AbsFourier[data]] John Leko 06/19/01 10:57pm
Next Comment >Help | Reply To Topic