MathGroup Archive 2001

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

Search the Archive

UnitStep[] Problem.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27303] UnitStep[] Problem.
  • From: Dustin Darcy <ddarcy at digipen.edu>
  • Date: Tue, 20 Feb 2001 03:05:13 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

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: rendering with Polygon vs. Cuboid
  • Next by Date: Re: ParallelMap inefficient?
  • Previous by thread: rendering with Polygon vs. Cuboid
  • Next by thread: Re: UnitStep[] Problem.