FMAX

Purpose:

Places the cursor on the maximum value of the series.

Syntax:

FMAX(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)

fmax

 

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

Example:

W2: gcos(1000, 0.001, 2)

fmax(w2, 0)

 

places the cursor on the 501th point of the sinusoid where y = 1.0. The cursor is not displayed.

Remarks:

If there is more than one peak of the same height, FMAX finds the first one.

 

FMAX sets the cursor position to the maximum 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

FMIN

FIND PEAKS AND VALLEYS

MAX

MIN