Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2009-05-24
帖子: 1
声望力: 0 ![]() |
![]()
有关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. 恳请懂的大侠帮忙解答! 万分感谢! 急! |
![]() |
![]() |