-
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
-
ds
说明: DS系统仿真模型 先调制后扩频的方法 建立模型 绘制误码率曲线(System Simulation Model DS spread spectrum modulated first approach to model the bit error rate curves drawn)
- 2011-04-01 21:36:40下载
- 积分:1
-
A-complete-PSO-program
一个完整的PSO程序,可以实现优化,并且由很好的可视化见面,且可用来调节PID参数(A complete PSO program, you can optimize, and met by a good visualization, and can be used to adjust the PID parameters)
- 2013-12-15 15:19:51下载
- 积分:1
-
pls
偏最小二乘法是集主成分分析、典型相关分析和多元线性回归分析3种分析方法的优点于一身。(Partial least square method is a set of principal component analysis, canonical correlation analysis and multiple linear regression analysis of the 3 kinds of analysis methods of the advantages of a body.)
- 2015-06-23 11:20:23下载
- 积分:1
-
frame_optimization
frame optimization algorithmn
- 2009-05-03 20:11:12下载
- 积分:1
-
Psd_091024I
说明: Welch法功率谱密度 Psd自功率谱
是用改进的平均周期图法来求随机信号的自功率谱估计
采用信号重叠分段,加窗函数和fft算法等计算一个信号的自功率谱估计(PSD)
- 2010-04-26 21:55:56下载
- 积分:1
-
motiondetection
一个实现运动估计的matlab程序 经过测试不错的,推荐给大家(motion detection programed by matlab)
- 2010-05-17 13:33:42下载
- 积分:1
-
intprog
整数规划的MATLAB实现
函数求解如下形式的整数规划问题(Integer Programming MATLAB function to calculate the form of integer programming problem)
- 2012-05-21 11:54:10下载
- 积分:1
-
1
it is a three-phase PWM inverter
- 2013-11-17 05:21:36下载
- 积分:1
-
chuang
线列阵加窗波束形成。(矩形窗、hamming窗、hanning窗)(Windowed linear array beamforming. (rectangular window, Hamming window, Hanning window))
- 2021-04-27 20:08:44下载
- 积分:1