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=7992)

sswwss 2009-04-29 18:11

请教用ode45解非线性方程组出现如下问题:
 
请教用ode45解非线性方程组出现如下问题:
Warning: Failure at t=2.039302e+001. Unable to meet integration tolerances without reducing the step size below the

smallest value allowed (5.684342e-014) at time t.
该如何处理?
谢谢!!!

silas_xue 2009-04-30 01:36

回复: 请教用ode45解非线性方程组出现如下问题:
 
lz 能否方便把你的方程及代码都贴出来 大家一起讨论一下
迭代不收敛的原因很多

yfl 2009-04-30 10:36

回复: 请教用ode45解非线性方程组出现如下问题:
 
把你的方程贴出来看一下!!

laosam280 2009-04-30 11:24

回复: 请教用ode45解非线性方程组出现如下问题:
 
这就是告诉你要缩短时间步长,同时加细空间步长。t=2.039302e+001这是个奇点

sswwss 2009-04-30 18:53

回复: 请教用ode45解非线性方程组出现如下问题:
 
我的方程非常复杂
共4个二阶微分方程组,每个方程有五六十项之多
在matlab里平均每个方程长 一千多列
但是我缩短时间间隔tspan,就没出现此种情况
我是不是应该减小步长,或者增大误差?


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

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