-
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
-
实例96 在CC++中调用Matlab
在CC++中调用Matlab,Matlab应用广泛,但怎样在CC++中调用呢?(Calling Matlab and Matlab widespread use, but how the CC call?)
- 2005-08-14 21:09:51下载
- 积分:1
-
motion3
基于混合高斯模型的多目标跟踪算法,对背景图像建立混合高斯模型,实时更新高斯模型,达到更新背景的目的。(Gaussian mixture model-based multi-target tracking algorithm, Gaussian mixture model to establish the background image, real-time updates Gaussian model, to achieve the purpose of updating the background.)
- 2011-05-24 17:24:39下载
- 积分:1
-
td3
time difference of arrival application for wireless sensor networks
- 2013-11-08 15:34:59下载
- 积分:1
-
NDCG_Optimizer
decision tree example
- 2012-11-16 23:19:23下载
- 积分:1
-
txt
适合卫星通信本科学生借鉴。主要为卫星转发器仿真设计。可以实现上下变频,非线性放大器实现和卫星转发器实现。(Satellite transponder Simulation Design。Achieve Frequency conversion)
- 2014-01-24 19:37:06下载
- 积分:1
-
Levenberg-Marquardt
Levenberg-Marquardt 信赖域方法求解非线性方程组的Matlab程序(Levenberg-Marquardt trust region method for solving nonlinear equations of the Matlab program)
- 2009-11-08 22:06:36下载
- 积分:1
-
disp
Warning: AVIREAD will be removed in a future release. Use MMREADER instead.
- 2013-07-24 19:32:23下载
- 积分:1
-
Wind_Turbine_Pm_Tm
风力机模型
通过matlab simulink建立的,现在这种资太少了(wind turbine model through the establishment of the Matlab Simulink, which is now too little funding)
- 2007-05-24 16:48:50下载
- 积分:1
-
HHTsummary
希尔伯特黄变化学习总结,技术文档,含部分matlab代码,希望对大家有帮助(Hilbert Huang change learning summary, technical documentation, containing part of the matlab code, and hope to help everyone)
- 2013-09-04 14:44:09下载
- 积分:1