Maximum(G)

NAME
maxi - maximum

CALLING SEQUENCE
[m [,k]]=maxi(V)

PARAMETERS

V   : real vector or matrix or list.

DESCRIPTION
For V a vector, matrix or list, maxi(V) is the largest element V.

For matrices, [m,k]=maxi(V) gives in addition the index of the maximum.

EXAMPLE
[m,[k]]=maxi([V1,V2,...,Vn])
returns the vector m:
m(i)=maxi([V1(i),....,Vn(1)])
the vector k contains for each m(i) the number of the first Vj(i) achieving the maximum.
[m [,k]]=maxi(list(v1,...,vn))
is an equivalent syntax.

SEE ALSO
sort, find, mini