DADiSP Worksheet Functions > Function Categories > Peak Analysis > FINDMIN
Returns the X and Y value of the minimum of a series.
FINDMIN(series)
(x, y, z) = FINDMIN(series)
series |
- |
A series or array. |
An XY series or separate scalars:
b = findmin(series)
(x, y) = findmin(series)
returns the X and Y values as separate scalars.
(x, y, z) = findmin(series)
returns the X, Y and Z values as separate scalars.
a = {1, 12, 0, 5};
b = findmin(a);
(x, y) = findmin(a, 0);
b == xy({1}, {12})
x == 1.0
y == 12.0
W1: gnorm(100,.1):overp(findmin(curr),lred);setsym(CIRCLE,2)
marks the MIN of W1 with a red circle.
FINDMIN returns an XY series with the same units as the input series. If the series is XYZ or a table (i.e. PLOT3D, DENSITY or CONTOUR), FINDMIN returns an XYZ series.
(x, y) = findmin(series) returns the first occurrence of the maximum in series.