无水大哥,很冒昧这样求教,我在论坛上看到了很多你的帖子,觉得你一定能够帮助我解决这个问题。
我用ode45求解下面问题,但是总有警告,初值和参数一定不能改变。
xT0 =[-3.70351013077968;1.18377489696063;0];
T0 =-10.0102391457522;
c=3.5;
f1=inline(['[T0*(-x(2)-x(3));T0*(x(1)+0.15*x(2));T0*(0.2+x(3)*x(1)-c*x(3))]'],'t','x','flag','T0','c');
[t,x]=ode45(f1,[0,1],xT0,[],T0,c)
Failure at t=1.298177e-001. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (4.440892e-016) at time t.
有办法解决吗?
希望得到你的帮助,Email:hy.jing@163.com