Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
|
![]() |
#1 |
初级会员
注册日期: 2012-04-18
年龄: 36
帖子: 1
声望力: 0 ![]() |
![]()
m文件为:
function dydt=vdt1(t,y) dydt=[(7.7794e-14)*360000*sinh(y(2)/21.7455); y(2)*(7.7794e-14)*360000*sinh(y(2)/21.7455)]; 计算命令为: [t,y]=ode45(@vdt1,[0 100000],[0 150]); plot(t,y(:,1)) 图像显示计算到t为9000多的时候就中断了,改成ode23s和ode15s都显示Unable to meet integration tolerances without reducing the step size below the smallest value allowed at time t. 本人新手,最近需要计算这个方程组才翻开matlab的,诚请各位帮助,谢谢! 此帖于 2012-04-18 16:05 被 shw1220 编辑。 |
![]() |
![]() |