-
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
-
For-approximate-root
用递推式法求解;用二分法,牛顿迭代法,迭代法求解方程的近似根(Using recursive method for solving with the dichotomy, Newton iteration method, iteration method for solving the approximate root)
- 2012-05-28 11:48:55下载
- 积分:1
-
power_spectrum_estimation
功率普估计,周期图法,burg法,levenson法(power, the cycle map, burg, France levenson)
- 2007-06-06 15:13:57下载
- 积分:1
-
matlab3d
matlab实现三维重建,代码书写规范,运行稳定 特地传上来供大家学习参考()
- 2008-05-01 20:02:47下载
- 积分:1
-
boost
BOOT PI CLOSE LOOP CONTOLLER
- 2013-10-19 18:20:50下载
- 积分:1
-
matlab
matlab在振动分析中的应用源代码 包括各种信号处理的时域频域方法 强烈推荐 仅供学习交流(matlab in vibration analysis application source code, including various signal processing frequency domain method is strongly recommended for learning exchanges)
- 2013-11-04 19:15:39下载
- 积分:1
-
ROUGH-SET
粗糙集属性约简相关论文,感觉不错,用来分享一下(Rough set attribute reduction related papers, I feel good, to share)
- 2013-11-01 13:47:14下载
- 积分:1
-
M-QAM-modulation-demodulation
M-QAM系统的调制和解调以及在噪声条件下的误码率性能分析(M-QAM-modulation-demodulation)
- 2010-10-08 14:35:21下载
- 积分:1
-
Compressive-Sensing
压缩感知简介,包括压缩感知具体实现过程,最基本的原理说明(compressive sampling)
- 2011-05-09 16:32:04下载
- 积分:1
-
Adaptive_MMSE
本文件用MATLAB实现MMSE算法,源代码(SMI algorithm )
- 2011-12-07 11:08:43下载
- 积分:1