-
beibaowenti
有N件物品和一个容量为V的背包。第i件物品的费用是c,价值是w。求解将哪些物品装入背包可使这些物品的费用总和不超过背包容量,且价值总和最大。(There are N items and a knapsack capacity of V' s. No. i is the cost of items c, the value of w. Solving items into the backpack which will enable the cost of these items does not exceed the sum of the capacity of backpack, and the sum of the maximum value.)
- 2009-05-07 22:10:10下载
- 积分:1
-
C-C方法求lorenz的延迟时间
C-C法求混沌系统的延迟时间,该程序是C-C法的函数文件,已测试,可运行多种数据,运行时间快(The C-C method seeks the delay time of the chaotic system. The program is a function file of C-C method. It has been tested and can run many kinds of data.)
- 2018-06-06 16:10:38下载
- 积分:1
-
latlon
用Matlab软件画出给定区域的
空间曲面图形.(Using Matlab software to draw a given region of space-surface graphics.)
- 2009-09-06 01:05:59下载
- 积分: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
-
BP
说明: 这是一种BP神经网络的的MATLAB的代码有用请下载(if it help,please go ahead)
- 2014-09-14 18:28:58下载
- 积分:1
-
chuli4
随便编写的,我刚学matlab图像处理,这是我的学习程序(Just write, I just learning matlab image processing, this is my learning process)
- 2013-05-09 16:18:04下载
- 积分:1
-
MATLABandVClianhe
MATLAB and VC 联合编程的实现(MATLAB and VC lianhe biancheng shixian de lizi)
- 2009-07-08 13:33:00下载
- 积分:1
-
functionFairnessProfile_cvx
说明: Running test programming
- 2019-04-24 12:07:19下载
- 积分:1
-
shuzituxiang
这个程序自己编写的,可以实现简单的图像的二值化和均衡化(The procedures, can achieve a simple picture of the value of two and equalization)
- 2014-11-03 15:30:18下载
- 积分:1
-
213test
说明: (213)卷积码编码译码C程序
卷积码编码及其译码的C程序设计方案,以213为例说明,希望对大家有用
((213) convolutional code encoding decoding C program)
- 2010-05-02 13:32:50下载
- 积分:1