Hi
in my previous topic we reached to a conclusion that I need to find the minimum value of the following function .
[math]
cost(a, b, c) = \Sigma_i (y_i - a x_i^b - c)^2
[/math]
"yi" and "xi" are the result of a complicated analysis on my lab data and I need to find a,b,c in a way that COST(a,b,c) function be minimum.
I know its simple to use mathematical softwares like matlab or mathematica. but I have to develop my program with c++ so I need to know the algorithm of this process.
can you help me with that ? I would be appreciated