-
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
-
radix4FFT
基4FFT的matlab 有定点,浮点等三种算法程序(4FFT matlab)
- 2010-01-29 11:16:14下载
- 积分:1
-
mode-space-smooth-DOA
均匀圆阵模式空间下用music法和平滑的music估计DOA(Under the Uniform Circular Array with music pattern space law and the smooth music DOA estimation)
- 2011-05-10 23:33:50下载
- 积分:1
-
DFO_IM_S
matlab simulation of diredt rotor flux oriented vector control of induction motor mith matlab code mmmmmmmmmmmmmmmmmmmmm
- 2014-08-15 03:55:25下载
- 积分:1
-
MATLAB-gatool
遗传算法matlab程序,matlan遗传算法工具箱,放在工作目录即可使用。(matlab gatool)
- 2014-01-14 14:07:51下载
- 积分:1
-
PID
利用Matlab的GUI界面来进行倒立摆PID参数的设计(The design of PID parameter control of inverted pendulum using Matlab GUI )
- 2013-06-27 11:36:01下载
- 积分:1
-
shili31
说明: 这是关于hermite插值法的MATLAB程序(This is the hermite interpolation method on the MATLAB program)
- 2009-08-21 15:56:56下载
- 积分:1
-
engvc
神经网络的 语音识别 初学者可以看看
希望对大家有帮助(Speech recognition neural network can look at beginners)
- 2011-05-23 16:56:44下载
- 积分:1
-
Rosenstein_lyapunov_m
Lyapunov指数的计算方法实现 matlab(Lyapunov exponent calculation methods Matlab)
- 2007-05-05 16:31:28下载
- 积分:1
-
detector_unido_condeteccion
Detector de tono DTMf
- 2014-02-24 09:33:20下载
- 积分:1