CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - c 15.4
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - c 15.4 - List
[
matlab
]
0
DL : 0
给定n种物品和一个背包,物品i的重量是Wi,价值是vi,被包容量是C,应该如何选择装入被包的物品,使得装入背包中物品的总价值最大?对于每种物品i,只有两种选择,装入或者不装入. 输入:第一行两个正整数n(物品数)和C(容量) 第二行n个正整数n,表示物品价值 第三行n个正整数n,表示物品重量 输出:第一行表示总价值 第二行n个数(0/1),0表示物品不装入,1表示装入 例如, 输入: 5 10 6 3 5 4 6 2 2 6 5 4 输出 15 1 1 0 0 1 -Species of a given n items and a backpack, the weight of item i is Wi, the value of vi, was packet capacity is C, should be how to choose a package of items to be loaded, the backpack load in the largest total value of goods? For each item i, there are only two options, loaded or not loaded. Input: the first line of the two positive integer n (the number of items) and C (capacity) of the second line of n positive integer n, that the value of the third line of n positive integer n, that the weight of output: the total value of the first line of the second line, said n number of (0/1), 0 that the items do not load, that load 1 for example, enter: 5,106,354,622 6 5 4 output 15 1 1 0 0 1
Date
: 2025-12-19
Size
: 1kb
User
:
cj
[
matlab
]
MATLAB
DL : 0
MATLAB函数参考手册,查看matlab函数作用以及功能。- SVMLSPex02.m Two Dimension SVM Problem, Two Class and Separable Situation Difference with SVMLSPex01.m: Take the Largrange Function (16)as object function insteads ||W||, so it need more time than SVMLSex01.m Method from Christopher J. C. Burges: "A Tutorial on Support Vector Machines for Pattern Recognition", page 9 Objective: min "f(A)=-sum(ai)+sum[sum(ai*yi*xi*aj*yj*xj)]/2" ,function (16) Subject to: sum{ai*yi}=0 ,function (15) and ai>=0 for any i, the particular set of constraints C2 (page 9, line14). The optimizing variables is "Lagrange Multipliers": A=[a1,a2,...,am],m is the number of total samples.
Date
: 2025-12-19
Size
: 548kb
User
:
王东东
[
matlab
]
chiebuka_eyisi_hw3p4
DL : 0
Design of a 3 phase round rotor turbo-alternator to satisfy the following specs: 150MW(real power), Y connected, 12.6kV (terminal voltage), 60Hz, 4 pole 0.85 lagging, 250m/s peripheral speed for 20 over speed run, directly cooled stator(water) and rotor(hydrogen), Vfmax = 500V, 60 slots, 14/15 pitch, skew 1 slot, 12 parallel circuits and 25 degree C, working temperature.-Design of a 3 phase round rotor turbo-alternator to satisfy the following specs: 150MW(real power), Y connected, 12.6kV (terminal voltage), 60Hz, 4 pole 0.85 lagging, 250m/s peripheral speed for 20 over speed run, directly cooled stator(water) and rotor(hydrogen), Vfmax = 500V, 60 slots, 14/15 pitch, skew 1 slot, 12 parallel circuits and 25 degree C, working temperature.
Date
: 2025-12-19
Size
: 2kb
User
:
Eyisi Paul
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.