Re: Fourier? (Q)
- To: mathgroup at smc.vnet.net
- Subject: [mg3662] Re: [mg3602] Fourier? (Q)
- From: Jesus ROJO <jesroj at wmatem.eis.uva.es>
- Date: Tue, 2 Apr 1996 21:56:02 -0500
- Mailer: Elm [revision: 70.85]
- Sender: owner-wri-mathgroup at wolfram.com
Your message: > > 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. > > Hello, after some essays, I have found that the key is in the integer values in the list 'data'. If you changes '1' for '1.' in 'data' you'll find the expected answer. Why ?. I don't know. Jesus ROJO -- --------------------------------------- | Jesus ROJO | | Dpto. de Matematica Aplicada | | E.T.S. de Ingenieros Industriales | | Paseo del Cauce s/n | | 47011 VALLADOLID, Spain | | Phone : 34 - 83 - 42 33 90 | | Fax : 34 - 83 - 42 34 06 | | e-mail: jesroj at wmatem.eis.uva.es | --------------------------------------- ==== [MESSAGE SEPARATOR] ====