MathGroup Archive 2000

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

Search the Archive

Re: Problems with UnitStep and DiracDelta

  • To: mathgroup at smc.vnet.net
  • Subject: [mg22812] Re: Problems with UnitStep and DiracDelta
  • From: Harald Giese <giese at ifm.uni-hamburg.de>
  • Date: Fri, 31 Mar 2000 01:01:15 -0500 (EST)
  • Organization: Institut fuer Meereskunde, Universitaet Hamburg
  • References: <8bhv9s$nnd@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Scot Hawkins wrote:
> ...
> 
> Also, I need to redefine UnitStep so that
> 
>     UnitStep[t] = 0    t<0
>     UnitStep[t] = 1/2    t=0
>     UnitStep[t] = 1    t>0
> 

Hi Scot,

You can replace the value of UnitStep for 0:

  Unprotect[UnitStep]
  UnitStep[0] = 1/2
  Protect[UnitStep]

Hope that helps,

Regards,
Harald

-- 

Harald Giese
Email: giese at dkrz.de
Phone: +49 (0)40 42838 5796; Fax: +49 (0)40 5605724
Institut fuer Meereskunde der Universitaet Hamburg
(Institute of Oceanography of the University of Hamburg)
Troplowitzstrasse 7, D-22529 Hamburg


  • Prev by Date: Publishing in Scientific Journals with Mathematica
  • Next by Date: how to : points to surface
  • Previous by thread: Problems with UnitStep and DiracDelta
  • Next by thread: Bezier curves; FindMinimum