-
VCPmatlab
本文详细介绍了如何实现VC与Matlab的混合编程,对于进行复杂的运算有很好的用处(This paper describes how the VC and Matlab programming mix, for complex calculations to good use)
- 2013-09-07 11:32:39下载
- 积分:1
-
Otsu
最大类间方差法的VC++和matlab源程序,还包括其原理介绍的doc文档(Otsu method of VC++ and matlab source, but also introduced the principle document doc)
- 2011-05-16 10:42:10下载
- 积分:1
-
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
-
BP
说明: BP 算法的实现,分别包含了C++,Matlab,Forturn等几种语言的实现方法
- 2009-07-27 16:15:57下载
- 积分:1
-
mixure
vc和matlab的混合编程,很好很全的(vc and matlab programming mix, full of very good)
- 2011-11-23 20:59:18下载
- 积分:1
-
2010-04-15_Balanced_PSO
Balanced PSO,可作为benchmark比较(You campare your algorithm with it.)
- 2013-09-21 10:22:38下载
- 积分:1
-
qampsk
QAM PSK 信号的调制星座图代码,实现调制信号的星座图显示和比较(the code of QAM&PSK Signal modulation constellation diagram )
- 2013-12-09 16:39:55下载
- 积分:1
-
m
说明: matlab圆柱投影的代码,辛苦管理员了,初学者,求教啊(Matlab code of cylindrical projection, hard administrator, beginners, for advice
)
- 2015-10-10 19:57:20下载
- 积分:1
-
GP-programming-
本程序是对遗传算法的改进实现,在遗传操作中的选择 复制 交叉部分做了改进。代码调试通过 可以通过宏命令修改迭代次数。(This program is the improvement of genetic algorithm implementation, the choice of operation in the replication of genetic cross-section are improved. Debugging through macro commands can be modified by the number of iterations.)
- 2011-05-08 18:31:35下载
- 积分:1
-
5
一道程序编译顺序的考题,涉及到函数调用的先后顺序及运算符号的优先级等问题。下面我展开给你讲。
C的程序编译总是从main函数开始的,这道题的重点在“fun((int)fun(a+c,b),a-c)) ”语句。
系统首先要确定最外层 fun()函数的实参,第一个参数的确定需要递归调用fun()函数(不妨称其为内层函数)。内层函数的两个参数分别为x=a+b=2+8=10、y=b=5,执行函数体x+y=10+5=15,于是得外层函数的参数x=15。其另一个参数y=a-c=2-b=-6,再次执行函数体,得最终返回值x+y=15+(-6)=9。 (Compiling together the sequence of test procedures, involving the sequence of function calls and operator symbols, such as the priority problem. Now I give you to start speaking. Procedures for C compiler always start from the main function and at这道题the focus of " fun ((int) fun (a+ c, b), ac)) " statement. System must first determine the most outer layer of fun () function of real parameters, the first parameters of recursive calls required fun () function (may be called the inner function). Inner function separately for the two parameters x = a+ b = 2+8 = 10, y = b = 5, to execute the function body x+ y = 10+5 = 15, then the outer function parameters were x = 15 . Its another parameter y = ac = 2-b =- 6, once again to execute the function body may eventually return the value of x+ y = 15+ (-6) = 9.)
- 2009-03-15 15:36:23下载
- 积分:1