LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

exponentaial curve fitting

Solved!
Go to solution

Hi,

  

  The exponentaial model for curve fitting in LabVIEW is y=a*exp(b*x). Is it possible to curve fit a model y=a-a*exp(b*-x). One example of this model is the voltage of the capacitor of a RC circuit when applied a DC voltage.

 

   Thanks for help!

 

   Tom

 

0 Kudos
Message 1 of 4
(3,057 Views)
Solution
Accepted by tom_z
Yes, just use the generic nonlinear curve fit and write your own model. 😉
Message 2 of 4
(3,036 Views)
Thanks! It works.
0 Kudos
Message 3 of 4
(3,009 Views)

Hi Altenbach & Tom_z

 

Very pleased to find this old discussion. Just what I needed to achieve on a project I am working on, and after reading this and a bit of effort on the model it works a treat.

 

One thought. This vi has two polymorphic methods, manually selected. You can either use the function model method or the function string method. I got the function model method working, but when I tried the function string method I couldn't make it work. Is it coincidence that all the examples use the function model method?

 

Best Regards,

 

Bandit.

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