LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

best fit curve

I want to implement the best fit curve for the data coming in to the array. I've tried looking at the examples with no end results and have also implemented the Levenberg VI to do so with the same outcome.
 
How can I plot the best fit curve for the points?
 
 
Thanks in advance!
0 Kudos
Message 1 of 2
(2,750 Views)
FredFred,

So are you having trouble graphing multiple plots or actually getting a best fit algorithm to work?  I did a small test using the Curve Fit Express VI and after configuring the options, I was able to wire the array data to the Signals input and then use the output to display the best fit of the data on a graph.  The output of the Express VIs are dynamic data type (DDT) so you should use the From DDT Express VI (Express >> Signal Manipulation palette) to convert it back to an 1D array of scalars.  Then I built a 2D array using the Build Array function and then wired that to a graph.  Is this what you are looking for?



Hope this helps!
Andy F.

Message Edited by Andy F. on 11-30-2005 04:31 PM

-----------------------------------------------------------------
National Instruments
0 Kudos
Message 2 of 2
(2,724 Views)