In some applications, parameters such as humidity, temperature, and pressure can affect data you collect. You can model the statistical data by performing regression analysis and gain insight into the parameters that affect the data.
The following block diagram shows how to fit a line to a set of data points using the Linear Fit VI.
You can modify the block diagram to fit exponential and polynomial curves by replacing the Linear Fit VI with the Exponential Fit VI or the General Polynomial Fit VI.
The following multiplot graph shows the result of fitting a line to the noisy data set.
Refer to the General LS Linear Fit VI for information about using that VI for curve fitting analysis.