How can I find maximum of a function in MATLAB?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Gollapinni Karthik
el 5 de Mayo de 2015
Comentada: Gollapinni Karthik
el 7 de Mayo de 2015
How can I find the maximum value of a function in MATLAB? And that function has some subject to constrain criteria also.
0 comentarios
Respuesta aceptada
Titus Edelhofer
el 5 de Mayo de 2015
Hi Gollapinni,
usually by finding the minimum of "-f". How to do this depends on your function. Good starting point is fminsearch, or, if you have constraints, fmincon from Optimization Toolbox.
Titus
4 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Problem-Based Optimization Setup en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!