Scilab 5.3.3
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
min (Matlab function)
Minimum
Particular cases
Matlab min function can work with complexes, what Scilab min can not, so a emulation function called mtlb_min has been written.
Note that in Scilab, second input parameter can give the dimension to use to find the minimum values or another matrix (minimum of two matrices), in Matlab, dimension parameter is given in a third input parameter (in this case, second parameter must be []).
- C=min(A)
If A is a matrix, min(A) is equivalent to min(A,[],1) in Matlab whereas in Scilab min(A) gives the minimum value found in A. Matlab min treats the values along the first non-singleton dimension.
Examples
Matlab | Scilab |
<< max (Matlab function) | M | mkdir (Matlab function) >> |