MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Fourier? (Q)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg3608] Re: Fourier? (Q)
  • From: hohmuth at cipserv1.physik.uni-ulm.de (Lars Hohmuth)
  • Date: Thu, 28 Mar 1996 00:09:51 -0500
  • Organization: Uni Ulm
  • Sender: owner-wri-mathgroup at wolfram.com

In article <4j7hq8$af4 at dragonfly.wolfram.com> mrsma at uno.edu writes:
>From: mrsma at uno.edu
To: mathgroup at smc.vnet.net
>Subject: Fourier? (Q)
>Date: 26 Mar 1996 01:38:16 GMT

>greetings:

>when i tried to go through the Fourier examples as per pgs 679-681 in the Mma bible;

>Mma kindly returned the following:
>In[65]:=
>?Fourier
>Fourier[list] finds the discrete Fourier transform of a list
>   of complex numbers.
>In[66]:=
>data={1,1,1,1,-1,-1,-1,-1}
>Out[66]=
>{1, 1, 1, 1, -1, -1, -1, -1}
>In[67]:=
>Fourier[data]
>Out[67]=
>Fourier[{1, 1, 1, 1, -1, -1, -1, -1}]

>i then tried the example on a PowerMac, NeXT, RS6000 and got the same reply.

>what am i missing here?

>sincerely,
>m. r.


You fell for the old 
Mathematica-always-returns-the-exact-answer-if-fed-exact-numbers trap;-)

Try Fourier[N[{1,1,1,1,-1,-1,-1,-1}]] or Fourier[{1.,1.,1.,1.,-1.,-1.,-1.,-1,}]


Hope this helps,



Lars


==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Re: Plot problem
  • Next by Date: Re: addressing matrix elements
  • Previous by thread: Re: Fourier? (Q)
  • Next by thread: Re: Fourier? (Q)