Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Unit_step

Function: unit_step (<x>) The left-continuous unit step function; thus unit_step (<x>) vanishes for <x> <= 0 and equals 1 for <x> > 0.

load(orthopoly) ;
f(x):= 1*unit_step(x)+2*unit_step(x-3)-3*unit_step(x-5);
plot2d(f(x),[x,0,8],[y,0,8]);

If you want a unit step function that takes on the value 1/2 at zero, use (1 + signum (<x>))/2.

(%o1)                                true
(%i2) 

Related Examples

unit_step

f(x):= 0.1*unit_step(...

f(1.2);

Calculate

unit_step

unit_step(x);

Calculate

unit_step

unit_step(5);

Calculate

unit_step

unit_step(5);

Calculate

unit_step

f():= (unit_step(x-0....

Calculate

unit_step

f(x):= 0.1*unit_step(...

f(1.2);

Calculate

unit_step

vha:8000;

pst:1.5;

txt:12/100;

Calculate

unit_step

f(t) := t*unit_step;

Calculate

unit_step

f(t):= 8*t^2*(unit_st...

Calculate

unit_step

g1(x) := f1(x+4)*(uni...

Calculate