Feeds
提问
What is wrong with this code?
alpha1=0.1; eps=0.05; gamma=0.34; x1=0.5; x2=0.8; bheta1=0.11; k1=0.65; f=@(x1)[(alpha1-eps*gamma)x1-(alpha1/k1)(x1)^2-bh...
6 years 前 | 1 个回答 | 0
1
个回答提问
Index in position 2 exceeds array bounds(must not exceed 3), why am i getting this error?
A=[15 6 3;2 11 -3;5 -2 9]; B=[16;5;8]; P=[0;0;0]; Max=100; disp('Gauss Seidal Method'); disp('x1 x2 x3') for k=1:max ...
6 years 前 | 1 个回答 | 0

