Failure in initial user-supplied objective function evaluation

1 visualizzazione (ultimi 30 giorni)
abc = @fun1;
x0 = [0,0];
lb = [0,0];
ub = [0.7,0.7];
x = simulannealbnd(abc,x0,lb,ub)

Risposte (1)

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

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by