Re: Fourier function...having problems reproducing answers in a paper
- To: mathgroup at smc.vnet.net
- Subject: [mg54041] Re: [mg54034] Fourier function...having problems reproducing answers in a paper
- From: yehuda ben-shimol <bsyehuda at gmail.com>
- Date: Wed, 9 Feb 2005 09:27:13 -0500 (EST)
- References: <200502081031.FAA17739@smc.vnet.net>
- Reply-to: yehuda ben-shimol <bsyehuda at gmail.com>
- Sender: owner-wri-mathgroup at wolfram.com
You need to set the FourierParameters option, since there are several setting for the representation of the FFT. Read again in the help. The following setting will give you the results of the paper you are reading Fourier[{.5, 0, .4, 0, 0, .1}, FourierParameters -> {1, -1}] // Chop yehuda On Tue, 8 Feb 2005 05:31:14 -0500 (EST), elparedblanco <cire1611 at gmail.com> wrote: > Hi there, > > I am using the Fourier function on a simple list probability > distribution {.5,0,.4,0,0,.1}. The paper I'm reading says I should be > geting an answer like this: > > {1, .35-.2598i, .25+.433i, .8, .25-.433i, .35+.2598i}. > > However this is what Mathematica is returning: > > {.408248 + i, .142887 + .106066i, .102062 - .176777i .326599 + i, > .102062 + .17677i, .142887 - .106066i } > > I assume that these are somehow equivilant. Can some explain how/why? > >
- References:
- Fourier function...having problems reproducing answers in a paper
- From: "elparedblanco" <cire1611@gmail.com>
- Fourier function...having problems reproducing answers in a paper