I am try to solve highly non-linear equations in matlab but unable to do so i already use solve command but it shows it cannot find explicit solution and use the fmincon

1 次查看(过去 30 天)
But in my problem i use theta and phi as 2 variable which are between the certain range but fmincon and fminbnd gives only the final results so how could we get all the results for the solution. So please help me to find all the solutions. You cal also see the attach files for the programe

回答(1 个)

Walter Roberson
Walter Roberson 2017-7-11
You do not indicate what the equation is.
The energz function that you have in funn does not cross zero in the real domain: it has a minimum value at (pi/2, pi/2) at which location it is exactly equal to 1. It repeats another two times within the boundary for x(2) -- that is, (pi/2, 3*pi/2) is also a minima for it.
In the complex domain, there are 8 solutions in x2 for each x1 value, not counting periodicity.

类别

Help CenterFile 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