> 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.

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.

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.

1. Fitting the solution of a differential equation to a data set

2. Define equation to fit data using curve fitting toolbox

3. Any way to vectorize an equation whose current solution depends on it's previous solution?

4. Using the solution of a differential equation and minimizing the solution.

5. handling exact solution from solve vs numerical solution from fsolve for same equation

6. Passing array to a fit function which is being fitted with the function FIT

7. How do I enter a quadratic and cubit-fit equations?

8. fitting data to a known equation curve

9. Curve fitting data to an extended Antoine equation

10. Fitting data to a set of equations conditionally

11. Curve fitting custom equation outside GUI?

13. How do I find an best fit equation in the form y=Ae^kx?

14. Displaying fitting equation

15. Can I fit an equation to points entered on a front panel graph?

3 post • Page:**1** of **1**