-
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
-
Smith
smith chart用于微波和电磁波分析和计算,在通讯工程中有良好的应用。(smith chart used for analysis and calculation of microwave and electromagnetic waves in communication engineering has a good application.)
- 2011-05-26 20:45:07下载
- 积分:1
-
smart_antenna1
matlab实现智能天线的波束调向功能,并显示结果。(matlab smart antenna beam tune to the function, and displays the results.)
- 2013-03-12 20:44:12下载
- 积分:1
-
b69e32a7f71a
this is the codeiing fo it
- 2012-11-07 12:24:35下载
- 积分:1
-
huffman_matlab
可对.txt文本进行霍夫曼编码,并计算其压缩率(Can. Txt text Huffman code, and calculate the compression ratio)
- 2021-04-01 12:59:08下载
- 积分:1
-
empedans
antenna empedans in matlab
- 2010-05-19 03:39:43下载
- 积分:1
-
contact-lenses
some dataset for weka some dataset for weka
- 2014-09-12 03:05:59下载
- 积分:1
-
work1
dfig风力涡轮机的matlab simulink 仿真模型 使用matlab编写(DFIG‘s work ok if you need down it)
- 2012-04-16 21:55:30下载
- 积分:1
-
Finalized-Cinema-Project
School project on cinema seating plan
- 2014-08-18 05:11:45下载
- 积分:1
-
apriori_matlab
apriori算法,用MATLAB写的。
不是本人所写,但感觉写得不错,特与大家分享
(I have not written, but the feeling is well written, special to share with you)
- 2011-06-03 16:26:18下载
- 积分:1