FPEAK

Purpose:

Sets the crosshair cursor to the first series peak above a specified threshold.

Syntax:

FPEAK(win, threshold, width)

win

-

Optional. A Window, defaults to the current Window.

threshold

-

Optional. A real, the value above which the first peak will be found. Defaults to the minimum value of the series.

width

-

Optional. An integer, the minimum number of points above the threshold. Defaults to 1.

Example:

W1: gsin(128, 1/128, 4)

fpeak(0);cursoron

 

The crosshair cursor is set to the first peak above 0.0. The crosshair appears automatically if you are in an activated Window. CURSORON will activate the cursor.

Remarks:

FPEAK sets the cursor position to the maximum point of the peak but does not display point values nor does it provide a movable cursor.

 

Use CURSORON to activate cursor.

See Also:

CURPOS

CURSORON

FIND PEAKS AND VALLEYS

FMAX

FMIN

FPEAKN

FPEAKP

FVALL

FVALLN

FVALLP

MAX

MIN