-
Mimotools
说明: MIMO的Matlab编程工具库,很有用(useful toolbox for MIMO Matlab programming)
- 2009-07-22 07:12:31下载
- 积分: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
-
DeNoising
小波去噪函数,各种去噪滤波器以及滤波函数的matlab函数程序(Wavelet denoising function, various de-noising filters and filter function matlab function program)
- 2014-11-28 14:22:16下载
- 积分:1
-
knn
knn用于分类的matlab源码,短小精悍(knn matlab source code for the classification, dapper)
- 2011-05-18 11:49:34下载
- 积分:1
-
pdco5
内点优化法,stanford大学The Systems Optimization Laboratory 开发(Interior point,stanford university The Systems Optimization Laboratory)
- 2020-06-23 14:20:02下载
- 积分:1
-
meshgen
automatic mesh generation for fem problem
- 2011-01-20 19:00:39下载
- 积分:1
-
AdaptiveEqualizationRLS_ENEE634
this file explain hoew to simulate RLS EQUALIZER on matlab .
- 2015-02-07 02:01:46下载
- 积分:1
-
An-engineers-guide-to-MATLAB
本书的目的是让读者熟练掌握MATLAB的知识并用来求解工程问题。解决这类问题一般需要编写相对较短、使用次数较少的程序。因此,本书将着重介绍在MATLAB中如何有效地开发简洁易读的程序,同时使之具有易于调试和执行速度快的特点。(The purpose of this book is to allow readers to master knowledge of MATLAB and used to solve engineering problems. To solve such problems usually need to write a relatively short period, the use of fewer procedures. Therefore, this book will focus on how to effectively develop in MATLAB concise, easy-to-read program, so that it has easy debugging and execution speed.)
- 2013-05-10 15:35:36下载
- 积分:1
-
sigmodel
基于固定点的ICA程序,并给出仿真的例子,鲁棒性很好(Based on fixed-point ICA procedure and the simulation example of a very good robustness)
- 2010-01-19 15:24:35下载
- 积分:1
-
LCCf
实现一个LCC滤波
电感Lr,电感电阻R,与电感串联的电容Cr,输出并联电容Co(achieve a filter inductor Lr, inductance and resistance R, the series inductor and capacitor Cr, Parallel output capacitance Co.)
- 2007-06-19 22:43:28下载
- 积分:1