function type double-> function_handle
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Jungeon Kim
am 29 Okt. 2017
Beantwortet: Star Strider
am 29 Okt. 2017
I want to use optimizing function 'particleswarm'.
First, I have objective function, that is... function outpu =tttt(x1,x2,x3,x4,x5,x6) . . . outpu=~~ end
I input the 'particleswarm(tttt,6)', but there was error message (the type of fun has to be a 'function_handle'). How can I transform my function to be the type 'function_handle'?
Please help me.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Problem-Based Optimization Setup finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!