-
Question1
说明: C++源代码,递归实现。原问题描述:鼓上蚤时迁到一个山洞里去盗宝,里面有n件宝贝,价值分别是a1,a2......an,并且满足ai大于a1+a2+....+a(i-1)的和。他身上有一个背包,能装的东西最大价值是K,他只能进洞一次,请问他最多能带出多少?
要求:输入K,n,a1,a2......an
输出:他能最多带出的宝物价值
(C++ Source code Recursive achieve. The original problem description: drum when flea盗宝going to move in a cave, there are n pieces of treasure, valued are a1, a2 ...... an, and to meet ai than a1+ A22B !....+ a (i-1) and. Him to have a backpack, things can hold the greatest value is K, he could only hole once, to ask him to bring out the maximum number of? Requirements: Enter K, n, a1, a2 ...... an output: he can bring out the maximum value of the treasures)
- 2008-12-02 21:07:25下载
- 积分:1
-
UKFfilter
用ukf实行滤波,然后比较真实值并进行比较(Implemented by ukf filter, and then compare the real value and compared)
- 2011-04-29 15:35:39下载
- 积分:1
-
hosa
高阶谱分析工具箱,用于信号处理工具箱中各种函数调用,很有用(hosa)
- 2010-09-28 20:41:34下载
- 积分:1
-
hi
说明: dwt image compression
- 2011-03-12 21:43:19下载
- 积分:1
-
matlab-program
该程序是用matlab编写的遗传算法的实例,并且附有详细的说明!(The program is written using MATLAB examples of genetic algorithm, and accompanied by a detailed description of!)
- 2012-03-25 20:53:23下载
- 积分:1
-
KF_main
卡尔曼滤波模型的模拟范例 注释相当明确 适合初学者(KALLMAN FILTER)
- 2013-09-18 16:55:26下载
- 积分:1
-
chios-anylise-bais-on-matlab
基于matlab对混沌现象进行研究,同时通过建立sum模型分析混沌吸引子的影响(study base on matlab)
- 2012-01-05 14:44:17下载
- 积分:1
-
FSKshiyan
根据FSK调制原理
在二进制频移键控中,幅度恒定不变的载波信号的频率随着输入码流的变化而切换(称为高音和低音,代表二进制的1和0)。来做实验
(According to the principle of FSK modulation in the binary frequency shift keying, the frequency of the carrier signal amplitude constant with the change of the input stream is switched (called treble and bass, representing a binary 1 and 0). Trequinsin)
- 2012-11-26 21:30:59下载
- 积分:1
-
capacity_water
对通信系统中的注水算法技术进行matlab仿真。(The water injection system of communication technology matlab simulation algorithm.)
- 2011-01-10 22:35:55下载
- 积分:1
-
zhinengkongzhiziliao
智能控制编程及其在matlab中如何应用实现(Intelligent control programming and its implementation in matlab how to apply)
- 2013-08-31 13:01:03下载
- 积分:1