DADiSP Worksheet Functions > Function Categories > Peak Analysis > FMIN

 

FMIN

Purpose:

Places the cursor on the minimum value of the series.

Syntax:

FMIN(win, curactive)

win

-

Optional. A Window, defaults to the current Window.

curactive

-

Optional. An integer, the cursor activate method:

0:

None, do not activate the cursor

1:

Activate the cursor (default)

2:

Activate the cursor only if window active or zoomed

Example:

W1: gsin(100, 0.01)

fmin

 

places the cursor on the 76th point of the sinusoid where y = -1.0. The cursor is displayed and activated.

Example:

W2: gcos(1000, 0.001, 2)

fmin(w2, 0)

 

places the cursor on the 251st point of the sinusoid where y = -1.0. The cursor is not displayed.

Remarks:

If there is more than one valley of the same depth, FMIN finds the first one.

 

FMIN sets the cursor position to the minimum point of the series. If curactive is 0, the cursor is not activated and data values are not displayed. In this case, use CURSORON to activate the cursor.

See Also:

CURPOS

CURSORON

FMAX

FIND PEAKS AND VALLEYS

MAX

MIN