08-05-2011 02:07 AM
The Linear fit.vi how does it work...?
could you explain me the algorithm?
my y as temperature y= -50 to 1250 deg C and x as voltage x=-5 to 5 v . i want to calculate the slope and intercept.
i know using linear fit.vi will get answer but i want to know about the algorithm...? can you explain me?
08-05-2011 02:41 AM - edited 08-05-2011 02:45 AM
Hi Balaji,
1) in your picture you're using -10 to 10 as input range in contradiction to your written description...
2) There's a context help for that function - and it also explains the used/available algorithms!
3) When the explanations given in the help aren't helpful enough for you: Have you searched Wikipedia for explanations of used algorithms?
08-05-2011 02:44 AM
Hello,
the Linear fit VI can use the iterative general Least Square method and the Levenberg-Marquardt method, depending on the method terminal.
Please see the help page of the Linear fit VI for detailed algorithm descriptions.
Daniel