Problem regarding using fminunc
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
christina
il 17 Gen 2019
Risposto: Star Strider
il 17 Gen 2019
I'm trying to minimize the spectral norm and run into this problem. How do I solve it?![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/144712/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/144712/image.png)
0 Commenti
Risposta accettata
Star Strider
il 17 Gen 2019
One obvious approach is to use an options structure:
opts = optimoptions('fminunc', 'MaxFunctionEvaluations',1E+6);
x0 = ...;
x = fminunc(fun,x0,opts)
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Get Started with MATLAB in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!