-
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
-
Runge-Kutta-
应用四阶龙格库塔法求解微分方程的初值问题(Applications fourth-order Runge-Kutta Solving Ordinary Differential Equations)
- 2015-01-28 17:43:33下载
- 积分:1
-
SelectPic_1
实现视频 分帧功能 按照灰度值存储 直接matlab读取(matlab vc )
- 2011-10-25 22:41:32下载
- 积分:1
-
Object-oriented-programming-(OOP)
Object-oriented programming (OOP) - Simple sales
- 2015-03-14 22:49:48下载
- 积分:1
-
phaseunwrap11
相位图像的相位解包算法对一个相位图进行解包裹(Phase image of phase unwrapping algorithm for a phase map unwrapping)
- 2008-05-04 14:32:32下载
- 积分:1
-
PF_codes_boat
粒子滤波,采用matlab与vc共同编写,注意在运行之前需要 在matlab环境下,运行
- 2014-09-11 16:11:27下载
- 积分:1
-
MemDC_Test
MemDC防止屏幕闪烁的好方法,如不使用内存DC在画图,显示时会闪烁。(memdc redraw dc)
- 2013-12-18 20:26:22下载
- 积分:1
-
MA4
串的一些基本运算,删除一段子串,置换,求s串中从start位置开始长度为len的子串等等(Some of the basic string operations, delete a substring, replacement, seeking s string starting from the start position of the sub-string of length len, etc.)
- 2009-11-16 13:10:13下载
- 积分:1
-
prony
this is a useful method of realizing prony in matlab system
- 2021-02-03 14:39:59下载
- 积分:1
-
MatrixVB
MatrixVB 使用手册:介绍在VB中调用matlab函数的控件的使用方法及例子。在VB中使用强大的matlab运算工具!(MatrixVB User’s Guide)
- 2009-06-06 10:40:39下载
- 积分:1