DADiSP Worksheet Functions > Function Categories > Peak Analysis > MIN

 

MIN

Purpose:

Determines the minimum value of a series or two expressions.

Syntax:

MIN(series)

(val, idx) = MIN(series)

MIN(val1, val2)

series

-

Optional. A series. Defaults to the current Window.

val1

-

Any integer, real or series.

val2

-

Any integer, real or series.

Returns:

A scalar. MIN(val1. val2) can return a series.

 

(val, idx) = MIN(series) returns both the minimum value and the index of the minimum.

Example:

W1: gsin(100, 0.01)

min(W1)

 

returns –1.0

Example:

(v, idx) = min(W1)

 

v == -1.0

idx == 76

Example:

min(10, 20) returns 10.

Example:

min({2, 3, 4}, 3) returns the series {2, 3, 3}.

Example:

min({1, 2, 3}, {0, 4, 2}) returns the series {0, 2, 2}.

Remarks:

See COLMIN to determine the minimums of array columns.

 

See VMIN to compare more than two expressions.

 

See MINLOC to obtain the location of the minimum.

 

See MARKMIN to mark the minimum value of a series with a symbol.

See Also:

COLMIN

FIND

FMAX

FMIN

MARKMIN

MAX

MINIDX

MINLOC

ROWMIN

VMAX

VMIN

XMINMAX