MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   Attempted to access y(3); index out of bounds because numel(y)=2. (https://www.labfans.com/bbs/showthread.php?t=3852)

cnhacker 2008-07-08 16:41

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));

remnant 2008-07-08 17:50

y(3)不存在,边界溢出了。


所有时间均为北京时间。现在的时间是 11:08

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.