LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Levenberg Marquardt.vi - how can I control max error?

I am using the Levenberg Marquardt.vi to generate a non linear curve fit. The results are OK, but could be better. There doesn't seem to be a way to specify the max allowable error - this must be set within the vi, and then the vi terminates too quickly (before the max iterations are used). Thanks, Mike
0 Kudos
Message 1 of 2
(2,401 Views)
There is a terminal on top of the VI for standard deviation. Pass it smaller values. Essentially the VI works by itterating until its potential output has an error less than the standard deviation or max iterations is reached.
0 Kudos
Message 2 of 2
(2,401 Views)