vpasolve all solutions?

12 ビュー (過去 30 日間)
bil
bil 2023 年 1 月 11 日
コメント済み: Rik 2023 年 4 月 4 日
Hey all,
I was wondering if there was an efficient way of finding all the unique solutions to an equation using vpasolve in a given interval? I understand one can use the "Random" option to probe the possible solutions in the interval but is there a way to know you've found all the solutions? I understand that there could be no real answer to this question but just wanted to see if there were some possible workaround.
Thanks!

回答 (1 件)

Rik
Rik 2023 年 1 月 11 日
There might be a direct way, but at the very least there is a workaround:
Since you can specify an initial estimate, you can provide each end point of your interval as an endpoint. If the results are different you provide the midpoint between the two solutions. You keep adding midpoints as initial estimates as long as the results are different. That way you are highly likely to find all solutions.
  1 件のコメント
Rik
Rik 2023 年 4 月 4 日
Did my answer help you solve the problem?

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

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by