photo

ANCY S GEORGE


TKM college of engineering kollam

2022년부터 활동

Followers: 0   Following: 0

Spoken Languages:
English

통계학

  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


Error "Supplied objective function must return a scalar value."
Hi,I am trying to minimize a function,but shows an error, Error using fmincon (line 641) Supplied objective function...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to plot 3D suraface and contour lines?
I want to plot the function X0=[0;0]; lb=[-10;10]; ub=[-10;10]; f=@(x)(2*x(1)+20/x(1)+2*x(2)+20/x(2)+120); x=fmincon(f,X0,[...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to correct the code?
In this code I optimize the objective function using fmincon.But I didnt get the correct output clc; clear all; gr=3;gs=8; ...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to optimize an objective function with repect to two variables using fmincon?
I want to maximize this objective function with respect to a and b using fmincon. max(-90a-90b+540) subjected to 3<=a ; b<=8

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to correct the error in code?
clc; clear all; a1=3;b1=8; G=[0;1.5;2;3.5;4;4.5;4.5]; L=[3.0;2.5;3.5;3.5;3.2;4.2;4.0]; H=[40;40;40;20;20;20;20]; k=...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Error ' Index in position 2 exceeds array bounds'.how to correct this.
When run it, shows "Index in position 2 exceeds array bounds. Index must not exceed 2. Error in practice (line 20) while(a...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to correct my code?
In my problem there are 7 number of peoples and each one have different salary.Based on a condition they are divide as lenders,b...

2년 초과 전 | 답변 수: 1 | 0

1

답변