MAX

The MAX(a1,a2) function returns the maximum of two expressions a1 and a2.

MAX(a1,a2) = a1 if a1 ≥ a2
MAX(a1,a2) = a2 if a2 > a1

Format

MAX(a1,a2)

Arguments

a1 Any valid function expression.
a2 Any valid function expression.

Cautions

The MAX function is generally discontinuous. Use this function expression with care when you are specifying force or motion input.