ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

curve fitting

I have some data that I wish to fit to a curve in the form of a/(x^4+bx^2+c). What is my best approach?
0 Kudos
Message 1 of 2
(2,761 Views)
Hi,
you can do it in following way:
1. As initial data you have two arrays {Xi} and {Yi}
2. Calculate {Ti}={Xi*Xi}
3. Calculate {Zi}={1/Yi}
4. Make the polynomial fit (Functions->Mathematics->Curve fitting->General polynomial fit.vi) of second order for points {Ti,Zi}
5. You will get your coefficients (I hope).

Good luck.

Oleg Chutko.
0 Kudos
Message 2 of 2
(2,761 Views)