-
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
-
hanshu
说明: 介绍一些MATLAB中常用的函数,非常适合初学者参考,希望能够对各位有用哈(Introduce some commonly used MATLAB function reference is ideal for beginners, you want to be useful against Kazakhstan)
- 2010-04-17 11:37:52下载
- 积分:1
-
matCUDA_User_Guide_0.1
CUDA的MATLAB加速用户使用说明,帮助学习MATLAB的PCT(matCUDA for MATLAB PCT)
- 2015-03-27 11:35:13下载
- 积分:1
-
q3
Signalprocessing from electromagnetic simulator
- 2013-05-18 01:07:45下载
- 积分:1
-
match_filter
BPSK匹配滤波器的误码率统计。1.二进制PSK信号进过波形生成器,生成根升余弦信号 2.对信号加噪声 3.接受加噪信号后,匹配滤波 4.统计误码率(BPSK matched filter error rate statistics. 1 signal into a binary PSK waveform generator had to generate root raised cosine signal (2) of the signal plus noise 3. Accept the added noise signal, the matched filter 4. Statistical error rate)
- 2020-10-02 00:57:42下载
- 积分:1
-
wcuprhwi
毕业设计中,用Matlab实现了机器人最优路径规划中的全局路径规划,算法采用的是基于方向权的 VmGCiG 二叉树算法,同时结合了哈夫曼编码二叉树的 XblfQFs综合。(Graduation design, using Matlab to achieve the optimal path planning of robot global path planning algorithm uses a binary tree algorithm based on the direction of the right VmGCiG , combined with the binary tree Huffman coding XblfQFs comprehensive.)
- 2016-01-19 22:51:26下载
- 积分:1
-
laypunov
Laypunov 指数计算,用于判断系统的定性及稳定性分析(The index of Laypunov calculation used to determine the qualitative and stability analysis of)
- 2013-04-15 15:50:57下载
- 积分:1
-
HHT
完整的HHT程序,可以直接复制到MATLAB中运行,标有注释,方便查看(
您是不是要找: 完整的FFT程序,可以直接复制到MATLAB中运行,标有注释,方便查看
HHT complete program can be copied directly into MATLAB run, marked notes for easy viewing)
- 2014-01-07 17:47:50下载
- 积分:1
-
MATLABR2008_1
《MATLAB R2008图形与动画编程实例教程》的源代码--第一章(" MATLAB R2008 examples of graphics and animation programming tutorial" source code- the first chapter)
- 2010-06-08 18:18:17下载
- 积分:1
-
outclpso
用于分析带约束问题的输出结果,加上约束的粒子群算法功能有很大改善(Used to analyze the problem with constraint output, coupled with constrained particle swarm optimization function has greatly improved)
- 2009-02-09 15:19:32下载
- 积分:1