LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

nonlinear regression

Solved!
Go to solution

Hi,

 

I need to perform a nonlinear regression in LabWindows but I do not mange to find a function for that...

I know that there is s function for linear regression (LinFit) but could not find one for nonlinear...Is there such function in CVI?

Or maybe somebody has an algorithm for that...

Any help is much appreciated!

 

Thanks,

ZZippo 

0 Kudos
Message 1 of 3
(3,646 Views)
Solution
Accepted by topic author ZZippo

Hi ZZippo,

 

provided that you have the AdvancedAnalysisLibrary there are three related functions for nonlinear curve fitting:

 

NonLinearFit (, , , , , , , );

NonLinearFitWithMaxIters (, , , , 100, , , , );

NonLinearFitWithWeight (, , , , , 100, , , , , );

 

the latter two provide more options than the first.

 

If you don't have this library (i.e. the full version of CVI instead of the base version) you can use the following implementation of Levenberg-Marquardt :http://www.ics.forth.gr/~lourakis/levmar/

 

0 Kudos
Message 2 of 3
(3,629 Views)

Hi Wolfgang,

 

Thank you for your answer!

 

Regards,

ZZippo

0 Kudos
Message 3 of 3
(3,608 Views)