Finding optimal value for x
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to find the optimal (x) value:
While having possible minimum value for >> 2.4*cos(x)
And possible maximum value for >> (35.4/1.7(sin(x))2+(cos(x))2)+274.5
Please give me some hints on what function/algorithm I should start with.
Appreciate any help
0 Kommentare
Antworten (1)
James Tursa
am 7 Jun. 2021
Bearbeitet: James Tursa
am 7 Jun. 2021
You could try this function to get numeric values for local minimums:
https://www.mathworks.com/help/matlab/ref/fminsearch.html?searchHighlight=fminsearch&s_tid=srchtitle
Or you could take the derivative, set it = 0, and solve for x.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Problem-Based Optimization Setup 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!