软件编程版 #418712 层

SOS:用MATLAB进行程序模拟时的精度问题

楼主 · 1 楼
用MATLAB进行程序模拟时的有时候会遇到这样的Warning:

Warning: Failure at t=1.006267e-005. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (3.574980e-020) at time t.
(Type "warning off MATLAB:Ode45:IntegrationTolNotMet" to suppress this warning.)

显示的模拟图形只有0-- t=1.006267e-005之间的,而没有 t=1.006267e-005之后的。

这是怎么回事呢?该怎么解决呢?请高手帮助指点,谢谢!


2 楼
我也遇到这样的问题了!
在算一个二阶微分方程的时候出现的!
目前怀疑是否是初始条件设置的问题,到现在还没有解决!