How to solve two non-linear equation simultaneously?
显示 更早的评论
Dear users, I want to solve two non-linear equation at same time with some condition, the complete description of the problem is attached, any comments? Thanks

回答(2 个)
Alan Weiss
2014-3-6
0 个投票
Perhaps the suggestion in this part of the documentation can help, particularly the section titled "Set Equations and Inequalities as fmincon Constraints."
Alan Weiss
MATLAB mathematical toolbox documentation
John D'Errico
2014-3-6
0 个投票
Are the other parameters that you provide ranges for, such as lambda, lambda0, Nv, all known? You state a preference for one value for one of these. If they are known values, then why a preference? If they are unknowns, then you really have two equations, with 6 unknowns.
Next, you state that you wish to find the values of u and u0, but they are simple variables that live only on the right hand sides of each equation. So if you DID know the other variables, they are simply derived by evaluation. Even if you don't know those other variables, you can do no better than to express u and u0 as functions of the other variables.
I think you need either to explain yourself far better, or carefully rethink your problem.
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!