Hi Matt P,
the " general polynomial fit.vi" will also return an array of the coeficents. These are returned in assending order starting with the constant term.
The array you are plotting is the polynomial evaluated using the returned coeficients at the point you supplied. Or...
V = c + bx + ax^2
where
V= Voltage
X= Position
The extremes of V will occur where dV/dx=0.
Differetiating the above expression we get;
dV/dx = b + 2ax
Setting dV/dx equal to 0 and solving for x;
0 = b + 2ax
-b = 2ax
x = -(b/2a)
So the exteme occurs at -b/2a.
Use
the element at index "2" for a,
and
the element at index "1" for b
and you have your minimum.
Ben