For the Fitting VIs, the input sequences Y and X represent the data set y(x). A sample or point in the data set is (x i, y i), where x i is the i th element of the sequence X and y i is the i th element of the sequence Y.
![]() |
Note You can use the Fitting VIs only in the LabVIEW Full and Professional Development Systems. |
Some Fitting VIs return only the coefficients for the curve that best describe the input data while other Fitting VIs return the fitted curve. Using the VIs that return only coefficients allows you to further manipulate the data. The VIs that return the fitted curve also return the coefficients and the mean squared error (MSE). MSE is a relative measure of the residuals between the expected curve values and the actual observed values. Because the input data represents a discrete system, the VIs use the following equation to calculate MSE:
![]() |
(A) |
where f is the sequence representing the fitted values, y is the sequence representing the observed values, and n is the number of observed sample points.