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

Fitting VIs (Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Owning Palette: Mathematics VIs

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

Examples

The VIs on this palette can return mathematics error codes.

Palette ObjectDescription
Constrained Nonlinear Curve FitUses either the Levenberg-Marquardt algorithm or the trust-region dog-leg 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 LS 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-squares solution.
General Polynomial FitReturns the polynomial fit of polynomial order for a data set (X, Y) using the Least Square 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 least squares set of coefficients 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 coefficients. You must manually select the polymorphic instance to use.
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.
Power FitReturns the power fit of a data set (X, Y) using the Least Square, Least Absolute Residual, or Bisquare method.


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

Examples

Refer to the following VIs for examples of using the Fitting VIs:

  • labview\examples\analysis\regressn.llb
  • labview\examples\math\optimiz.llb

Resources


 

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