Error running optimization. index exceeds matrix dimensions.

조회 수: 2 (최근 30일)
hizaki
hizaki 2014년 4월 17일
댓글: hizaki 2014년 4월 17일
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
hizaki
hizaki 2014년 4월 17일
this is the screenshot of the function sir

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by