find the minimum the function using GA

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

1 commentaire

Matt J
Matt J le 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.

Connectez-vous pour commenter.

 Réponse acceptée

Matt J
Matt J le 3 Mai 2015
Modifié(e) : Matt J le 3 Mai 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))

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by