Index of minimum

Syntax: s = IMIN(x)

The IMIN function only accepts a vector argument, and returns the index of the minimum value of that vector. The search begins with index 1, so the minimum with the smallest index will be returned. The result is a scalar value.