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


Groups > comp.soft-sys.math.mathematica > #6195

Re: Bug in FourierTransform?

From Bill Rowe <readnews@sbcglobal.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Bug in FourierTransform?
Date 2011-11-05 09:50 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j930t0$a8v$1@smc.vnet.net> (permalink)

Show all headers | View raw


On 11/4/11 at 6:01 AM, rui.rojo@gmail.com (Rui) wrote:

>Is there anything about Slot that I don't know that explains this
>behaviour?

>FourierTransform[Sin[t], t, #] Out= 0

>Only by changing # to p I get the correct result

The character # has special significance in Mathematica and
cannot be used as a variable by itself. It is a place holder to
be used something like:

In[1]:= FourierTransform[#@t, t, w] & /@ {Sin, Cos}

Out[1]= {I*Sqrt[Pi/2]*DiracDelta[w - 1] -
   I*Sqrt[Pi/2]*DiracDelta[w + 1],
    Sqrt[Pi/2]*DiracDelta[w - 1] + Sqrt[Pi/2]*DiracDelta[w + 1]}

>It happens with Cos too, but not for imaginary exopnentials or other
>simpel functions like UnitBox Bug?

What is it you are trying to accomplish by using # in the manner
you tried with FourierTransform?

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: Bug in FourierTransform? Bill Rowe <readnews@sbcglobal.net> - 2011-11-05 09:50 +0000
  Re: Bug in FourierTransform? Rui <rui.rojo@gmail.com> - 2011-11-06 10:56 +0000

csiph-web