How to set an upper bound for the solution obtained using vpasolve?

5 ビュー (過去 30 日間)
Nitheesh S Pillai
Nitheesh S Pillai 2020 年 5 月 25 日
コメント済み: Nitheesh S Pillai 2020 年 6 月 11 日
I am new to MATLAB and I am using vpasolve to obtain values of 3 unknown parameters. However, I need to make sure that one parameter should stay below a certain value. How do I impose that?
  2 件のコメント
darova
darova 2020 年 5 月 25 日
DId you try to change initial guess?
Nitheesh S Pillai
Nitheesh S Pillai 2020 年 6 月 11 日
Thanks!

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

採用された回答

Nishant Gupta
Nishant Gupta 2020 年 5 月 28 日
You can specify the range of solutions in vpasolve function as following:
S = vpasolve(x^6 - x^2 == 3, x, [0 2])
In this case, only those solutions will be returned as output which are lying in the range [0,2]

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFunction Creation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by