-
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
-
MATLAB
说明: MATLAB5_X程序设计语言.pdf 用于matlab程序设计(MATLAB5_X programming languages. Pdf for matlab programming)
- 2010-03-21 13:53:24下载
- 积分:1
-
psoToolbox
Help psoToolbox V1.0
psoToolbox provides an interective GUI based Toolbox to solve
optimization problems using particle swarm optimization.
Creat a fitness function in M-file.
Inputs:
Function : Function handle of fitness function.
Nvars : Number of variable to be optimized.
LB : Lower Bound of Nvars (1 X Nvars)
UB : Upper Bound of Nvars (1 X Nvars)
Parameters:
C1 : Cognative Attraction
C2 : Social Attraction
W : Inertial
Population Size : Number of Swarms
Max Iterations : Maximum number of epochs.
Click on " RUN PSO " button to start PSO search. You will get the out put
at Edit box below the axes.
- 2013-11-24 04:13:20下载
- 积分:1
-
ESCR_HVDC
calculate ESCR for HVDC connected system
- 2011-04-27 20:30:37下载
- 积分:1
-
Mark10
对敌我识别信号(IFF)之Mark10询问信号进行了仿真,同时对Mark10询问信号进行了功率谱分析。(My enemy identification signal (IFF) of Mark10 interrogation signal simulation, while Mark10 conducted interrogation signal power spectrum analysis.)
- 2020-11-06 23:09:49下载
- 积分:1
-
gaot
自编的粒子群算法,容易看懂,适合粒子群算法初学者(Particle Swarm Optimization own, easy to understand for beginners PSO)
- 2009-04-29 13:56:19下载
- 积分:1
-
DC-AC
逆变器仿真程序,模拟AC-DC,需要者可以参考(Inverter simulation, simulation of AC- DC, those can be reference
)
- 2014-08-11 13:03:27下载
- 积分:1
-
Turbopha
In recent years large scientific interest has been
devoted to joint data decoding and parameter estimation
techniques. In this paper, iterative turbo decoding joint
to channel frequency and phase estimation is proposed.
The phase and frequency estimator is embedded into the
structure of the turbo decoder itself, taking into consideration
both turbo interleaving and puncturing. Results
show that the proposed technique outperforms conventional
approaches both in terms of detection capabilities and
implementation complexity.
- 2007-09-18 21:03:37下载
- 积分:1
-
SecondordeTVbasedmodels
A second-order cone programming based solver for MATLAB
- 2009-11-30 20:53:13下载
- 积分:1
-
armaTransformer
Forward kinematics of the Robotic arm
- 2010-12-16 19:27:11下载
- 积分:1