1
mini Scilab Group Scilab Function mini
7
[m [,k]]=mini(A,'c') or [m [,k]]=mini(A,'r')
8
[m [,k]]=mini(A1,A2,...,An)
9
[m [,k]]=mini(list(A1,A2,...,An))
11
A : real vector or matrix.
13
A1,...,An : a set of real vectors or matrices, all of the same size or
17
For A, a real vector or matrix, mini(A) is the smallest element A.
18
[m,k]=mini(A) gives in addition the index of the minimum. A second
19
argument of type string 'r' or 'c' can be used : 'r' is used to get a row
20
vector m such that m(j) contains the minimum of the j th column of A
21
(A(:,j)), k(j) gives the row indice which contain the minimum for column
22
j. 'c' is used for the dual operation on the rows of A.
23
m=mini(A1,A2,...,An), where all the Aj are matrices of the same
24
sizes,returns a vector or a matrix m of size size(m)=size(A1) such that
25
m(i)= mini( Aj(i)), j=1,...,n. [m,k]=mini(A1,A2,...,An) gives in
26
addition the vector or matrix k. for a fixed i, k(i) is the number of the
27
first Aj(i) achieving the minimum. [m,k]=mini(list(A1,...,An)) is an
28
equivalent syntax of [m,k]=mini(A1,A2,...,An)
32
[m,n]=mini([3,1,1],[1,3,1],[1,1,3])
33
[m,n]=mini(list([3,1,1],[1,3,1],[1,1,3]))
34
[m,n]=mini(list(1,3,1))