-
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
-
lqr
一个基于飞机纵向方程设计的LQR控制律SIMULINK模型结构(An equation based aircraft longitudinal control law designed SIMULINK model structure LQR)
- 2010-12-19 01:41:20下载
- 积分:1
-
Fuzzy_PID_5_bianlunyu6
说明: 变论域模糊PID控制算法例程,希望多交流指教!(Variable universe fuzzy PID control algorithm routine, I hope more share advice!)
- 2010-04-01 16:15:19下载
- 积分:1
-
BERR
无线传感器网络QoS路由BERR算法,matlab程序(QoS routing BERR algorithm for wireless sensor networks
)
- 2012-05-12 21:23:06下载
- 积分:1
-
FFT_TEST
modesim 的仿真测试文件,Matlab文件,需要自己设置部分参数(modesim simulation test file, Matlab file, need to set some parameters)
- 2011-11-01 22:23:52下载
- 积分:1
-
MATLAB_WordaExcel
matlab的学习资料,从最基础开始,逐步走进编程世界(Matlab learning materials, the most basic start, gradually into the programming world)
- 2015-04-15 11:01:23下载
- 积分:1
-
MATLAB_function
matlab图像函数大全,并附带有详细说明(matlab images function Daquan, accompanied with a detailed description)
- 2010-05-17 12:54:20下载
- 积分:1
-
matlab
chuong trinh matlab thu nghiem
- 2010-12-29 16:52:10下载
- 积分:1
-
Building-GUI-with-Matlab
This book is about how to make MATLAB-based Graphical User Interface (GUI) tools. It falls naturally into two parts:
• GUI design, or how to make something that’s useful
• GUI implementation, or how to make something that works The principles of good GUI design are, for the most part, timeless and universal. They apply in MATLAB as much as they apply anywhere else,though we consider them here with respect to specific examples. The guidelines for GUI implementation, on the other hand, tend to be much more specific—many of the implementation details we discuss here weren’t possible in MATLAB until recently. Accordingly, in this manualthere is a trend from the general to the specific. Part of the second half of the manual is devoted to the use of MATLAB’s GUI-building tool, Guide (Graphical User Interface Development Environment). A quick start
example of how to use Guide also closes out this introductory chapter.
- 2012-05-21 20:52:23下载
- 积分:1
-
hfss_tutorial
Ansoft HFSS Tutorial: Stripline
- 2010-01-02 04:43:40下载
- 积分:1