- CSharpRC4 用C#开发的RC4算法
- Mispersonal 主要功能模块 人事资源管理信息系统 人力资源管理 部门信息管理 添加部门信息 部门信息列表 部门信息查询 员工信息管理 添加员工信息 员工信息列表 员工信息查询 考勤管理 考勤规则 编辑考勤规则 考勤结果 假别管理 添加假别 请假记录 员工考勤登记 系统管理 用户列表 添加用户 用户查询 用户注销
- 2.4.4Eagle-Eye VS2008 C#+ArcGIS Engine开发的鹰眼的小程序
- Tri-Tr-Intersection-Test 该篇论文提供了三维立体表面模型三角网格相交性的快速检测技术
- calculator 计算器的实现可以记录计算的过程
- SQL2005 ket noi sql 2005 voi vb6
文件名称:RK4
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:995byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
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.
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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
RK4.m
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
