MATLAB: Solving overdetermined equation with constraints.

fsolveoverdetermined equations

I have to solve overdetermined equation having more equations than unknowns. I tried with fsolve but it is giving negative values while I want positive values for unknowns. How can I put constraints in fsolve?

Best Answer

Use the variables squared in the equations for which you want to get positive solutions.
Best wishes
Torsten.