Please note that the recommended version of Scilab is 6.0.0. This page might be outdated.
See the recommended documentation of this function
max (Matlab function)
Matlab max function can work with complexes, what Scilab max can not, so a emulation function called mtlb_max has been written.
Note that in Scilab, second input parameter can give the dimension to use to find the maximum values or another matrix (maximum of two matrices), in Matlab, dimension parameter is given in a third input parameter (in this case, second parameter must be ).
If A is a matrix, max(A) is equivalent to max(A,,1) in Matlab whereas in Scilab max(A) gives the maximum value found in A. Matlab max treats the values along the first non-singleton dimension.