matlab ode45三体问题,小白急求~~关于ode45不能解的问题

ode45本身是变步长的呀,怎么设置最小步长?我改用其它ode函数计算都会出现这个警告Warning: Failure at t=5.373174e-001.  Unable to meet integration tolerances without reducing the step size below the smallest value allowed (1.908935e-015) at time t.,用ode4函数算了也出现这个问题,缩小tspan也不行,现贴上我的程序请高手指点。

clear

clc

miu=0.0178;

L=201.6e-3;

R=210e-3;

LD=L/(2*R);

C=0.699e-3;

pofai=C/R;

mg=104860;

m=mg/9.8;

ome=450;

pa=2*miu*ome/(pofai.^2);

Kxx =    6.453356740612708;

Kxy =   -4.133413328965316;

Kyx =1.146014052781378; Kyy = 7.846056548809618;

Dxx =1.145752328144106;Dxy =1.200350375824454;

Dyx =1.200350375824454;Dyy = 2.277131377326176;

KXxx = 4.310137875942596;KXxy =1.621686159880267;KXyy=-32.99946362265302;

DXxx =

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值