Returns the minimum of two expressions that represent numerical values:
MIN(x1,x2) = x1 if x1 < x2MIN(x1,x2) = x2 if x2 < x1
Note: | The MIN function is generally discontinuous. Use this function expression with care when specifying force or motion input. |
Format
MIN(x1,x2)
Arguments
x1 | Any valid expression that evaluates to a real number. |
x2 | Any valid expression that evaluates to a real number. |
Example
The following function is designed to always return a negative or zero value:
MIN(0, (25D-AZ(marker_2, marker_1)))