登录
首页 » Windows开发 » function [tout, yout] = rk4 (ypfun. tspan, y0, h)% fixed step four

function [tout, yout] = rk4 (ypfun. tspan, y0, h)% fixed step four

于 2023-01-15 发布 文件大小:1.31 kB
0 241
下载积分: 2 下载次数: 1

代码说明:

function [tout, yout] = rk4(ypfun, tspan, y0, h) %定步长四阶Runge-Kutta法求常微分方程(组)数值解 %[tout,yout] = rk4( ypfun , tspan, y0,h) % 这里字符串ypfun是用以表示f(t, y)的M文件名, % tspan=[t0, tfinal]表示自变量初值t0和终值tf % y0表示初值向量y0,h是步长。 % 输出列向量tout表示节点 (t0 , t1 , … , tn) % 输出矩阵yout 表示数值解,每一列对应y的一个分量-function [tout, yout] = rk4 (ypfun. tspan, y0, h)% fixed step four-stage Runge- Kutta method for ordinary differential equations (Group) numerical solution% [tout. yout] = rk4 (ypfun, tspan, y0, h)% string ypfun here is used to indicate that f (t, y) M name, tspan% = [t0. tfinal] said variable initial and final t0 tf% y0 said initial vector y0, h is a step. % Output column vector tout said Node (t0, t1, ..., tn)% output matrix yout said numerical solution, each y counterparts out of a weight

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 软输入板控制
    控制软输入面板-所带源代码,是很好的示例.-Control of Soft Input Panel-
    2022-02-07 22:50:31下载
    积分:1
  • 编译原理实验课程,里面包括了各个版本的PL0源码,界面友好
    编译原理实验课程,里面包括了各个版本的PL0源码,界面友好-Compilation Principle experimental course, which includes the various versions of the PL0 source code
    2022-03-25 06:51:54下载
    积分:1
  • Some of you may have already come to realize I have previously written and relea...
    Some of you may have already come to realize I have previously written and released a similar control via CodeProject. Even though the last control was written using C++ along with MFC, some readers may wonder why I would recreate the same control without branching out into uncharted territory. But the fact of the matter is: I am indeed branching out, and this isn t simply a recreation. I ve never ventured into C# before. So rather than jump the gun and start out with an ambitious project that is nothing but of a stranger to me, I have decided to stick with something I am both familiar and comfortable with: porting my C2DPushGraph control to C#. After porting the control and discovering C# wasn t much different than C++ in ideology, I quickly shifted my focus to improving the feature set and overall design of the control, all while conforming to general C# standards and ethics. -Some of you may have already come to realize I have previously written and released a similar control via Co
    2022-02-25 07:04:04下载
    积分:1
  • 基于VC的H264解码库,支H264视频流解码
    基于VC++的H264解码库,支H264视频流解码
    2022-03-10 17:59:57下载
    积分:1
  • hspice Bus low
    hspice 总线 低功耗作业 北大 需要请下 -hspice Bus low-power operation under the Beijing University need to ask Thank you
    2022-11-26 05:50:03下载
    积分:1
  • borland3.1c platform
    borland3.1c++平台-borland3.1c platform
    2022-01-25 22:32:47下载
    积分:1
  • 2K大小,音频,视频源代码
    2K大小的,音频视频播放器源代码-2K size, audio, video source code
    2022-08-18 10:00:10下载
    积分:1
  • 双线性过滤是我看来最好的滤波算法,他绝对比高司滤波要来得高效,结果也跟更好...
    双线性过滤是我看来最好的滤波算法,他绝对比高司滤波要来得高效,结果也跟更好-bilinear filtering is in my view the best filter, he definitely compete against Division filter would be far more efficient, with better results
    2022-02-25 04:38:43下载
    积分:1
  • 本程序针对约瑟夫问题的描述:编号为12,……n的n个人按顺时针方向围成一圈,每人持有一个密码(正整数),一始任选一个正整数作为报数上限值m,从第一个人始按顺...
    本程序针对约瑟夫问题的描述:编号为12,……n的n个人按顺时针方向围成一圈,每人持有一个密码(正整数),一开始任选一个正整数作为报数上限值m,从第一个人开始按顺序时针方向自1开始顺序报数,报道m时停止报数,报m的人处列将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。利用单向循环链表存储结构模拟此过程,按照出列的顺序印出各人的编号。 演示程序以用户和计算机的对话方式执行,即在计算机终端上显示“提示信息”下,用户输入循环人数n和每人的密码。-This procedure description specifically for Joseph problem: The serial number is 12, ... The n n individual surrounds the ready-made one circle according to the clockwise sense , each person holds (positive integer) a password, one positive integer beginning to assume a post of selections is upper limits ms numbering off, direction starts the hour hand beginning from the first people according to order from 1 numbering off in proper order , stop numbering off when reporting m, the person place column reporting m looks on his password as new m value , the individual begins to number off again from 1 , getting down like this from his time as soon as going ahead in clockwise sense, until proprietor all till leaving self s place in the ranks.
    2022-10-13 13:15:03下载
    积分:1
  • 学生管理系统
    A student management system
    2022-04-07 04:03:16下载
    积分:1
  • 696516资源总数
  • 106918会员总数
  • 4今日下载