Optimizing functions involving higher dimensions?
显示 更早的评论
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
2018-6-6
0 个投票
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
2018-6-6
Torsten
2018-6-6
Then make the matrix a vector:
x = x(:)
Best wishes
Torsten.
类别
在 帮助中心 和 File Exchange 中查找有关 Linear Least Squares 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!