02-28-2012 10:56 AM - edited 02-28-2012 11:01 AM
I have two signals which I want to make a fit to simultaneously and optimizing the fitting on both. Both function are dependent on 4 input parameters each. In additon there are two input variables which are held constant, and an independent variable X. The fitting function is attached as a VI (LV 8).
I'm not sure about the best of doing this using the fitting or optimization functions in LabVIEW.
The signals look like this:
02-28-2012 11:19 AM - edited 02-28-2012 11:20 AM
All fitting tools in LabVIEW use double precision, so it is not clear why you have chosen SGL for the parameters and outputs.
In any case, you could simply append the two data arrays for fitting and all the regular nonlinear fitting (VI model) will work. You don't need to wire [X]. See how far you get.
02-28-2012 11:59 AM
What do you mean append. Where? Do you mean build a 2D array?
02-28-2012 12:15 PM
02-28-2012 01:42 PM
My problem is that I still get an array as output and not just a single value like in the Optimize Extended Rosenbrock.vi example.
02-28-2012 01:46 PM
Use Nonlinear Curve Fit VI instead.