フィルターのクリア

function type double-> function_handle

1 回表示 (過去 30 日間)
Jungeon Kim
Jungeon Kim 2017 年 10 月 29 日
回答済み: Star Strider 2017 年 10 月 29 日
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.

採用された回答

Star Strider
Star Strider 2017 年 10 月 29 日
See the documentation on Function Basics (link), and Create Function Handle (link) for details.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeProblem-Based Optimization Setup についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by