Location:
Search - rk4
Search list
Description: 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
Platform: |
Size: 1337 |
Author: 王志波 |
Hits:
Description: 该文件中包含有常微分方程初值问题的四种数值解法,分别是:RK4法,AB4法,AB4_AM4预测矫正法和改进的AB4_AM4法
Platform: |
Size: 2219 |
Author: 潘晓惠 |
Hits:
Description: 提供了4种解常微分方程组的c++代码:定步长四阶龙格-库塔(Runge-Kutta)法(RK4->RKDUMP); 自适应变步长的龙格-库塔(Runge-Kutta)法(RKQC->ODEINT); 改进的中点法(MMID); 外推法(BSSTEP(RZEXTR(有理函数), PZEXTR(多项式));-provide four kinds of solutions of ordinary differential equations c code : There will be four bands step Runge- Kutta (Runge- Kutta) Act (RK4-
Platform: |
Size: 5120 |
Author: ldg |
Hits:
Description: 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
Platform: |
Size: 1024 |
Author: 王志波 |
Hits:
Description: 四阶RK方法计算单波方程,偏微分方程数值解,Fortran编写。-Fourth-order RK method, single wave equation, numerical solution of partial differential equations, Fortran prepared.
Platform: |
Size: 1024 |
Author: 吴俊宏 |
Hits:
Description: 该文件中包含有常微分方程初值问题的四种数值解法,分别是:RK4法,AB4法,AB4_AM4预测矫正法和改进的AB4_AM4法-The document contains the initial value problem of ordinary differential equations of the four numerical method, namely: RK4 method, AB4 Act, AB4_AM4 forecast correction method and improved method AB4_AM4
Platform: |
Size: 2048 |
Author: 潘晓惠 |
Hits:
Description: 龙哥库塔4阶函数的计算,也可以改改变成3,2,n阶的。-龙哥Kutta 4th order function calculation can also be changed into 3,2, n bands.
Platform: |
Size: 3072 |
Author: 宝宝 |
Hits:
Description: 龙格库塔法解二阶方程的数值计算代码.
分别套用两次龙格库塔法解-Runge-Kutta method of numerical solution of second-order equation of the code. Were applied to two solutions of Runge-Kutta method
Platform: |
Size: 2999296 |
Author: 李想 |
Hits:
Description: 龙格库塔四阶方法,matlab编程,仅供参考-Runge-Kutta fourth-order method, matlab programming, reference
Platform: |
Size: 20480 |
Author: 江冬 |
Hits:
Description: 四阶龙格库塔算法解微分方程,给出初始值,设定步长,解出运动方程。-fourth order runge-kutta method for differential equations.
Platform: |
Size: 1024 |
Author: 程序员 |
Hits:
Description: rk4计算方法,ab 4-am4计算方法,这些为数值计算方法中的常用的几种计算多为方程组的方法-rk4 method, ab4 method, ab4-am4 calculation method such as numerical calculations in several commonly used methods are mostly equations
Platform: |
Size: 264192 |
Author: 徐继克 |
Hits:
Description: 基于JAVA的三维图像特征提取采用RK4解微分方程部分代码-JAVA-based three-dimensional image feature extraction using RK4 for solving differential equations part of the code
Platform: |
Size: 4096 |
Author: 梁宇翔 |
Hits:
Description: 1.用四阶 Runge-Kutta 法求数值积分的函数为 RK4
2.此函数的入口参数为:系统维数 dimension,仿真时间 tspan 。
3.tspan 的格式为 [a:h:b] . 其中 a 表示起始时间,h 表示步长,b 表示终止时间。
4.仿真模型的状态方程、输出方程的系数矩阵以及系统初值均存放于文件 input information.txt 中。
5.仿真结果存放于文件 result.txt 中。
6.运行举例:
将 M 文件 RK4.m 和 input information.txt 均存放于 Matlab 的当前工作目录下,然后在 Command Window 中输入以下命令:
dimension=3
tspan=[0:0.01:2]
RK4(dimension,tspan)
回车后,打开 Matlab 的当前工作目录文件夹,找到文件 result.txt ,即可看到仿真结果。-1. Numerical Integration function with fourth-order Runge-Kutta method RK4 2. Inlet parameters of this function: the system dimension dimension, the simulation time tspan. 3.tspan Formats for [a: h: b], wherein A represents a start time, h is the step length, b indicates the termination time. The equation of state of the simulation model, the coefficient matrix of the equation as well as the system initial value of the output is stored in the file input information.txt. The 5. Simulation results are stored in a file result.txt. Running example: the the M file RK4.m and input information.txt of are placed in Matlab current working directory, then enter the following command in the Command Window: dimension = 3 tspan = [0:0.01:2] RK4 (dimension, tspan) Enter, open Matlab' s current working directory folder find the file result.txt, you can see the simulation results.
Platform: |
Size: 1024 |
Author: 闫兆敏 |
Hits:
Description:
RK4演算法,可用於解決線性及非線性微分方程-RK4 algorithm can be used to solve linear and non-linear differential equations
Platform: |
Size: 1024 |
Author: 張仁宗 |
Hits:
Description: RK4通用程序,可以求解一般的数值微分的问题,RK4通用程序-RK4 General Procedure
Platform: |
Size: 1024 |
Author: 王志贺 |
Hits:
Description: Runge-Kutta 4th-Order Java Application. It can be used to get the Butcher Table for various version of RK4. it is also useful in getting the ODE solution by using the initial conditions. It is useful in most engineering application.
Platform: |
Size: 17408 |
Author: Habeeb |
Hits:
Description: 自己做的pid调节,已知输入求输出过程用的是龙格库塔发的4阶程序,对了解rk4有很大帮助-Do the PID regulation, the known input process is the output of 4 order Runge Kutta procedure development, are of great help to understand RK4
Platform: |
Size: 1024 |
Author: 王华 |
Hits:
Description: 用RK4(四阶龙格库塔法)的方法求的一阶导数方程组的解,程序比较简单,且精确-With RK4 (fourth-order Runge-Kutta method) method for solving the first-order derivative equations, the program is relatively simple and accurate
Platform: |
Size: 6144 |
Author: 袁玉勋 |
Hits:
Description: The code solve ODE using RK4, include results.
Platform: |
Size: 24576 |
Author: esenaj
|
Hits:
Description: This program is base on RK4.
Platform: |
Size: 5120 |
Author: Ubeyd
|
Hits: