Programmer Guide/Command Reference/EVAL/qinterp: Difference between revisions

From STX Wiki
Jump to navigationJump to search
(initial import)
 
m (1 revision: Initial import)
(No difference)

Revision as of 17:31, 18 November 2010

qinterp

Lays a parabola through three points around each peak value and calculates the interpolated peak. The result is a one or two row vector or matrix.

Usage:

qinterp(x, y, ipeak, nwidth)

Parameters:
x
The number for x[i] = i*number or the x-scale vector.
y
The data vector (function).
ipeak
The indices of the peak values or the center of the interpolation.
nwidth
The width of the interpolation. The default is 1.
Return Type:

vector or matrix

Result:

row 1 = xpeak[]

row 2 = ypeak[]

Navigation menu

Personal tools