11-05-2008 01:36 PM
Hello, I'm trying to fit the output of an XY graph which is (1-D Array of Cluster of 2 Elements(2x 1-D Array of Double[64-bit Real])). It seems like instead of having one array with two columns X,Y indexed persample number, I want to have a 1-D Array of Column Y , indexed by X. Any ideas?
Thanks.
I'm getting NaN on the slope and intercept of the Linear Fit VI outputs, is there a way to take the output of the XY Graph Local Variable feed it into the Curve Fitting VI and then add the fitted curve back into the XY graph? It seems like it does not like the Output of the Graph.
Thanks.
11-06-2008 05:13 PM
Hi Lefterisa
Can you post an example VI with your data in it so we can further look into this. Be sure to have as many elements in the X as you have in the Y for them to properly form coordinates. The basics behind this function is that it needs a set of x and y data to which it will return the best linear fit using the method specified in the input.
11-06-2008 05:17 PM