MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   ode45的含义是什么 (https://www.labfans.com/bbs/showthread.php?t=2917)

未注册 2008-05-08 09:06

ode45的含义是什么
 
ode45的含义是什么呀?ode函数的用途是什么呀?
麻烦各位了,我刚接触到MATLAB

ilyfe1998 2008-05-08 10:16

你可以在help里查询相关内容

hzxsyzl943 2008-05-08 12:47

[tout,yout] = ode45('ypfun', tspan, y0, options)
这里字符串ypfun是用以表示f(t, y)的M文件名,
tspan=[t0, tfinal]表示自变量初值t0和终值tf
y0表示初值向量y0,可选参数options为用odeset设置精度等参数。
输出列向量tout表示节点 (t0 , t1 , … , tn)'
输出矩阵yout 表示数值解,每一列对应y的一个分量
若无输出参数,则作出图形。

zhangyongnan 2008-05-08 13:42

ode是专门用于解微分方程的功能函数,他有ode23,ode45,ode23s等等,采用的是runge-kutta算法。ode45表示采用四阶,五阶runge-kutta算法。ode23是求解刚性微分方程的低阶方法,ode45是中阶方法

fanxing39 2008-05-09 22:34

[QUOTE=zhangyongnan;10455]ode是专门用于解微分方程的功能函数,他有ode23,ode45,ode23s等等,采用的是runge-kutta算法。ode45表示采用四阶,五阶runge-kutta算法。ode23是求解刚性微分方程的低阶方法,ode45是中阶方法[/QUOTE]

谢谢你这么详细的回复!

hzxsyzl943 2008-05-11 11:41

good :smile:


所有时间均为北京时间。现在的时间是 11:26

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.