For a matrix / vector:
y = max(A);
Returns the value of the largest matrix / vector element of A.
For scalars:
y = max(a,b);
Returns the largest of the two values a or b.
A = [1,2;3,ramp(1)];
y = max(A);
y = max(time, 5.0); // returns at least 5.0
y must be a scalar.