-
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
-
MATLAB2010-Essentials
MATLAB2010基础教程,快速掌握MATLAB,短时间内是你运用自如。(MATLAB2010 Essentials, quickly grasp MATLAB, a short period of time that you use it freely.)
- 2013-02-26 10:06:22下载
- 积分:1
-
LDA
example: 演示程序
creatData:生成数据
creatTrainLabelMat:生成数据标签
LDA:提取fisherface
knnRecognition:knn分类器
knnsearch:knn搜索(example: demo creatData: generate data creatTrainLabelMat: generating data label LDA: Extract fisherface knnRecognition: knn classifier knnsearch: knn search)
- 2013-11-20 19:05:10下载
- 积分:1
-
matlabpart1-QAM
THE MATLAB COMMUNICATION TOOLBOX
- 2013-12-04 04:46:33下载
- 积分:1
-
emd
说明: emd分解及其重构,分解成对个IMF,然后进行重构(emd emperical modal decomposition)
- 2019-09-30 14:47:43下载
- 积分:1
-
SignalProcessing(MUSIC)
说明: 本Matlab程序是《现代信号处理》中利用MUSIC算法进行的谐波恢复的仿真程序(The Matlab program is )
- 2008-10-29 15:11:28下载
- 积分:1
-
chap9
《matlab应用大全》赵海滨编著,清华大学出版社,第九章主讲二维数据可视化(The application of matlab Zhao Haibin compiled, tsinghua university press, chapter 9 on two-dimensional data visualization)
- 2013-10-31 09:42:03下载
- 积分:1
-
rkf
自适应步长的Runge-Kutta-Fehlberg法解初问题常微分刚性方程组(Adaptive step size Runge-Kutta-Fehlberg method for solving initial problem of ordinary differential equations)
- 2016-06-05 21:09:48下载
- 积分:1
-
cengci
运用MATLAB软件对层次分析法做进一步的探索与研究,对选购手机有一定的借鉴意义(Using MATLAB software AHP for further exploration and research on purchasing mobile phones have some reference)
- 2011-08-21 10:39:56下载
- 积分:1
-
multi_fading
几个对多径衰落信道的仿真程序,多径衰落是无线通信中的关键问题之一,仿真程序有助于加深对该过程的理解。(failed to translate)
- 2013-05-05 17:34:20下载
- 积分:1