Model 4200A-SCS Parameter Analyzer Reference Manual
LINFITSLP Formulator function
Finds a linear equation and returns the slope.
Usage
LINFITSLP(VX, VY, STARTPOS, ENDPOS)
VX
VY
STARTPOS
ENDPOS
Details
Finds a linear equation and returns the slope as follows:
•
Finds a linear equation of the form Y = a + bX from two sets of X and Y values selected from
two columns (vectors), VX and VY. This equation corresponds to a line drawn through two points
on a curve that is created by plotting the values in VY against the values in VX. The two points are
specified by the arguments STARTPOS and ENDPOS.
•
Returns the slope of the linear equation (value of b in Y = a + bX).
If a VX or VY value at either STARTPOS or ENDPOS is an invalid number (that is, the value is #REF),
the function will not return a valid result.
To return the slope of a linear regression fit for two columns (vectors), use the REGFITSLP function.
Example
RESISTANCE = 1/LINFITSLP(rESV, RESI, FIRSTPOS(rESV), LASTPOS(rESV))
Also see
REGFITSLP
4200A-901-01 Rev. C / February 2017
The name of any column (vector) listed under Columns
The name of any column (vector) listed under Columns
The row number (index) of the first set of X and Y values
The row number (index) of the second set of X and Y values
(on page 6-261)
Section 6: Clarius
6-251