Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4569
| From | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: discrete Fourier transform |
| Date | 2011-08-26 09:23 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j37om0$4cs$1@smc.vnet.net> (permalink) |
On 8/25/11 at 7:05 AM, tarunduttaz@gmail.com (tarun dutta) wrote: >I have a text file (in my desktop)in which there are two columns one >is time and another is the result as 0 0.956 2 0.265 >...................etc now I have to plot the data after doing >discrete fourier transform of this data.how will I do that ? I used >data=Import["output.txt", "Table"] >pt=Fourier[data] >ListLinePlot[pt] >but itz not working.can any one help me by giving a solution. >regards, >tarun In general, the output of Fourier will be a list of complex values rather than real values. So, try ListLinePlot[Abs@pt] to plot the magnitude or ListLinePlot[Arg@pt] to plot the phase
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: discrete Fourier transform Bill Rowe <readnews@sbcglobal.net> - 2011-08-26 09:23 +0000
csiph-web