Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #8710
| From | "Nasser M. Abbasi" <nma@12000.org> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Why the FourierTransform gives two different answers? |
| Date | 2012-02-23 10:50 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <ji55lc$7a2$1@smc.vnet.net> (permalink) |
| References | <jhvupg$893$1@smc.vnet.net> |
On 2/22/2012 3:25 AM, Nasser M. Abbasi wrote:
> On 2/21/2012 5:22 AM, Алексей wrote:
>> Why the FourierTransform gives two different answers?
>>
>> In[1] FourierTransform[ (t - 5.0)^2*Exp[-(t - 5.0)^2 ], t, w]
>>
>> In[2] FourierTransform[ (t - 5)^2* Exp[-(t - 5)^2 ], t, w]
>>
....
>
> ------------ symbolic -----------
> ClearAll[t, w, k]
> f = (t - 5)^2*Exp[-(t - 5)^2];
> res = Integrate[f*Exp[-I w t], {t, -k, k}];
> res = Limit[res, k -> Infinity];
> Plot[{Re[res], Im[res]}, {w, -5, 5}]
> -----------------------------
>
...
btw, to get the same result with Mathematica FourierTransform
need to use FourierParameters -> {1, -1}, like this:
---------------------------
ClearAll[t, w, k]
f = (t - 5)^2*Exp[-(t - 5)^2];
res = FourierTransform[f, t, w, FourierParameters -> {1, -1}];
Plot[{Re[res], Im[res]}, {w, -5, 5}]
--------------------------
--Nasser
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Why the FourierTransform gives two different answers? Алексей <avderov@gmail.com> - 2012-02-21 11:22 +0000 Re: Why the FourierTransform gives two different answers? "Nasser M. Abbasi" <nma@12000.org> - 2012-02-23 10:49 +0000 Re: Why the FourierTransform gives two different answers? "Nasser M. Abbasi" <nma@12000.org> - 2012-02-23 10:50 +0000
csiph-web