MathGroup Archive 2001

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

Search the Archive

Re: UnitStep[] Problem.


Mathematica 4.x has UnitStep[] as build in, older versions must load
a package (look into the Calculus` section of the standard add ons)


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, ddarcy at, emoe at
> 4727 148th Ave NE. Apt #CC203, Bellevue, WA, 98007 USA
> T: 1-425-881-7126, ICQ: 81236750, AIM: DustinDarcy
> IRC: EFNET #chaosengine

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