LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Polynomial curve fitting

There is the "General polynomial fit" in the math... fitting palette to get the polynomial coefficients given xy data.
 
Then there is "polynomial evaluation" in the math..polynomial palette that will calculate the polynomial function given the coefficients and x input.
 
Check the online help.
 


BTech Project wrote:
... then it should give me a polynomial y = x square

Y=x² is one special polynomial and since the coefficient is fixed at 1, there is nothing to fit. A typical second order polynomial is y=Ax²+Bx+C and the above Fitting VI will give you A, B, and C if you specify order=2. Of course if you want to fit for the special polynomial Y=Ax² or any other special subset, you could just set it up using the "general LS fit", also found in the fitting palette.
 
See how far you get. 🙂
0 Kudos
Message 11 of 11
(622 Views)