-
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
-
pm_haar_inv
MATLAB函数为pm Haar 1-D IDWT算法
离散Haar小波逆变换的基本原理(MATLAB function for pm Haar 1-D IDWT algorithm,
Fundamentals of the discrete Haar wavelet transform)
- 2013-11-23 22:59:36下载
- 积分:1
-
SVPWMtested
实现空间矢量控制,结果正确。经过验证!可放心使用!(Source link has yet to be found. Please, try to download it from local website.)
- 2010-10-26 17:01:01下载
- 积分:1
-
GS_CH_MOPSO_Grey
多目标非线性约束的粒子群算法,采用灰度理论,混沌理论,动态惩罚函数,可针对任何复杂函数进行优化,效果很好(Nonlinear constrained multi-objective particle swarm algorithm, using gray theory, chaos theory, dynamic penalty function can be optimized for any complex function, the effect is very good)
- 2021-05-13 22:30:02下载
- 积分:1
-
cluster-2
it is cluster2 matlab code
- 2013-10-06 06:11:45下载
- 积分:1
-
BOREHOLE
该程序是在flac下运行的,没找到flac,所以用matlab表示了,供岩土力学研究方向学习(The program is run under flac, did not find flac, so use matlab shows for rock mechanics research study)
- 2015-01-05 21:07:38下载
- 积分:1
-
Underdetermined-Blind-Source-Separation
Underdetermined Blind Source Separation
- 2014-02-20 08:44:06下载
- 积分:1
-
pffunction
粒子滤波算法的实现程序,采用matlab平台,算法带有重采样步骤,对初学者学习粒子滤波有点帮助。(Particle filter implementation of procedures, using matlab platform, the algorithm with resampling step, for beginners to learn particle filter to some extent.)
- 2009-10-11 21:59:14下载
- 积分:1
-
normalization
说明: 四种常见的归一化方法,归一化效果不错。应用在matlab环境下。(Four common normalization method, normalized results are good. Used in the matlab environment.)
- 2021-03-23 14:59:15下载
- 积分:1
-
Matlab-UDP
实现Matlab UDP通讯工具箱的发送和接收功能(Communications toolbox to achieve Matlab UDP send and receive functions)
- 2011-05-20 22:38:52下载
- 积分:1