Re: UnitStep[] Problem.
- To: mathgroup at smc.vnet.net
- Subject: [mg27320] Re: UnitStep[] Problem.
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 21 Feb 2001 03:16:49 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <96t8i6$ppr@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi, Mathematica 4.x has UnitStep[] as build in, older versions must load a package (look into the Calculus` section of the standard add ons) Regards Jens 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