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

回答