フィルターのクリア

Optimizing functions involving higher dimensions?

1 回表示 (過去 30 日間)
Rohit Gupta
Rohit Gupta 2018 年 6 月 6 日
コメント済み: Torsten 2018 年 6 月 6 日
I want to find minimum for function in higher dimension. I found minf_lbfgs() in tensorlab but it requires me to give gradient. Are there any tools which give me result without calculating gradient.
x = fminsearch(fun,x0) works only when x is matrix (or less).

回答 (1 件)

Torsten
Torsten 2018 年 6 月 6 日
Check out
https://de.mathworks.com/products/optimization.html
Usually, providing the gradient in MATLAB codes from the Optimization Toolbox is optional, but not necessary.
Best wishes
Torsten.
  2 件のコメント
Rohit Gupta
Rohit Gupta 2018 年 6 月 6 日
It works only till x is a matrix. If I give higher dimension it shows error!
Torsten
Torsten 2018 年 6 月 6 日
Then make the matrix a vector:
x = x(:)
Best wishes
Torsten.

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

カテゴリ

Help Center および File ExchangeProblem-Based Optimization Setup についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by