-
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
-
hht
使用了plot_hht程序包,其使用了三个终止条件,驻留分量的单调性,极值点与零点的个数相差不超过1,还有黄锷1998经典文献提出的
(matlab hht)
- 2011-12-26 10:31:37下载
- 积分:1
-
ReservoirSimulation
Petroleum Reservoir Simulation
- 2009-03-19 14:24:59下载
- 积分:1
-
ConvHull2D300409
color code segentation detection
- 2010-09-06 02:44:44下载
- 积分:1
-
sfpc
状态反馈预测控制的仿真源码,输入参数可以直接进行仿真(State Feedback Predictive Control source of emulation, simulation input parameters can be directly)
- 2020-08-10 14:48:32下载
- 积分:1
-
nmf
This is the second part of Noonegative Matrix Factorization
- 2012-10-10 13:22:39下载
- 积分:1
-
LTE-SUI-CHANNEL
LTE with SUI channel
- 2013-12-11 18:57:21下载
- 积分:1
-
Grid_side1
基于电网电压定向的三电平并网逆变器的研究(And the three-level inverter grid voltage oriented network based on)
- 2015-12-11 16:49:24下载
- 积分:1
-
PIDSimulation
针对离散系统的阶跃信号、正弦信号和方波信号,设计离散PID(Step for the discrete-time systems signal, sinusoidal signal and the square wave signal, the design of discrete PID)
- 2009-03-31 01:29:35下载
- 积分:1
-
KF
说明: 基于卡尔曼滤波器的目标跟踪,其中涉及有场景描述及跟踪结果分析(Kalman filter-based target tracking)
- 2012-09-09 22:19:29下载
- 积分:1