LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Levenberg Marquardt is not working....

here is my code. I know it's long and very badly written. but under the core of the program section I am usign this "Levenberg Marquardt" to fit my data but for some strange reasons I am not getting any output from the program.

Is it possible for someone to look at the program and tell me what and where I did wrong.

thanks in advance

In anticipation of reply
Priiyank
0 Kudos
Message 1 of 4
(2,926 Views)
Perhaps you could retry to post the vi, since it seems to not be here.

The 3 most common reasons (IMO) for a failed fit are 1) poor initial guesses which cause an under/over flow or 2) using the proper scaled values for the fit (see: http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/6f23b120b7a2c585862566f700130a0a?OpenDocument) or 3) using an invalid format for the model equation.

If you wire an indicator to the Error Output node of the L-M vi does anything come up? This can be pretty useful in diagnosing the issue.


2006 Ultimate LabVIEW G-eek.

Message 2 of 4
(2,926 Views)
If you wire an indicator to the Error Output node of the L-M vi does anything come up? This can be pretty useful in diagnosing the issue

YES.. this is the erro no. -23033.

HELP......
0 Kudos
Message 3 of 4
(2,926 Views)
-23033 is a VectorDimError.

This means that one or more inputs are not of equal lengths. That is to say that the X-Array and Y-array MUST have exactly the same number of elements in them (assuming Std.Dev. isn't wired - if it is, it also needs to be the same length as X and Y). Double check the X and Y array sizes.


2006 Ultimate LabVIEW G-eek.

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