Error running optimization. index exceeds matrix dimensions.

this is the function...and i tried to optimize it using optimization toolbox (nonlinear unconstrained)
function F = fun(x)
F = -0.266*x(6) + 48.19*x(5) - 3424.2*x(4) + 121708*x(3) - 2*e(6)*x(2) + 2*e(7)*x - 6*e(7);
end
could you please help me?

3 件のコメント

Walter Roberson
Walter Roberson 2014 年 4 月 17 日
We need to see your call to the toolbox function.
hizaki
hizaki 2014 年 4 月 17 日
hizaki
hizaki 2014 年 4 月 17 日
this is the screenshot of the function sir

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeProblem-Based Optimization Setup についてさらに検索

タグ

質問済み:

2014 年 4 月 17 日

コメント済み:

2014 年 4 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by