FPEAKN

Purpose:

Sets the crosshair cursor on the next peak above a specified threshold.

Syntax:

FPEAKN(win, threshold, width)

win

-

Optional. A Window, defaults to the current Window.

threshold

-

Optional. A real, the minimum above which the next peak will be found. Defaults to the last threshold.

width

-

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

Example:

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

fpeak(0)

fpeakn

 

FPEAK(0.0) sets the cursor position to the first peak above 0.0. FPEAKN sets the cursor to the next peak. Type CURSORON to display the crosshair cursor.

Remarks:

FPEAKN 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.

 

FPEAK must be executed before FPEAKN is used.

See Also:

CURPOS

CURSORON

FIND PEAKS AND VALLEYS

FMAX

FMIN

FPEAK

FPEAKP

FVALL

FVALLN

FVALLP

MAX

MIN