Solving overdetermined equation with constraints.

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?

 采纳的回答

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

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Systems of Nonlinear Equations 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by