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


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

Fourier Transform

Started byjstorch@earthlink.net
First post2012-01-14 07:59 +0000
Last post2012-01-14 22:24 +0000
Articles 5 — 5 participants

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


Contents

  Fourier Transform jstorch@earthlink.net - 2012-01-14 07:59 +0000
    Re: Fourier Transform Peter Breitfeld <phbrf@t-online.de> - 2012-01-14 22:10 +0000
    Re: Fourier Transform "Nasser M. Abbasi" <nma@12000.org> - 2012-01-14 22:12 +0000
    Re: Fourier Transform "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2012-01-14 22:22 +0000
    Re: Fourier Transform "Dr. Wolfgang Hintze" <weh@snafu.de> - 2012-01-14 22:24 +0000

#7799 — Fourier Transform

Fromjstorch@earthlink.net
Date2012-01-14 07:59 +0000
SubjectFourier Transform
Message-ID<jercl1$1d8$1@smc.vnet.net>
Mathematica hangs when trying to evaluate the simple Fourier Transform
of H(a-|t|).

FourierTransform[HeavisideTheta[a-abs[t]],t,w,Assumptions->a>0]

(The answer should be Sqrt(2/Pi) (Sin[w a])/w  )

[toc] | [next] | [standalone]


#7817

FromPeter Breitfeld <phbrf@t-online.de>
Date2012-01-14 22:10 +0000
Message-ID<jesugq$cg0$1@smc.vnet.net>
In reply to#7799
jstorch@earthlink.net wrote:

> Mathematica hangs when trying to evaluate the simple Fourier Transform
> of H(a-|t|).
>
> FourierTransform[HeavisideTheta[a-abs[t]],t,w,Assumptions->a>0]
>
> (The answer should be Sqrt(2/Pi) (Sin[w a])/w  )
>

If you replace abs with Abs, it will not hang. Remember: All Mathematica
build-in function-names start with a capital Letter.
-- 
_________________________________________________________________
Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de

[toc] | [prev] | [next] | [standalone]


#7821

From"Nasser M. Abbasi" <nma@12000.org>
Date2012-01-14 22:12 +0000
Message-ID<jesukl$chv$1@smc.vnet.net>
In reply to#7799
On 1/14/2012 1:59 AM, jstorch@earthlink.net wrote:
> Mathematica hangs when trying to evaluate the simple Fourier Transform
> of H(a-|t|).
>
> FourierTransform[HeavisideTheta[a-abs[t]],t,w,Assumptions->a>0]
>
> (The answer should be Sqrt(2/Pi) (Sin[w a])/w  )
>

Try Abs instead of abs:

-----------------
FourierTransform[HeavisideTheta[a - Abs[t]], t, w,Assumptions -> a > 0];
Simplify[ComplexExpand[%]]
----------------

     (Sqrt[2/Pi]*Sin[a*w])/w

--Nasser

[toc] | [prev] | [next] | [standalone]


#7843

From"Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com>
Date2012-01-14 22:22 +0000
Message-ID<jesv6p$cok$1@smc.vnet.net>
In reply to#7799
On Sat, 14 Jan 2012 07:59:29 -0000, <jstorch@earthlink.net> wrote:

> Mathematica hangs when trying to evaluate the simple Fourier Transform
> of H(a-|t|).
>
> FourierTransform[HeavisideTheta[a-abs[t]],t,w,Assumptions->a>0]
>
> (The answer should be Sqrt(2/Pi) (Sin[w a])/w  )
>

Typo.

In[1]:=
FourierTransform[
  HeavisideTheta[a - Abs[t]], t, w,
  Assumptions -> a > 0
]

Out[1]=
-((I E^(-I a w) (-1 + E^(2 I a w)))/(Sqrt[2 \[Pi]] w))

In[2]:=
% // Simplify

Out[2]=
(Sqrt[2/Pi] Sin[a w])/w

By the way, even with undefined abs[t], Mathematica doesn't hang. You just  
didn't give it long enough to figure out that it can't produce a useful  
result for the FT of H(a-f(t)) where f is an arbitrary function. In  
version 7 this takes about 30 seconds and in version 8 about two minutes  
on my computer.

[toc] | [prev] | [next] | [standalone]


#7846

From"Dr. Wolfgang Hintze" <weh@snafu.de>
Date2012-01-14 22:24 +0000
Message-ID<jesvak$cp8$1@smc.vnet.net>
In reply to#7799
<jstorch@earthlink.net> schrieb im Newsbeitrag 
news:jercl1$1d8$1@smc.vnet.net...
> Mathematica hangs when trying to evaluate the simple Fourier 
> Transform
> of H(a-|t|).
>
> FourierTransform[HeavisideTheta[a-abs[t]],t,w,Assumptions->a>0]
>
> (The answer should be Sqrt(2/Pi) (Sin[w a])/w  )
>

It's a simple typing error: use Abs instead of abs and it will work out 
fine.
(furthermore I used UnitStep instead of HeavisideTheta).

Regards,
Wolfgang 

[toc] | [prev] | [standalone]


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


csiph-web