find the minimum the function using GA

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

1 Commento

error occur
We have no way to be sure what error you saw. You should paste the error messages into your Question.

Accedi per commentare.

 Risposta accettata

Matt J
Matt J il 3 Mag 2015
Modificato: Matt J il 3 Mag 2015
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))

Più risposte (0)

Richiesto:

il 3 Mag 2015

Modificato:

il 4 Mag 2015

Community Treasure Hunt

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

Start Hunting!

Translated by