-
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
-
table-for-sin-functionof-
DDS中的正余弦生成,初始相位相差90度,可自行改变输出频率(Cosine generation of DDS, the initial phase difference of 90 degrees, the output frequency can be changed on their own)
- 2013-12-17 22:09:56下载
- 积分:1
-
gm11
此程序为基于GM(11)的灰预测程序,进行数据预测,最少输入数据为两个(This procedure the gray prediction program based on GM (11), data predicted minimum input data into two)
- 2013-05-07 11:58:43下载
- 积分:1
-
Fgabortb-v041o
外国人写matlab 的gobor特征运算工具箱,包括括一,二维gobor特征提取工具。,已通过测试。
(, Including including a. Dimensional gobor feature extraction tools the foreigners write matlab gobor characteristics computing toolbox. , Has been tested.)
- 2012-09-30 19:32:40下载
- 积分:1
-
SHANGBIAOFENGE
基于matlab将商标与文字分割,选定阀值,先进行次分割,在进一步优化(Matlab-based trademarks and text segmentation, the selected threshold, the first for sub-division, in further optimization)
- 2013-12-02 14:11:22下载
- 积分:1
-
SOFC-Model
基于matlab的SOFC的建模,用simulink的自带模块进行建模(modeling of SOFC)
- 2012-03-06 09:16:42下载
- 积分:1
-
WSN
无线传感器网络定位的定位算法,英文,多篇,好好看,对做定位的人有帮助 (The positioning of wireless sensor network localization algorithm, in English, many articles, good to see, and do help people locate)
- 2010-10-31 13:46:19下载
- 积分:1
-
PLS_NIR
对近红外光谱使用最小二乘算法建立预测模型(Use of Near Infrared Spectroscopy least squares algorithm to build prediction models)
- 2011-11-23 10:07:07下载
- 积分:1
-
read
关于MATLAB 交通视频处理,对大家有帮助(Traffic video processing on MATLAB)
- 2011-12-28 02:09:53下载
- 积分:1
-
SOR
用SOR迭代法求解方程组的解的matlab程序(With SOR iterative method to solve the solution of system program)
- 2012-03-26 15:37:27下载
- 积分:1