Failure in initial user-supplied objective function evaluation

1 Ansicht (letzte 30 Tage)
ASWATHI V
ASWATHI V am 7 Apr. 2019
Kommentiert: ASWATHI V am 9 Apr. 2019
abc = @fun1;
x0 = [0,0];
lb = [0,0];
ub = [0.7,0.7];
x = simulannealbnd(abc,x0,lb,ub)

Antworten (1)

Torsten
Torsten am 8 Apr. 2019
Bearbeitet: Torsten am 8 Apr. 2019
Try
abc = @fun1;
x0 = [0,0];
f = abc(x0);
and see what is returned in f.

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by