-
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
-
zong
基于DCT的图像压缩及其MATLAB仿真实现,详细的过程可运行结果(DCT-based image compression and MATLAB Simulation, the process can run more results)
- 2011-05-24 16:48:43下载
- 积分:1
-
fcest_bfsk
该工程实现2fsk的载频估计,返回2fsk两个载频估计结果。(The project is estimated to achieve 2fsk carrier frequency, return 2fsk two carrier frequency estimation results.)
- 2013-12-25 19:07:04下载
- 积分:1
-
EITHT
mATLAB教程第六章案例,时间变动序列(mATLAB Tutorial Chapter VI case, the time sequence changes)
- 2013-07-20 10:01:58下载
- 积分:1
-
GAfor-Unit-combination
本文针对当前科技水平不足以有效存储电力的情况下产生的发电机机组组合的问题,考虑负荷平衡、输电线传输容量限制等实际情况产生的约束条件,建立机组组合优化模型,追求发电成本最小。同时采用矩阵实数编码遗传算法(MRCGA)和穷举搜索算法,利用MATLAB 7.0.1和C++编程,分别对模型进行求解,并对所得结果进行分析比较,以此来帮助电力部门制定机组启停计划(This article in view of the current level of science and technology would not effective storage power generator unit combination problem, considering the load balance, such as transmission line transmission capacity, the actual situation of constraint conditions, unit combination optimization model is set up, the pursuit of power generation cost minimum. At the same time using matrix real-coded genetic algorithm (MRCGA) and exhaustive search algorithm, using MATLAB 7.0.1 and c++ programming, the model is solved respectively, and analyzes and compares the results to help power unit start-stop planning department)
- 2016-04-16 17:47:31下载
- 积分:1
-
PrimeNumber
判断一个数是否为素数。可以作为分析研究素数编程的人参考。(To determine whether a number is prime. Analysis of prime numbers can be used as programming easy reference)
- 2009-11-26 11:46:23下载
- 积分:1
-
ping
ping internet avariabile
- 2014-11-09 12:04:28下载
- 积分:1
-
fnn
关于matlab中模糊神经网络中关于故障诊断的程序(About the fuzzy neural network matlab procedures for troubleshooting)
- 2014-11-23 21:08:22下载
- 积分:1
-
runtime_server
说明: Matlab Runtime Server 完整教程(Matlab Runtime integrity Directory Server)
- 2005-04-02 02:49:12下载
- 积分:1
-
0002
用c++实现的差分格式求解微分方程。两点边值问题的差分格式( yong chafen geshi shijiande qiujie weifenfangcheng )
- 2010-05-26 22:16:42下载
- 积分:1