LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

linear fit without professional version. Workarounds anyone?

Hey, I'm trying to do some analysis and need to find the slope of a curve.  The drivers I have are trying to access the linear fit function but I don't have the pro version so I can't use it.  Anyone know of a free workaround VI possibly or any other solution?  

Thanks

0 Kudos
Message 1 of 4
(2,143 Views)

Search the web for algorithms for doing linear fits.  Once you find one, you should be able to program it yourself in LabVIEW.

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

Hi acolbourn

 

The linear fit just implements the least squares algorithm, this is pretty simple. 

 

You can read how this algorithm works here:

http://en.wikipedia.org/wiki/Least_squares

 

What parameters does the driver call the function with just X and Y as input, and best fit as output?

 

Regards, 

Anders Rohde

0 Kudos
Message 3 of 4
(2,134 Views)

Also the implemented algorithm and flowchart is explained in the help file

 

http://zone.ni.com/reference/en-XX/help/371361H-01/gmath/linear_fit/

 

 

Regards,

Anders

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