How to solve two non-linear equation simultaneously?
1 view (last 30 days)
Show older comments
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
0 Comments
Answers (2)
Alan Weiss
on 6 Mar 2014
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
on 6 Mar 2014
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.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!