MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   【求助】有个问题请教大家 (https://www.labfans.com/bbs/showthread.php?t=1067)

luruiliu 2008-01-06 13:11

【求助】有个问题请教大家
 
>> equation(1,1)=influent(1)*dh-component0(1)*dh+velocity(1);
??? Index exceeds matrix dimensions.
这是什么意思啊?细细检查了右边的矩阵是可以加减的,出现这语句应该怎么办才好??谢谢:)

elunxu 2008-01-08 19:08

把变量 equation在使用前,定义变量equation的大小,试试看看。

fanxing39 2008-01-09 00:46

equation(1,1)=influent(1)*dh-component0(1)*dh+velocity(1);
这个问题,请你想将 程序报错的信息也 一同发上来.
楼上的说要定义下 变量,其实是没有必要的. 他的问题估计不出在这里.
楼主, dh 是什么?
还有其他的那些
如果一下说不清楚,你也可以把程序全复制上来,这样容易帮你解决问题


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

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