find the minimum the function using GA

f(x,y) = (x-1)*sin(y)

1 Kommentar

Matt J
Matt J am 3 Mai 2015
error occur
We have no way to be sure what error you saw. You should paste the error messages into your Question.

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Matt J
Matt J am 3 Mai 2015
Bearbeitet: Matt J am 3 Mai 2015

0 Stimmen

One problem that I see: your 2 unknowns must be passed to obj as a single argument
obj=@(x) (x(1)-1).*sin(x(2))

Weitere Antworten (0)

Gefragt:

am 3 Mai 2015

Bearbeitet:

am 4 Mai 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by