2-4-17

Function Calculations

IHeaviside Unit Step Function

“heaviside” is the command for the Heaviside function, which evaluates only to numeric expressions as shown below.

0, x < 0

1

H(x) = 2 , x = 0 1, x > 0

Any non-numeric expression passed to the Heaviside function will not be evaluated, and any numeric expression containing complex numbers will return undefined. The derivative of the Heaviside function is the Delta function.

Syntax: heaviside(x)

x : variable or number

Examples:

20090601