qinterp

From STX Wiki
< Programmer Guide‎ | Command Reference‎ | EVAL
Revision as of 17:31, 18 November 2010 by Admin (talk | contribs) (1 revision: Initial import)
Jump to navigationJump to search
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