fitting in equations solutions

fitting in equations solutions

Post by Torsten He » Thu, 16 Apr 2009 15:14:25


> If I have several equations:

Define
f1 = x^2 + y - 10
f2 = x^3 - 2*y^2
f3 = x - y - 1
and use lsqnonlin from the optimization toolbox.

Best wishes
Torsten.
 
 
 

fitting in equations solutions

Post by Ruoyu X » Thu, 16 Apr 2009 18:19:02

If I have several equations:

x^2 + y = 10
x^3 / y^2 = 2
x - y = 1

Obviously, the variables are more than the equations. It seems that there is no way to solve the equations.

But if I just want to know the solutions for x and y which can make the smallest errors for every equation, what can I do?

The problem seems to be a little different from curve fittings.

 
 
 

fitting in equations solutions

Post by Ruoyu X » Thu, 16 Apr 2009 22:58:01


It really works! Thank you!