-
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
-
GA_MP
基于GA和MP的音频信号稀疏分解,用matlab实现(GA and MP based on sparse decomposition of audio signals using matlab implementation)
- 2011-04-30 12:02:38下载
- 积分:1
-
genericheader
generation of packet header using MATLAB
- 2011-10-16 20:06:30下载
- 积分:1
-
Scramble_intel
Inspired with scramble game in android, a algorithm for searching dictionary words based on the traversing of 4x4 word matrix. taking long time to run but a novice idea.
- 2014-02-22 10:21:50下载
- 积分:1
-
xiaoboshenjingwangluoyuce2
小波神经网络研究的进展及及于rbf算法结合,希望可以抛砖引玉(Wavelet neural network and the progress of the studies and rbf algorithm in combination, hoping to start)
- 2009-03-19 16:47:53下载
- 积分:1
-
2013.4.1
单载频雷达信号在欠采样条件下产生频谱混叠,用MATLAB仿真验证的结果(Subsampling conditions of single carrier frequency radar signal spectrum aliasing, using MATLAB simulation results)
- 2013-04-14 20:49:26下载
- 积分:1
-
plltest
基于Dq变换数字实现三相锁相环的功能,对于谐波的抗干扰能力差(three-phase phase-lock loop based on d-q transformation)
- 2015-03-04 12:07:54下载
- 积分:1
-
HW3
a cart and pole. The inverted pendulum is a classic problem in dynamics and control theory and is widely used as a benchmark for testing control algorithms. In this report
- 2012-12-30 17:02:19下载
- 积分:1
-
matlab
只是一个数字水印的小程序,希望能给大家一些帮助(digital watermark)
- 2014-11-11 21:55:26下载
- 积分:1
-
Example2-Triangular-lattice
用平面波展开法计算的二维光子晶体空气孔结构,TM和TE模式的能带图,matlab程序源代码(With the plane wave expansion method to calculate the two-dimensional photonic crystal structure of air holes, TM and TE modes of the energy band diagram, matlab source code)
- 2013-10-24 15:27:56下载
- 积分:1