Can Matlab be used to perform the optimization of a second order model to determine the optimum points?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have a second order model with 4 variables and I plotted the surface plot of the response against 2 of the variables while keeping the other 2 fixed at their mid level. Is there a code to locate the stationary or turning point of the plot
2 Commenti
John Petersen
il 6 Nov 2012
Not real clear on your question. What do you mean by stationary or turning point of the plot?
Risposta accettata
Alan Weiss
il 7 Nov 2012
You can find a minimum of a function using fminsearch. If you have optimization Toolbox, use fminunc.
You can find a maximum by negating the function and then searching for a minimum (see Maximizing Functions).
To find a saddle point, you will need to do more work, and will need Optimization Toolbox. Find the gradient of the function (if you have Symbolic Math Toolbox, you can do this easily, as shown in this example). Then find the root of the gradient using fsolve.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Nonlinear Optimization 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!