atImin
Syntax
atImin(location, value)
Arguments
location and value are vectors/matrices/tables of the same dimensions.
Details
Find the position of the element with the smallest value in location, and return the value of the element in the same position in value. If there are multiple identical minimums in location, return the position of the first minimum.
If location and value are matrices, conduct the aforementioned calculation with each column of location and the corresponding column of value.
atImin(location, value)
is equivalent to
value[imin(location)]
.