摘要
本文分析了Matlab软件常用的常系数微分方程的数值积分算法和含有间断特性的微分方程求解方法,重点研究了ODE45算法,并针对其求解不连续问题有可能出现误差,采用条件函数零点搜索法进行了改进,通过用ode45,ode23,ode113,ode15s,ode23s,ode23t和ode23tb求解器求解算例和本文用改进的ODE算法求解算例比较,验证了本文改进算法的有效性和适用性。
This paper analyzes the numerical integration algorithm of constant coefficient differential equation in MATLAB software, and solution method of differential equation with discontinuous characteristics. It focuses on the ode45 algorithm, and the error of solving the discontinuous problems, improves the zero search algorithm of conditional function, and verifies the effectiveness and applicability of the improved algorithm by comparing the results of using ode45, ode23, ode113, ode15s, ode23s, ode23t and ode23tb to solve the example with the results of using the improved ode algorithm to solve the example.
作者
吴佳惠
WU Jia-hui(College of Electronic Engineering, Xinjiang University, Urumqi 830047, China)
出处
《软件》
2017年第2期28-32,共5页
Software
基金
国家自然科学基金项目(51575469)
关键词
数值积分
微分方程
ODE45
Numerical integration
Differential equation
Ode45