查看单个帖子
旧 2008-07-08, 16:41   #1
cnhacker
初级会员
 
注册日期: 2008-06-14
年龄: 41
帖子: 5
声望力: 0
cnhacker 正向着好的方向发展
微笑 Attempted to access y(3); index out of bounds because numel(y)=2.

我在程序调试中遇到了一下问题,请大家多多帮忙。 先 thanks!

??? Attempted to access y(3); index out of bounds because numel(y)=2.

Error in ==> li9_5_4 at 14
dy(3)=(-i*w-eta*J*(1+2*n))*y(3)+eta*J*(1+2*n)*y(4)-2*delta*epsilon/(delta^2+epsilon^2)*J*(n*y(1)-(1+n)*y(2));
cnhacker 当前离线   回复时引用此帖