Failure in initial user-supplied objective function evaluation

1 回表示 (過去 30 日間)
ASWATHI V
ASWATHI V 2019 年 4 月 7 日
コメント済み: ASWATHI V 2019 年 4 月 9 日
abc = @fun1;
x0 = [0,0];
lb = [0,0];
ub = [0.7,0.7];
x = simulannealbnd(abc,x0,lb,ub)

回答 (1 件)

Torsten
Torsten 2019 年 4 月 8 日
編集済み: Torsten 2019 年 4 月 8 日
Try
abc = @fun1;
x0 = [0,0];
f = abc(x0);
and see what is returned in f.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by