-
Ritz_solution
Ritz法解决-u +u=x 0<x<1,u(0)=0,u(1)=0的有限元边值问题。精确解为u(x)=1/(exp(1)-1/exp(1))*exp(-x)+1/(1/exp(1)-exp(1))*exp(x)+x,基函数为g(i)=sin(i*pi*x)(This matlab code is used to solve the boundary value problem of the differential equation:
-u +u=x 0<x<1,u(0)=0,u(1)=0, where the accurate solution is :
u(x)=1/(exp(1)-1/exp(1))*exp(-x)+1/(1/exp(1)-exp(1))*exp(x)+x)
- 2011-05-30 20:14:35下载
- 积分: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
-
Radar-system-simulation-MATLAB-Code
雷达系统仿真Matlab源码,全部通过测试,对雷达的各个模块有仿真,适合科研和专业人士学习和研究。(Radar system simulation Matlab source, all passed the tests, each module of the radar simulation for research and professional learning and research.)
- 2011-10-30 08:49:21下载
- 积分:1
-
Optimal-Control-of-postgraduate
最优控制内容,关于找到最优解的问题:主要是对极小值原理、动态规划、线性二次型的应用。(Find the optimal solution for the problem,about minimum principle, dynamic programming, linear quadratic applications)
- 2014-01-04 10:06:52下载
- 积分:1
-
fwdfw
generate two pn sequencees and find correlations
- 2010-11-24 16:42:01下载
- 积分:1
-
chapter7_1
语音信号处理教材中,如何训练码书,从这段程序中可以简单地看出(Speech signal processing textbooks, how to train codebook, can simply be seen from this program
)
- 2013-11-25 20:35:05下载
- 积分:1
-
mulDiscNewton
说明: 采用离散牛顿法,matlab非线性方程组求解算法(Nonlinear Equation System Solution Algorithm)
- 2019-01-06 14:28:07下载
- 积分:1
-
CRC_frame
OPNET源码,将CRC检验应用于新型网络体系结构SUPA的分帧。(it s a OPNET simulation,which is about SUPANET, a next generation network architecture. CRC in this circumstance is used for EPF frame divided)
- 2010-12-26 16:17:17下载
- 积分:1
-
BreastPhantom
it automatically generate a simulated 3D breast phantom. Generate lesions, ducts, fibroglandular tissue and fatty tissue. It could be used for all kinds of breast phantom based image analysis. e.g projection image, CT reconstruction etc.
- 2010-04-17 02:38:53下载
- 积分:1
-
edge_detection
matlab code for edge detection
- 2010-06-15 00:55:35下载
- 积分:1