-
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
-
Chapter5
this chapter file is a communication book chapter code file
- 2011-04-29 21:07:56下载
- 积分:1
-
jisuanqi
用MATLAB编写的贷款利率计算器,可以修改每年的利率来应用到实际的应用中(Using MATLAB loan rate calculator, you can modify the annual interest rate to be applied to practical applications)
- 2014-09-19 09:57:26下载
- 积分:1
-
rectangle
矩形孔菲涅尔衍射图像得计算程序,读者可以修改相关参数,以观察不同形式得菲涅尔衍射图像。(Rectangular aperture Fresnel diffraction image obtained calculation program, readers can modify the relevant parameters to observe the different forms have Fresnel diffraction image.)
- 2016-09-25 09:35:11下载
- 积分:1
-
连续投影算法
连续投影算法是一种简单,快速选取特征变量选择方法,可用于光谱分析等。(Continuous projection algorithm is a simple, fast selection of feature variable selection method, can be used for spectral analysis.)
- 2017-07-10 19:23:12下载
- 积分:1
-
Project 2
说明: An example of 16-QAM signal An example of 16-QAM signal
- 2020-04-21 03:29:29下载
- 积分:1
-
Abdi_simulation
仿真ludi yidong wei xing tongx xindao Abdi模型(simulating Abdi model)
- 2010-06-12 03:25:11下载
- 积分:1
-
Lynch_R2009b
如何计算随机时滞微分方程,主要是高斯白噪声的情况(numerical solution of stochastic delay differential equation)
- 2009-11-03 19:10:24下载
- 积分:1
-
slkz
说明: matlab矢量控制系统仿真图,电机数字模块,三相转两相模块(vector control system
)
- 2010-04-29 11:35:00下载
- 积分:1
-
connection
从图片中找出连同区域,保留有三个以上的圆的连同区域(Find out the connection areas, and keep areas with three or more circles)
- 2010-05-30 11:43:22下载
- 积分:1