Minimum

Syntax


y = min(x1, x2)

Description


Returns the smaller (more negative) of the two input arguments (which may be an expression evaluating to a doubleprecision value).

Example


m = min(cos(t), sin(t))