MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [MATLAB数学相关] ode45求解微分方程组提前中断 (https://www.labfans.com/bbs/showthread.php?t=14771)

shw1220 2012-04-18 15:52

求助:ode45求解微分方程组提前中断
 
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的,诚请各位帮助,谢谢!


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

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