-
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
-
industrial-strength
eBook - Industrial Strength C++ - Visual C++ guide
- 2014-02-02 13:03:09下载
- 积分:1
-
ARINC429__HI-35XXApplication_Note
ARINC_429协议芯片的HI-3585__HI-3598_HI-3599_Application_Note(ARINC429 HI-3585__HI-3598_HI-3599_Application_Note)
- 2014-02-13 21:05:08下载
- 积分:1
-
entropy
信息论中用matlab编程来计算熵,此程序可以修改输入的矩阵,进行新的计算(To calculate the entropy of information theory using Matlab programming, this program can modify the input matrix, a new calculation)
- 2012-05-22 23:59:23下载
- 积分:1
-
HEED
简单的matlabheed算法,适用于初学者(Simple matlabheed algorithm, it is suitable for beginners)
- 2012-09-26 21:27:00下载
- 积分:1
-
matlabwatershedcode
分水岭分割在matlab下实现,希望大家多提意见。(watershed segmentation in Matlab achieve, we hope to do so.)
- 2007-05-09 08:51:10下载
- 积分:1
-
EVM
测量EVM的M文件,这是一个很好的程序,适合初学者(evaluate EVM,attribute is M)
- 2011-12-17 22:26:42下载
- 积分:1
-
geneticalgorithm
调试所用Matlab版本是6.5,gatbx-toolbox是调试过程中使用的工具箱,有些热心的研友已经提供了该工具箱,之所以再贴一遍,是因为6.5版本下调试该工具箱会出现一些错误提示,在该版本中已经进行了改正,使用该工具箱只需要将压缩包下的gatbx和gatbxTest_fns加入到Matlab搜索路径即可,另外gatbx-origin是Sheffield大学提供的原始版本的工具箱,未做任何改动,两者可做比较之用
3.gatbx-example是算例调试源码和各算例的调试说明,大家可以对照原书进行比较
4.窃以为gatbx工具箱较之Matlab7新版下的gads工具箱更能让人熟悉和了解遗传算法的原理和计算过程,虽然在可视化方面不及gads
5.学习遗传算法如果首先用熟相关工具箱的话,能够先培养信心,然后更有兴趣去专研和了解具体的算法,如果就用现有的工具箱就能解决问题的话,不了解其详细的算法也未尝不可,毕竟不是每个研友都能向see_moonlight那样开发自己的工具箱吧, ( The debugging uses the Matlab edition is 6.5, gatbx-toolbox debugs the toolbox which in the process uses, somewhat warm-hearted ground the friend already to provide this toolbox, the reason that pasted again, was because under 6.5 editions debugged this toolbox to be able to present some wrong prompts, had already carried on the correction in this edition, will use this toolbox only to need to compress package of under gatbx and gatbx Test_fns joins to the Matlab search path then, moreover gatbx-origin was the primitive edition toolbox which the Sheffield university provided, has not made any modification, both might make the comparison are the example debugging sound code and various examples debugging explained with
3.gatbx-example, everybody might compare the original bookCarries on comparison
4. in my opinion under the gatbx toolbox s to be able to let the human compared with Matlab7 update gads toolbox be familiar with the understanding genetic algorithm principle and)
- 2010-10-17 15:04:57下载
- 积分:1
-
GP-programming-
本程序是对遗传算法的改进实现,在遗传操作中的选择 复制 交叉部分做了改进。代码调试通过 可以通过宏命令修改迭代次数。(This program is the improvement of genetic algorithm implementation, the choice of operation in the replication of genetic cross-section are improved. Debugging through macro commands can be modified by the number of iterations.)
- 2011-05-08 18:31:35下载
- 积分:1
-
RecPlayUseMemBlock
RecPlayUserMemBlock
功能:双缓冲内存录、放音演示程序。
版本:Ver1.0。
(RecPlayUserMemBlock function: double-buffered memory, record, playback demo. Version: Ver1.0.)
- 2011-06-06 11:23:47下载
- 积分:1