Finds the index of the minimum value of a series.
(row, col) = MINIDX(series)
Optional. A series. Defaults to the current Window.
An integer, the index of the minimum of the series.
(row, col) = MINIDX(series) returns both the row and column indices of the minimum value.
W2: gsin(100, .01)
returns 76, the index of the location of the minimum.
W2[minidx(W2)] == min(W2) == 1.0
verifies that minidx returns the index of the minimum.
(x, y) = fxyvals(-2, 2, .1, -2, 2, .1);
z = sin(x*y)
mi = minidx(z)
mi == 320
z[mi] == min(z) == -0.999942
W1: ones(10);W0[3, 4] = 0.5;
(r, c) = minidx(W1)
r == 3
c == 4
returns the row and column of the minimum of W1.
For tabular or XYZ data, MINIDX returns the index in "unraveled" form such that z[minidx(z)] == min(z).
Use (r, c) = minidx(series) to return the row and column indices of the minimum.
See MINLOC to obtain the location of the minimum in terms of x and y units.
See COLMINIDX to find the indices of the minimums for each column in a table.