-
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
-
assignments
人工神经网络讲义,作业,例程,供专业人员参考(Artificial neural network lecture notes, assignments, routines for professional reference)
- 2010-05-20 10:06:09下载
- 积分:1
-
an
说明: Automatic number plate recongsation
- 2014-10-31 14:59:27下载
- 积分:1
-
Simulink-model-of-a-PV-array
This file is very important for student ....
- 2014-02-18 00:16:00下载
- 积分:1
-
BIT-PATTERN--ANALYSIS-OF-COMMUNICATION-SIGNALS-
BIT PATTERN ANALYSIS OF COMMUNICATION SIGNALS
- 2014-02-20 10:39:03下载
- 积分:1
-
yuzhifenge
全局阈值分割:迭代法、Otsu法;局部阈值分割(Global Thresholding: iterative method, Otsu method local threshold segmentation)
- 2010-07-04 18:31:07下载
- 积分:1
-
79419102KNNalgorithm
说明: 用MATLAB做的人脸识别插好超强大你一定喜欢的不信下来试试!
- 2010-04-27 18:05:40下载
- 积分:1
-
KNNMeanFilter
说明: 原理:以待处理的像素作为中心,取一个nXn的模板,在模板中选择k个与待处理像素的值最接近的像素,将这k个像素的均值替换原来的像素值。
假设n=3,k=5,调用方法:b = KNNMeanFilter(a, 3, 5)(Principle: to be treated as the center pixel, take a nXn template select the template and the pending k-nearest pixel values of pixels, this k pixels mean replacing the original pixel value. Assuming n = 3, k = 5, call the method: b = KNNMeanFilter (a, 3, 5))
- 2010-05-03 10:14:15下载
- 积分:1
-
bpskber
BPSK编码译码仿真BPSK编码译码仿真BPSK编码译码仿真BPSK编码译码仿真BPSK编码译码仿真BPSK编码译码仿真(BPSK BPSK coding and decoding codec simulation simulation Simulation of BPSK coding and decoding BPSK BPSK coding and decoding codec simulation simulation Simulation of BPSK coding and decoding)
- 2011-05-11 22:08:30下载
- 积分:1
-
quantization_error_Matlab_file
Simulink Model that quantization error with input and output signal and output spectrum
- 2013-04-02 13:06:03下载
- 积分:1