Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

Re: UnitStep[] Problem.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27335] Re: [mg27303] UnitStep[] Problem.
  • From: Jack Goldberg <jackgold at math.lsa.umich.edu>
  • Date: Wed, 21 Feb 2001 03:17:13 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Dustin;

I believe that UnitStep is not a built-in function until ver 4.  You need
to load one of the supplied add-on packages to get a functional UnitStep.
The package may be DiracDelta, but I have not used it for so long I'm not
entirely sure of this.

Jack

On Tue, 20 Feb 2001, Dustin Darcy wrote:

> When I type in:
> Table[UnitStep[x], {x, -3, 3}]
> 
> it should yield:
> {0,0,0,1,1,1,1}
> 
> Instead, though, I get: 
> {UnitStep[-3],UnitStep[-2],UnitStep[-1],UnitStep[0],UnitStep[1],UnitStep
> [2],UnitStep[3]}
> 
> Is this due to not loading a certain package? I've tried loading 
> everything I could possibly imagine, and I've read over every bit of 
> documentation I could scrounge up.  However, I've yet to have any luck 
> getting it to work.
> 
> Oh, it's probably important to mention that I'm dealing with a 
> considerably older copy of Mathematica: Mathematica Version 3.0.
> However, it does appear that the UnitStep function should exist.
> 
> Thanks for any help.
> 
> -----------------------------------------------------------------
> Dustin J. D.
> mr.grinch at gte.net, ddarcy at digipen.edu, emoe at users.sourceforge.net
> 4727 148th Ave NE. Apt #CC203, Bellevue, WA, 98007 USA
> T: 1-425-881-7126, ICQ: 81236750, AIM: DustinDarcy
> IRC: EFNET #chaosengine
> http://www.razingthe.net, http://chaosengine.sourceforge.net
> 



  • Prev by Date: Re: UnitStep[] Problem.
  • Next by Date: Re: simple Problem: D[ ]
  • Previous by thread: Re: UnitStep[] Problem.
  • Next by thread: Re: UnitStep[] Problem.