How can I find maximum of a function in MATLAB?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Gollapinni Karthik
am 5 Mai 2015
Kommentiert: Gollapinni Karthik
am 7 Mai 2015
How can I find the maximum value of a function in MATLAB? And that function has some subject to constrain criteria also.
0 Kommentare
Akzeptierte Antwort
Titus Edelhofer
am 5 Mai 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!