find the minimum the function using GA

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

1 件のコメント

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

サインインしてコメントする。

 採用された回答

Matt J
Matt J 2015 年 5 月 3 日
編集済み: Matt J 2015 年 5 月 3 日

0 投票

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))

その他の回答 (0 件)

カテゴリ

質問済み:

2015 年 5 月 3 日

編集済み:

2015 年 5 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by