-
myLPC2
lpc synthesis for voice
- 2010-07-06 03:24:05下载
- 积分: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
-
GUI_of_MATLAB
文章描述的是如何使用matlab设计一个可视化的界面,其中很详细的描述了每一步应该如何操作,具有不错的借鉴意义。(The article describes how to use matlab to design a visual interface, which is described in great detail how each step should be, with a good reference.)
- 2014-11-25 13:54:44下载
- 积分:1
-
Weak signal detection
针对强噪声背景中弱信号检测问题,在传统检测方法基础上,提出了基于联合去噪和频率调制的微弱信号检测方法。搭建自相关和小波阈值变换联合去噪系统,极大程度抑制了噪声对检测结果的不利影响。利用频率可调标准信号调制待测信号频率,使得被测信号与检测系统策动力信号的频率差满足检测条件,打破了利用Duffing 振子检测系统只能检测与系统策动力频率相近信号的限制。(In order to solve the problem of weak signal detection in strong noise background, based on traditional detection methods, puts forward the method of weak signal detection and denoising based on frequency modulation. The self correlation and wavelet threshold transform combined de-noising system can greatly restrain the adverse effect of noise on the detection results. Use adjustable standard signal modulation signal frequency to be measured frequency, the signal detection system and the driving signal frequency difference meet the test conditions, the system can only break detection signal detection and system driving the similar frequency limit by using Duffing oscillator.)
- 2017-12-11 22:09:40下载
- 积分:1
-
Pso
模拟一群鸟捕食的情景,从而达到优化目标函数的目的,这就是粒子群算法!起初在可行的空间中随机的产生一群粒子,然后让每个粒子开始在虚拟的空间中向四面八方飞翔,并且每个粒子都记下他们飞过的适应值(也就是目标优化函数)最高的点,而且整个粒子群有一个最高适应值个体,这样,粒子在飞翔的时候尽量朝向自己曾飞过的最好的点和集体的最好的点。最后达到收敛到近似最优点的目的。
(Simulation of a group of birds preying on the scene, so as to achieve the purpose of optimizing the objective function, that is, PSO! At first, where feasible, have a space in a group of random particles, and then let the beginning of each particle in a virtual space to fly in all directions, and each particle they have in mind over the fitness value (that is objective optimization function) the highest point , and the whole particle swarm adaptation has a maximum value of the individual, so that particles in the fly when he had flown as far as possible towards the best point and collective best point. Finally reaching the merits of convergence to approximate most purposes.)
- 2007-10-24 14:45:05下载
- 积分:1
-
Graduation_Project
this matlab rar file simulates the doa of radio signals in using music and esprit algorithm
- 2014-09-06 17:11:33下载
- 积分:1
-
Guide-matlab-obj
概述介绍了matlab环境下面向对象编程的方法,初学者可以看看(Overview describes the object-oriented programming methods matlab environment, beginners can take a look)
- 2014-11-13 23:17:44下载
- 积分:1
-
adapmaxmin.m
Adap Min mAx on matlab algorithm
- 2015-02-11 15:02:53下载
- 积分:1
-
spwmtz
基于MATLAB的SPWM调制的仿真模型。(The SPWM modulation MATLAB simulation model.)
- 2014-05-27 23:29:19下载
- 积分:1
-
STATCOM_chis_controller
Microgrid model and code to plot the waveforms along with chis controller.
- 2012-11-11 18:00:02下载
- 积分:1