Max

Parent Previous Next

Max


Maximum value of array



Syntax


max(x)

x is a real matrix

return the element of x with the maximum value


Examples


Input

Output

max([1, 2, 3, 4])

max([3, 7, 5; 0, 4, 2])


See Also


Created with the Personal Edition of HelpNDoc: Free CHM Help documentation generator