-
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
-
invst2
用matlab实现投资问题(类似于0-1背包问题,但更复杂)的动态规划(Problem with matlab realized investment (like the 0-1 knapsack problem, but more complex) dynamic programming)
- 2011-04-27 23:10:02下载
- 积分:1
-
decRation
该程序用于求解一般汽车动力总成悬置系统的解耦率(The procedure for solving general automotive powertrain mounting system decoupling rate)
- 2013-10-22 09:56:55下载
- 积分:1
-
Sheath_twoIons1D
流体力学方法模拟双离子一维鞘层的matlab代码,可作为交流学习使用(Fluid dynamics simulation of one-dimensional dual ion sheath matlab code, can be used as learning to use exchange)
- 2015-03-13 10:28:59下载
- 积分:1
-
code-for-face-detection
Lets see how to detect face, nose, mouth and eyes using the MATLAB built-in class and function. Based on Viola-Jones face detection algorithm, the computer vision system toolbox contains vision.CascadeObjectDetector System object which detects objects based on above mentioned algorithm.
- 2014-03-26 18:27:47下载
- 积分:1
-
改进MFO算法3
对MFO的exploration和exploitation进行改进,提高算法效率(Improved MFO exploration and exploitation to increase algorithm efficiency)
- 2020-06-23 13:40:02下载
- 积分:1
-
linear
用线性外推实现语音修复,得到更好特性的语音效果(realize the bandlimited signal to wideband by linear extrapolation)
- 2010-12-13 14:57:29下载
- 积分:1
-
ma
说明: this project ia about database and has access.
this is a good program for beginner.
- 2011-09-23 09:31:22下载
- 积分:1
-
FDTD_PML_009876
this is a 2d fdtd in matlab
- 2013-10-08 09:43:48下载
- 积分:1
-
Nonlinear-analysis-to-stock-market
(股市)非线性分析及预测工具箱,整合了原非线性时间序列分析工具箱程序,包含多个复杂度分析(如Higuchi法、计盒法),相空间重构(Cao法、GP算法、互信息法),最大李雅普诺夫指数判断(Wolf法、小数据法)和预测程序(lyp指数法、一次多步预测等),程序执行效率高,实测可用。(Nonlinear analysis and prediction toolbox (stock market), the integration of the original nonlinear time series analysis toolbox program contains a number of complex analysis (Higuchi method, box-counting method), the phase space reconstruction (Cao Act, GP algorithm, mutual information method), the largest Lyapunov exponent judge the (Wolf Law, small data), and the prediction program (lyp index, a multi-step prediction), the high efficiency of the program, the measured available.)
- 2020-12-23 14:09:05下载
- 积分:1