![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/18690122_1591264286369_DEF.jpg)
ShravanKumar Shivappa Masalvad
Followers: 0 Following: 0
Feeds
提问
Optimize the weekly delay
clc; clear all; close all; a=xlsread('C:\Users\Admin\Desktop\ArcSWAT_Install\26092021\Sir_RLR\RLR.xlsx'); car=a(:,2); week_de...
3 years 前 | 0 个回答 | 0
0
个回答提问
Index in position 2 exceeds array bounds (must not exceed 2). Error in fun1 (line 5)
%%Minimze function out =fun1(x) A1=x(:,1) A2=x(:,2) A3=x(:,3) %%Let's write the objective fucntion fx=8.*A1+10.*A2+2.*A3; ...
3 years 前 | 1 个回答 | 0
1
个回答提问
Index in position 2 exceeds array bounds (must not exceed 2)
format short clear all clc %% INITIALIZING THE PARAMETERS fun=@fun3bar; N=300; D=2; lb=[0 0]; ub=[1 1]; itermax=100; %...
3 years 前 | 1 个回答 | 0