Square pulse function?



Jaime Villate <villate <at> fe.up.pt> writes:

> 
> On Thu, 2008-05-29 at 22:33 +0100, Paul wrote:
> > I didn't know unit_step existed (so much to learn in Maxima!).
> > Strange 
> > that it doesn't seem to evaluate numerically though, e.g.
> > (%i35) unit_step(0.5), numer;
> > (%o35)                          unit_step(0.5)
> 
> You have to load an additional package to use unit_step (sorry, I had
> forgotten that). Try:
> 
> (%i15)  load("orthopoly")$
> (%i16) unit_step(0.5);
> (%o16)                       1

Okay, thanks. Pity that "? unit_step" didn't mention this.

Thanks for your help,
Paul