-
Rombegrg
录入程序代码,并对该实验代码进行调试,检查程序代码中的语法和语义错误。
编写函数f(x)的代码如下:
Romberg算法¨
function z=f(x)
if (x~=0)
z=sin(x)/x
else
z=1
end
备注:在实验代码中,首先输入必要的变量的值如下:
a=0
b=1
tol=1e-8
待查询检查通过,开始输入执行代码
设置格式format short g查看u的值和sin(u)的值:
(Input program code, and debugging code for the experiment to check the program code in the syntax and semantic errors. The preparation of a function f (x) of the code is as follows: Romberg algorithm ¨ function z = f (x) if (x ~ = 0) z = sin (x)/x else z = 1 end Note: In the experimental code, First, enter the necessary value of the variable is as follows: a = 0 b = 1 tol = 1e-8 pending inquiries, checking through, began to enter the implementation of the code format format short g see u, values and sin (u) values:)
- 2009-12-28 22:03:42下载
- 积分:1
-
multiobjectivelinearprogramming
关于多目标线性规划,附有matlab代码(On the multi-objective linear programming, with matlab code)
- 2011-01-01 11:21:00下载
- 积分:1
-
mATLAABfiles
MACHINE SIMULINK WITH MATLAB
- 2012-04-15 07:26:17下载
- 积分:1
-
matlab
matlab 小游戏代码 可实现五子棋 程序编码(matlab code for small game backgammon program code can be realized)
- 2011-11-13 16:35:14下载
- 积分:1
-
mytry4
自己编的遗传算法,用matlab编写的,供参考下(Own genetic algorithm, using matlab prepared for information under the)
- 2008-12-23 18:01:56下载
- 积分:1
-
bitinterleaver
CMMB 比特交织块(384*360)的MATLAB代码(CMMB Bit Interleaving block (384* 360) of the MATLAB code)
- 2009-02-06 17:33:31下载
- 积分:1
-
bldc_sensored_00
This simulation file has been made in matlab simulink software and describes the bldc sensored motor.
- 2014-08-10 13:51:53下载
- 积分:1
-
mfile
image detection for alphabet
- 2014-12-19 15:12:49下载
- 积分:1
-
cripto
LSB implemetation on matlab... with gui... run the .m files
- 2015-01-04 12:03:47下载
- 积分:1
-
复杂网络社团发现算法Louvain Community
BGLL
复杂网络社团发现算法Louvain的matlab版本,简单实用,欢迎下载(Louvain complex network of associations discovery algorithm matlab version, simple and practical, welcome to download)
- 2020-10-13 09:47:31下载
- 积分:1