MathGroup Archive 2001

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

Search the Archive

Re: UnitStep[] Problem.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg27350] Re: [mg27303] UnitStep[] Problem.
  • From: Tomas Garza <tgarza01 at prodigy.net.mx>
  • Date: Wed, 21 Feb 2001 03:17:47 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

In fact, UnitStep is a new feature in Mathematica 4. It does not exist in
Version 3, as you can check in The Book. The Addendum to The Mathematica
Book lists it as "new for Version 4". You'll have to do with your own
definition of step function.

Tomas Garza
Mexico City

From: "Dustin Darcy" <ddarcy at digipen.edu>
To: mathgroup at smc.vnet.net
Subject: [mg27350] [mg27303] UnitStep[] Problem.


> 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.



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