Optimizing functions involving higher dimensions?
Mostra commenti meno recenti
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).
Risposte (1)
Torsten
il 6 Giu 2018
0 voti
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 Commenti
Rohit Gupta
il 6 Giu 2018
Torsten
il 6 Giu 2018
Then make the matrix a vector:
x = x(:)
Best wishes
Torsten.
Categorie
Scopri di più su Linear Least Squares in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!