![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/6848964_1522118432318_DEF.jpg)
Sriram Paravastu
自 2015 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
I have tried running this code and I keep getting this following error. Attempted to access P(1,2); index out of bounds because numel(P)=1. Error in Assignment_7 (line 24) A = [P(1,1) P(1,2) P(1,3) P(1,4) P(1,5) P(1,6) P(1,7) P(1,8) FTR1 FTR2 FTR3
clear clc Bij = [0 33.33 0 33.33 153.8 0 0 0; 0 0 100 0 0 0 0 0; 0 0 0 33.33 0 0 0 0; 0 0 0 ...
8 years 前 | 2 个回答 | 0
2
个回答提问
I am encountering an error that says "Error using fmincon (line 289) Row dimension of A is inconsistent with length of b. Error in HW7 (line 64) [Solution C] = fmincon(@obj,x0,A,B,Aeq,Beq,lb,ub); "
clear clc FTR1 = 0; FTR2=0; FTR3=0; FTR4=0; FTR5=0;FTR6=0; Bij = [0 33.33 0 33.33 153.8 0 0 0; 0 0 100 0 0 0 ...
8 years 前 | 1 个回答 | 0