Previous Up Next

7.3.9 Heaviside step function

The Heaviside function is the step function H(x)= {

0for x < 0,
1for x≥ 0.

The Heaviside command computes the Heaviside function.

Examples

Heaviside(2)
1           
Heaviside(-4)
0           

Previous Up Next