From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement Non linear Curve fitting (lsqcurvefit of matlab) in Labview

Hi Labview Team,

 

I am looking a way to implement "lsqcurvefit" command of matlab in Labview to do some curve fitting ; basically to  Solve nonlinear curve-fitting (data-fitting) problems in least-squares sense, at present I couldn't find a better way to implement it. Can you please give me some suggestion on this to how to implement this " curve-fitting: on labview.

 

Thanks,

 

Ankit Gupta

0 Kudos
Message 1 of 4
(4,312 Views)

Are you aware of the 'lsqfit' function in the MathScript RT Module?  MathScript RT Module 2010 help: http://zone.ni.com/reference/en-XX/help/371361G-01/lvtextmath/msfunc_lsqfit/.

0 Kudos
Message 2 of 4
(4,308 Views)

 

 

ohk...thats new for me...I was not aware of this. I will try this and see if this is good  for me.

 

Thanks,

 

Ankit G

0 Kudos
Message 3 of 4
(4,294 Views)
You did not say you have the mathscript module. Do you? In any case, labview has a rich set of native nonlinear fitting tools. This seems like a better option.
0 Kudos
Message 4 of 4
(4,283 Views)