-
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
-
extend_euclid
this is extended euclid source code
- 2012-05-04 03:10:54下载
- 积分:1
-
code
排队论,讨论单窗口单队情形,两窗口单队情形。分别计算平均等待时间,平均逗留时间,平均每分钟服务的顾客人数。(Queuing theory to discuss the situation single-window single team, two windows one team situation. Calculate the average waiting time, average length of stay, the average number of customers per minute service.)
- 2013-11-15 16:27:13下载
- 积分:1
-
SLM
用SLM方法来减小OFDM系统的PAR,给出在不同的M值下,系统的PAR曲线图。(To reduce the use of SLM OFDM system PAR, gives the different values of M, the system PAR of Fig.)
- 2013-11-18 13:53:58下载
- 积分:1
-
Desktop
二维插值的应用。二维插值主要应用于图像处理和数据的可视话。主要方法有:最邻近插值;双线形插值;三次样条插值等方法。该源码可以看出其中区别。(Application of two-dimensional interpolation. Two-dimensional interpolation is mainly used in image processing and visualization of data words. Main methods are: the nearest interpolation double linear interpolation cubic spline interpolation and other methods. The source can be seen the difference between them.)
- 2020-09-18 12:07:58下载
- 积分:1
-
Statistics Code by Matlab
说明: 包含一元线性回归分析、多元线性回归分析、逐步回归分析、非线性回归分析、主成分分析、因子分析、层次聚类分析、判别分析、自相关分析和自回归分析的全套Matlab源代码(MATLAB source code including linear regression analysis, multiple linear regression analysis, stepwise regression analysis, non-linear regression analysis, principal component analysis, factor analysis, hierarchical clustering analysis, discriminant analysis, autocorrelation analysis and autoregressive analysis)
- 2019-03-14 22:17:00下载
- 积分:1
-
surface_mount_resistor
考察一个在热循环中的表面贴片电阻。一般情况下,连接贴片电阻与电极的焊点是其中最薄弱的环节,它通常对温度和时间表现出较强的非线性。为了确保结构的完整性,基于蠕变应变和耗散能进行了疲劳分析。(This case study of a surface patch resistance in a thermal cycle. In general, the solder joint is the weakest link, which usually shows strong nonlinearity in temperature and time. In order to ensure the integrity of the structure, the fatigue analysis is carried out based on the creep strain and dissipation energy.)
- 2015-10-23 14:26:17下载
- 积分:1
-
oftDemo
模拟光纤传输中磁场和电场的场强度分布。包含纳米光纤的相关仿真(Simulation of optical fiber transmission field intensity distribution of magnetic and electric fields. Comprising nano-fiber-related simulation)
- 2021-01-22 18:18:41下载
- 积分:1
-
filter_tz
说明: 根据设计指标提取广义切比雪夫滤波器阶数和传输零点位置,参照《新型微波滤波器的理论与设计》_褚庆昕一书,并提供了滤波器耦合矩阵的计算程序,参照Richard Cameron的方法。(The order of the generalized Chebyshev filter and the position of the transmission zero point are extracted according to the design indicators. Refer to the book "Theory and Design of New Microwave Filters" _ Chu Qingxin, and provide a calculation program for the filter coupling matrix.)
- 2020-07-02 21:20:01下载
- 积分:1
-
eof
对北大西洋1980-1999的月均SST资料进行EOF分解(EOF the sea surface temperature of north atlantic in 1980-1999)
- 2012-04-30 19:55:34下载
- 积分:1