用ode23求解非线性微分方程组,刚开始都正常,第6个参数时出现警告,第7个就直接停止了。这个错误看了一下论坛说是因为没有清除变量,但我又调了一阵觉得没得问题,总觉得不应该纯粹是没有清除变量的问题。希望有高手指点一下。
filename =
506
Warning: Failure at t=2.220492e+001. Unable to meet
integration tolerances without reducing the step size
below the smallest value allowed (5.684342e-014) at
time t.
> In ode23 at 358
In fxxfgm2 at 333
Warning: Failure at t=2.225631e+001. Unable to meet
integration tolerances without reducing the step size
below the smallest value allowed (5.684342e-014) at
time t.
> In ode23 at 358
In fxxfgm2 at 333
Warning: Failure at t=2.222110e+001. Unable to meet
integration tolerances without reducing the step size
below the smallest value allowed (5.684342e-014) at
time t.
> In ode23 at 358
In fxxfgm2 at 333
Warning: Failure at t=2.225635e+001. Unable to meet
integration tolerances without reducing the step size
below the smallest value allowed (5.684342e-014) at
time t.
> In ode23 at 358
In fxxfgm2 at 333
filename =
507
Warning: Failure at t=4.838934e-001. Unable to meet
integration tolerances without reducing the step size
below the smallest value allowed (8.881784e-016) at
time t.
> In ode23 at 358
In fxxfgm2 at 333
??? Subscript indices must either be real positive
integers or logicals.