How can I install Optimization toolbox?

352 ビュー (過去 30 日間)
Ritesh Khan
Ritesh Khan 2020 年 3 月 31 日
コメント済み: Steven Lord 2024 年 3 月 27 日
function F =fun(x)
F(1) = exp(-exp(-(x(1)+x(2)))) - x(2)*(1+x(1)^2);
F(2) = x(1)*cos(x(2)) + x(2)*sin(x(1)) - 0.5;
end
command box
>> x0=[0;0];
>> fsolve(@(x) fun(x),x0)
'fsolve' requires Optimization Toolbox.
Why this is happening?

回答 (3 件)

Sai Bhargav Avula
Sai Bhargav Avula 2020 年 4 月 1 日
Hi,
If you have license for the toolbox you can refer the following link for installation:
Hope this helps!
  1 件のコメント
Faezeh Zarrin Khat
Faezeh Zarrin Khat 2022 年 2 月 21 日
That helped a lot, thank you!

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


phannatus
phannatus 2024 年 3 月 25 日

Jose Manuel Gabeiras Vazquez
Jose Manuel Gabeiras Vazquez 2024 年 3 月 27 日
How can I install fsolve?
  1 件のコメント
Steven Lord
Steven Lord 2024 年 3 月 27 日
The fsolve function is part of Optimization Toolbox. You can check if you have this toolbox installed by running the ver command and looking for a line starting with "Optimization Toolbox" in the displayed output.

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

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2019b

Translated by