Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4569 > unrolled thread

Re: discrete Fourier transform

Started byBill Rowe <readnews@sbcglobal.net>
First post2011-08-26 09:23 +0000
Last post2011-08-26 09:23 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: discrete Fourier transform Bill Rowe <readnews@sbcglobal.net> - 2011-08-26 09:23 +0000

#4569 — Re: discrete Fourier transform

FromBill Rowe <readnews@sbcglobal.net>
Date2011-08-26 09:23 +0000
SubjectRe: discrete Fourier transform
Message-ID<j37om0$4cs$1@smc.vnet.net>
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

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web