Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Fitting VIs

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Mathematics VIs

Requires: Full Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Fitting VIs to perform curve fitting analysis or regression.

Example

The VIs on this palette can return mathematics error codes.

Palette ObjectDescription
B-Spline FitUses B-spline fitting to smooth a data set (X, Y).
Constrained Nonlinear Curve FitUses either the Levenberg-Marquardt algorithm or the trust-region dogleg algorithm to determine the set of parameters that best fit the set of input data points (X, Y) as expressed by a nonlinear function y = f(x,a), where a is the set of parameters. You must manually select the polymorphic instance to use.
Cubic Spline FitUses cubic spline fitting to smooth a data set (X, Y) according to the balance parameter.
Curve FittingComputes the coefficients that best represent the input data based on the chosen model type.
Exponential FitReturns the exponential fit of a data set (X, Y) using the Least Square, Least Absolute Residual, or Bisquare method.
Fitting on a SphereDetermines the best spherical fit on a cloud of points in 3D.
Gaussian Peak FitReturns the Gaussian fit of a data set (X, Y) using the Least Square, Least Absolute Residual, or Bisquare method.
General Linear FitFinds the k-dimension linear curve values and the set of k-dimension linear fit coefficients, which describe the k-dimension linear curve that best represents the input data set using the Least Square, Least Absolute Residual, or Bisquare method.
General Polynomial FitReturns the polynomial fit of polynomial order for a data set (X, Y) using the Least Square, Least Absolute Residual, or Bisquare method.
Linear FitReturns the linear fit of a data set (X, Y) using the Least Square, Least Absolute Residual, or Bisquare method.
Logarithm FitReturns the logarithmic fit of a data set (X, Y) using the Least Square, Least Absolute Residual, or Bisquare method.
Nonlinear Curve FitUses the Levenberg-Marquardt algorithm to determine the set of parameters that best fit the set of input data points (X, Y) as expressed by a nonlinear function y = f(x,a), where a is the set of parameters. You must manually select the polymorphic instance to use.
Power FitReturns the power fit of a data set (X, Y) using the Least Square, Least Absolute Residual, or Bisquare method.
Power Fit CoefficientsReturns the amplitude and power of the power fit for a data set (X, Y) using the Least Square, Least Absolute Residual, or Bisquare method.
Power Fit IntervalsCalculates statistical intervals of the best power fit for a data set (X, Y). You must manually select the polymorphic instance to use.


SubpaletteDescription
Advanced Curve Fitting VIsUse the Advanced Curve Fitting VIs to compute additional fit statistics and coefficients.

Example

Refer to the Fitting.lvproj in the labview\examples\Mathematics\Fitting directory for an example of using the Fitting VIs.


 

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