08-28-2010 11:51 AM
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
Solved! Go to Solution.
08-29-2010 07:39 AM
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/
08-30-2010 03:04 AM
Hi Wolfgang,
Thank you for your answer!
Regards,
ZZippo