LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Solving Coefficients for Non-Linear Equation

I have the following equation that I need to solve a, b and c. y = a+bexp(-x/c). Is there a VI that is written to help me?
0 Kudos
Message 1 of 3
(2,915 Views)
i don't understand what do you suppose to mean?

you have not a,b and c values and you wanna solve 3 unknown variables with just one equation?
do you think is that possible?
even you had x and y values!
but if you have 4 values and you just want to find another variables value it's so easy
you can easily use a formula node.
i have write a simple program for you to solve this equation and i attached it to this answer.
it's with LabVIEW 5.
0 Kudos
Message 2 of 3
(2,915 Views)
It seems to me you have an array of data points (xi, yi) from an experiment, and you want to fit the data to your model equation, thus obtaining a, b, and c for the best fit.

Have a look at the "Nonlinear Levenberg-Marquardt fit".

The embedded "factory default function" is:

y= a0*exp(a1*x)+a2;

You should be able to use it after some small modifications.
0 Kudos
Message 3 of 3
(2,915 Views)