Getting the real solutions of non-polynomial equations

2 ビュー (過去 30 日間)
Ratan Rathore
Ratan Rathore 2018 年 5 月 25 日
コメント済み: sloppydisk 2018 年 5 月 25 日
Hello everyone, I want real solutions sets for 10 variables(a5,a4,a3,a2,a1,b6,b5,b4,b3,b2) out of 10 equations. The equations are on this link: http://textuploader.com/dfe39
I'm getting imaginary solutions using vpasolve() command but I am interested in only real solutions. And if the exact solution is not possible then I want a solution with some tolerance to get real solutions

回答 (1 件)

sloppydisk
sloppydisk 2018 年 5 月 25 日
What do you mean when you say you only want real solutions, don't you just want the correct solutions? You could take the real part of the solutions by
real(mySolutions)
  2 件のコメント
Ratan Rathore
Ratan Rathore 2018 年 5 月 25 日
There are multiple sets of solutions possible. I am only interested in real solutions And if I just take the real part of the complex solutions then that will not satisfy those equations
sloppydisk
sloppydisk 2018 年 5 月 25 日
Ah, then you might try running vpasolve multiple times with option 'random' set to true to run it for multiple starting points, might be very slow though.
That or using fsolve from the optimization toolbox with multiple starting points .

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeHistorical Contests についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by