-
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
-
bwtracebountry
说明: 用函数bwtraceboundary进行边界跟踪(Use function bwtraceboundary to trace the object boundary)
- 2011-03-07 09:20:02下载
- 积分:1
-
exp2
说明: 数字信号处理中的fft算法,非自带程序,各种窗函数的编写。(Fft digital signal processing algorithms, non-native program, the preparation of a variety of window function.)
- 2011-03-14 12:55:46下载
- 积分:1
-
TOC_Final
TOC - identification and detection of Table of Contents
- 2011-06-06 10:51:40下载
- 积分:1
-
SEP
MATLAB code for Substation Expansion Planning
- 2015-03-08 23:12:49下载
- 积分:1
-
lilei
等高线生成算法研究,里面写清楚了每一个步骤,很清楚,很好用(Contour generation algorithm, which clearly set out each step)
- 2010-06-05 11:44:48下载
- 积分:1
-
Johnson
matlab实现机器生产排序问题最优解
(matlab machine production scheduling problem to achieve the optimal solution )
- 2011-09-02 16:05:59下载
- 积分:1
-
3-point-get-circle
input 3 point get a circle
- 2013-12-11 17:51:27下载
- 积分:1
-
ex9-2
编程实现基于小波变换尺度相关性去噪算法,结合例子验证该算法的去噪性能(Programming based on wavelet transform denoising algorithm scale correlation, combined with examples of verification of the algorithm de-noising performance)
- 2007-08-04 17:16:01下载
- 积分:1
-
radar
说明: 主要描述了雷达的工作原理及性能,为研究雷达数据处理的朋友提供基础的知识(Describes the principle and performance of radar, radar data processing for the study provide a basis of knowledge friend)
- 2011-02-22 10:35:18下载
- 积分:1