求解微分方程组时为什么会出现这样的错误?Warning: Failure at t=8.773617e-021. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (3.117015e-035) at time t.
(Type "warning off MATLAB:ode23tb:IntegrationTolNotMet" to suppress this warning.)
> In C:\MATLAB6p5\toolbox\matlab\funfun\ode23tb.m at line 511。
我反复查验了程序,没有发现哪里有错误,请高手不吝赐教。
[t,y]=ode23tb(@xuan1,[0 0.1],[-0.64355;1000;0;1]);
w=y(:,1)-(-0.64355);
force=diff(y(:,2));
出现的错误为:
Warning: Failure at t=8.773617e-021. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (3.117015e-035) at time t.
(Type "warning off MATLAB:ode23tb:IntegrationTolNotMet" to suppress this warning.)
> In C:\MATLAB6p5\toolbox\matlab\funfun\ode23tb.m at line 511
我搞不清为什么?请高手不吝赐教,先谢过了!!!