登录论坛

查看完整版本 : [MATLAB数学相关] 有关ode15s在微分代数返程应用的问题


286654367
2009-05-24, 16:40
有关ode15s在微分代数返程应用的问题
我的方程是一个微分方程和六个代数方程,请问各位大侠可以用ode15s来解吗?
我用的一些具体语句如下:
M=[1 0 0 0 0 0 0;0 0 0 0 0 0 0;0 0 0 0 0 0 0;0 0 0 0 0 0 0;0 0 0 0 0 0 0;0 0 0 0 0 0 0;0 0 0 0 0 0 0];%质量矩阵
options=odeset('mass',M);
x0=
[767.5264;0.20710495;0.31698024;0.33457708;0.107033536;0.0077916957;0.28127554]%初值
[t,x]=ode15s(@riser,[0 80],x0,options);


提示错误语句为:
??? Error using ==> funfun\private\daeic12 This DAE appears to be of index greater than 1.

恳请懂的大侠帮忙解答!
万分感谢!
急!