-
Archive
4) 创建一个名为Complex的类,进行复数的算术运算。复数的形式为:
realpart+imaginarypart*i
用浮点变量表示类的private数据。提供构造函数,能够对所声明的该类对象进行初始化。在不提供初始化值的情况下,该构造函数应包含默认值。针对以下功能,分别提供一个public成员函数。
(1)两个复数相加;
(2)两个复数相减
(3)用(a, b)的形式打印复数,其中a为实部,b为虚部。
(4) Create a class called Complex, and perform complex arithmetic operations. Plural form: realpart+imaginarypart* i said private data class with floating point variables. Provide a constructor, the object can be declared for the class is initialized. In the case do not provide initialization values, the constructor should contain default values. For the following functions, which provide a public member function. (A) two complex numbers (2) the subtraction of two complex (3) (a, b) in the form of plural printing, where a is the real part, b is the imaginary part.)
- 2013-12-18 15:14:46下载
- 积分:1
-
ypea122-spea2
说明: 遗传算法 多目标优化算法,SPEA2
主要流程:1:首先初始化一个archive的集合P1,以及一个常用的population的集合P。设置P1的大小是N1,P的大小是N。初始的时候P1是空的,而P是已经初始化好的种群个体。
2:对P1进行评价,选出来里面的pareto front为1(下面用PF1来代替了)的个体,copy到P1中,如果PF1的数量大于N1的话,这个接下来再说,目前假定PF1的数量小于N1。(Genetic algorithm, multi-objective optimization algorithm, SPEA2
Main process: 1: first, initialize a set P1 of archive and a set P of popular. Set P1 to N1 and P to n. At the beginning, P1 is empty, and P is the initialized population.
2: Evaluate P1, select the individual whose Pareto front is 1 (Pf1 is used to replace it below), copy to P1, if the number of Pf1 is greater than N1, then let's talk about it. At present, it is assumed that the number of Pf1 is less than N1.)
- 2021-03-01 14:59:00下载
- 积分:1
-
matlab_guide
matlab GUI guide. a complete guide for image processing
- 2010-12-10 10:37:28下载
- 积分:1
-
New-heuristic--bat-algorithm-for-the-production-o
bat algorithm source code
- 2013-12-10 16:53:31下载
- 积分:1
-
matlab-src-code
Matlab src code for image processing
- 2015-04-05 23:30:58下载
- 积分:1
-
VMD_test2
说明: 变分模态分解程序,包括函数和测试程序,已加中文注释,另有说明文档。(The program of variational mode decomposition, including function and test program, has been annotated in Chinese and provided with other documents.)
- 2020-06-05 21:13:40下载
- 积分:1
-
RS
说明: 采用RS极重标差分析法得到HURST指数。参数sequence为输入的时间序列。(RS heavy use of standard deviation analysis by HURST index. Parameter sequence for the input time series.)
- 2010-08-19 01:48:01下载
- 积分:1
-
matelabfangzhen
先进PID 控制及其MATLAB 仿真
网络上很少有这样的文档资料下载(Advanced PID Control and MATLAB Simulation of the network there has been little information download this document)
- 2009-04-21 15:26:21下载
- 积分:1
-
calc
使用MATLAB写的计算器,可以随意添加、删除数据。(Simple Calculator , with funny tweaks
Feel free to Add/delete anything)
- 2010-08-23 15:10:31下载
- 积分:1
-
AboutVLABS
Abstract— We propose a simple speech compression algorithm
using subband division and ADPCM (Adaptive Differential
Pulse Code Modulation) algorithm. Although speech data are
stored in a semiconductor memory device, its capacity and the
available network capacity are limited. Therefore, it is necessary to
compress the data as much as possible. The first is that the
reconstructed datum must be understood correctly. Speech signal is
compressed with a ratio of 1/4 using the proposed subband division
and ADPCM (Adaptive Differential Pulse Code
Modulation) algorithm.
- 2013-08-14 22:58:20下载
- 积分:1