MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Problem with function


On 5/23/04 at 6:15 AM, djkapi at poczta.onet.pl (DJkapi) wrote:

>How to compute in Mathematica  fourier transform  of function:

>t     ,0=< t =<1
>g(t)= 1.5-0.5t , 1< t =<3

>to tell the truth i dont even know how to make Mathematica print
>that function.

Use UnitStep to define g i.e.,

g = t(UnitStep[t] - UnitStep[t - 1]) + 
     (1.5 - .5 t)(UnitStep[t - 1] - UnitStep[t - 3])
     
then you can do

Plot[g, {t,-1,4}, PlotRange->All];

to plot the function and

FourierTransform[g, t, w] to get the Fourier transform
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: newbie problem in linux
  • Next by Date: Re: Eigensystem: different solution in V5.0 and V4.1 ??
  • Previous by thread: Problem with function
  • Next by thread: Re: Problem with function