ANCY S GEORGE
TKM college of engineering kollam
自 2022 起处于活动状态
Followers: 0 Following: 0
Spoken Languages:
English
English
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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 1 个回答 | 0