声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1470|回复: 2

[综合讨论] ode23求解非线性微分方程组时问题

[复制链接]
发表于 2011-11-1 14:44 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
用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.
回复
分享到:

使用道具 举报

 楼主| 发表于 2011-11-1 15:23 | 显示全部楼层
没人遇到过啊?
发表于 2011-12-7 15:49 | 显示全部楼层
给你的程序发上来看看呀。
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-9-21 08:12 , Processed in 0.072649 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表