-
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
-
Untitled
这个代码是用Matlab写的心形代码,是通过点的形式编写的,看起来很有意思。(This code is written using Matlab heart-shaped code, through the form of written, looks very interesting.)
- 2013-08-29 09:21:33下载
- 积分:1
-
memdc
说明: 内存dc,内存dc是用于双缓冲,以解决重绘闪烁的问题(Memory dc, memory dc for double buffering to resolve the issue of flickering redraw)
- 2009-08-16 20:07:18下载
- 积分:1
-
Desktop
几个轴承类的matlab文件 里面包含几个实例(Several bearing class matlab file which contains a few examples)
- 2013-10-08 10:54:17下载
- 积分:1
-
Program_0.2
Tutorial Two (You should run it in the Command Window)
- 2012-04-22 18:31:14下载
- 积分:1
-
电力电子技术与Matlab仿真
本书详细介绍了AC/DC、AC/AC、DC/DC电路的仿真(This book details the AC/DC, AC/AC, DC/DC circuit simulation)
- 2020-07-02 00:20:01下载
- 积分:1
-
pls
一个PLS的matlab程序,包括求残差矩阵求回归方程的系数,删除回归分析的常数项,求误差平方和。(A PLS matlab procedures, including seeking residual matrix coefficients of the regression equation, deleted regression constant term, seeking the error sum of squares.)
- 2013-05-24 08:50:48下载
- 积分:1
-
64287612487617824
本文件为基于OMNeT_的Leach协议的仿真改进与研究(This document is based on the improvement and simulation of Leach agreement OMNeT_)
- 2014-12-14 16:42:53下载
- 积分:1
-
partial_transmit_sequence
THIS IS THE MATLAB CODE FOR PTS TO REDUCE PAPR
- 2014-02-25 11:49:03下载
- 积分:1
-
duiou
对偶单纯形法matlab编程,有逐句的说明(simplex write)
- 2012-05-15 16:01:16下载
- 积分:1