Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Curve Fitting in LabVIEW

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

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.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit