【源码】ODE解算工具包

在这里插入图片描述
工具包的6个m文件提供了3种固定步长和4种可变步长的ODE解算方法。

This group of six m-file ordinary differential equation (ODE) solvers

provides 3 fixed-step and 4 variable-step ODE solver methods.

包含一个示例动态系统(penddot.m)和一个示例驱动程序脚本(pendulum.m),用于使用所有7个解算器选项求解钟摆运动方程。

There is an example dynamic system included (penddot.m) and a sample driver script (pendulum.m) to solve the pendulum equations of motion with all 7 solver options.

这些结算器可以用于Matlab和Octave。

These solvers work in both Matlab and Octave.

包括三种固定步长的Runge-Kutta算法、三种可变步长的Runge-Kutta-Fehlberg算法、以及ode45.m默认使用的Dormand-Prince 4(5) 对。

There are 3 fixed-step Runge-Kutta algorithms and 3 variable step Runge-Kutta-Fehlberg algorithms along with a Dormand-Prince 4(5) pair used by default in ode45.m.

所有的RK公式都是显式的,能很好地处理非定常或弱刚性问题。

All are explicit RK formulas that work well with nonstiff or mildly

stiff problems.

Matlab和Octave都有内置的ODE23和ODE45解算器,因此确保在搜索路径中使用这些解算器执行脚本时需要非常小心。

Matlab and Octave both have built-in ode23 and ode45 solvers so make sure you are careful about executing your scripts with these solvers in the search path.


The archive ode_v1.16.tar.gz or zipfile contains these files:

  • ode23.m : variable step, 2nd-3rd order

  • ode45.m : variable step, 4th-5th order (both RKF and Dormand-Prince pairs)

  • ode78.m : variable step, 7th-8th order

  • rk2fixed.m : fixed step, 2nd order

  • rk4fixed.m : fixed step, 4th order

  • rk8fixed.m : fixed step, 8th order

  • pendulum.m : a sample m-file script that runs all solvers

  • penddot.m : derivative function file, returning dy/dt for a simple pendulum

  • Readme.txt : this file


完整资料领取请加QQ群免费下载:在这里插入图片描述

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值