Hi,
The LinearFit method firs the data set(x,y) to the linear model. This function is
overloaded , meaning that, several methods with the same name can exist and are distinguishable by the parameters accepted and the return value delivered.
For the most basic implemented LinearFit Method use
LinearFit(ByVal Double(), ByVal Double()) As Double(). This overloaded implementation of the LinearFit method will fit the data set (x, y) to the linear model using the Least Square method and default values for tolerance and weight. The function is expecting two double arrays, one for the x-data and one for the y-data. A double array of the filtered data will be returned. This information can be found in the
Measurement Studio Help for
CurveFit.LinearFit Method.
-Adri K
Adri Kruger
National Instruments
LabVIEW Product Marketing