20060301
2-4-14
Function Calculations
k
Heaviside Unit Step Function
“heaviside” is the command for the Heaviside function, which evaluates only to numeric
expressions as shown below.
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:
0,
x
<
0
H(
x
) =
,
x
= 0
1,
x
>
0
1
2