-
chap11
syms x
g=exp(x*sin(x))
t=taylor(g,12,2)
xd = 1:0.05:3 yd = subs(g,x,xd)
ezplot(t, [1,3]) hold on
plot(xd, yd, r-. )
title( Taylor approximation vs. actual function )
legend( Taylor , Function )(syms x g = exp (x* sin (x)) t = taylor (g, 12,2) xd = 1:0.05:3 yd = subs (g, x, xd) ezplot (t, [1 , 3]) hold on plot (xd, yd, ' r-.' ) title (' Taylor approximation vs. actual function' ) legend (' Taylor' , ' Function' ))
- 2011-07-27 18:12:56下载
- 积分:1
-
6_1
1. 定义一个抽象学生类CStudent,它具有公有成员函数Average(),该函数用于计算学生的平均分,函数为虚函数;定义一个文科学生类CStudentLiberalArts,它是类CStudent的派生类,并以公有方式派生,它具有的成员有:
1) 保存英语、政治、数学、地理和历史、美术成绩的整形成员变量;
2) 设置上述变量的公有成员函数;
3) 输出上述变量的公有成员函数;
4) 公有的成员函数Average()用于计算学生的平均分;
定义一个理科学生类CStudentScience,它是类CStudent的派生类,并以公有方式派生,它具有的成员为:
1) 保存英语、物理、数学、化学和计算机、程序设计成绩的整形成员变量;
2) 设置上述变量的公有成员函数;
3) 输出上述变量的公有成员函数;
4) 公有的成员函数Average()用于计算学生的平均分;
编写主函数,并测试以下内容:
1) 定义一个CStudent的指针数组pStu,数组长度为4;
2) 动态创建2个文科学生的对象,地址存于pStu数组的0-1个元素内;
3) 动态创建2个理科学生的对象,地址存于pStu数组的2-3个元素内;
4) 利用while循环调用数组里每个元素的计算平均成绩操作;
释放动态分配的空间,确保必要的析构函数能被调用。
(1 define an abstract class student CStudent, it has a public member function Average (), this function is used to calculate the student s average points function as virtual function definition of a liberal arts student class CStudentLiberalArts, it is the class CStudent derived class, and public be derived, which has members are:
1) Save English, shaping member variables politics, mathematics, geography and history, art achievements
2) Set the above variables public member function
3) public member function of the output of the variable
4) public member function Average () is used to calculate the average student s points
The definition of a science student class CStudentScience, it is the class CStudent derived class, and public manner derived, which has members as follows:
1) Save English, physics, mathematics, chemistry and computer programming achievement shaping member variables
2) Set the above variables public member function
3) public member function of t)
- 2014-10-20 15:29:16下载
- 积分:1
-
complex
Math class complex calculations. There main argument, the complex conjugate calculation. . .
- 2014-01-20 18:28:56下载
- 积分:1
-
Custom_Events08282008
IndexOrder : can change indexing Order Right to left or Left To Right , U can Change Default From en_RightToLeft to en_LeftToRight if you want.
##### HorizontalyOrder : if set to false then vertical ordering
##### SetFocusFirstINDEX : if set to true then Finaly First Component in form who have index = 0 Setfocuse
- 2014-08-13 05:12:26下载
- 积分:1
-
2660
这是关于MATlab的一个PDF文档,这个文档清晰的给出了 Matlab的使用方法
(This is on the Matlab a PDF document, the document gives a clear use of Matlab)
- 2008-07-31 11:24:51下载
- 积分:1
-
calculate-FFT
基于FFT平面相控阵天线方向图快速计算 (Figure quickly calculate FFT-based planar phased array antenna direction)
- 2013-12-04 12:31:56下载
- 积分:1
-
Minttegdiff-ma
matlab微积分讲义ppt,包含算法,程序源码等非非常多不错的咚咚,能学习一下 可直接使用。 已通过测试。
(matlab calculus lecture notes ppt, including algorithms, program source code and other non-very good pound, and can learn can be used directly. Has been tested.)
- 2012-07-25 22:57:21下载
- 积分:1
-
Matlabbased
基于matlab的车牌定位和分割,能够良好的分割和定位汽车车牌(Matlab-based license plate location and segmentation, to a good vehicle license plate segmentation and positioning)
- 2009-05-15 20:12:07下载
- 积分:1
-
matlab2
用matlab实现图像的各种变换,旋转,大小变换,滤波平滑。(Matlab implementation using a variety of image transformation, rotation, size, transform, smoothing filter.)
- 2009-03-08 11:23:51下载
- 积分:1
-
Msimplefuunca
几个用matlab实现正向云发生器,k均值算法的的程序,都已调试通过 ,经测试可直接使用。
(Several matlab realize positive cloud generator, k-means algorithm procedures have been debugging through, has been tested and can be used directly.)
- 2012-09-30 18:15:57下载
- 积分:1