Scilab 6.0.0
Please note that the recommended version of Scilab is 2024.1.0. This page might be outdated.
See the recommended documentation of this function
max (Matlab function)
Maximum
Particular cases
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 []). |
- C=max(A)
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.
Examples
Matlab | Scilab |
Report an issue | ||
<< M | M | min (Matlab function) >> |