Command Reference : Function Reference : Function Reference: C
  
 
@cimin
Index of the minimal value in each column of a matrix.
Syntax: @cimin(m)
m: matrix
Return: vector
Returns a vector containing the index (i.e, row number) of the minimal values of each column of m.
Examples
Let ID be an identity matrix. Then
= @cimin(id)
returns a column -vector whose elements are 2, 1, 1, ..., 1, i.e., a 2 followed by 1s.
Cross-references
See also @cimax, @cmax, and @cmin.