Location:
Search - N-bo
Search list
Description: 一个在linux环境下的基于mpi+openmp的混合编程-One in the linux environment mpi+ openmp-based hybrid programming
Platform: |
Size: 175104 |
Author: 求是赤子 |
Hits:
Description: 基于 Ma t l a b语言的遗传算法工具箱支持二进制和浮点数编码方式, 并且提供了多种选择、 交叉、 变异的方法。
通过具体实例对 Ma t l a b的遗传 算法工具箱的用法进行 了说 明介绍.-The Ge ne t i c Al g or it h m To o l b ox ba s e d on Ma t l a b s u ppo ~s t h e b i na r y a nd f lo a t , a n d t he r e a r e t he e x c el l e nl
o pe r at o r s o f s el e c t i on ,c r os s o v e r a nd mut a t i on i n t he To o l bo x ,t wo e xa mpl e s a b o ut ho w t o us e t h e To o l bo x a r e i n t r o du c ec i n t h i s pa p er。
Platform: |
Size: 100352 |
Author: 阿铁 |
Hits:
Description: Báo cáo tố t nghiệ p Nguyễ n Tấ t Thắ ng
Platform: |
Size: 28825600 |
Author: Phan |
Hits:
Description: 仅限参考,大家相互学习一下,这是我们做超声波驱鼠实验的-j u s t a l i t t l e y o u c a n w r i t y o u s e l v e s
Platform: |
Size: 2048 |
Author: lishenglong |
Hits:
Description: 对于有缺测值的数据取平均
使用:
y=cmean(x,k,c)
x为包括有nan的数据,仪器观测中经常会出现
k为对x取第几维方向的平均
c的值可以控制缺测的条件,例如c取50,表示这一维方向上,如果有值的观测超过50个值才取平均,否则取nan;如果c取-5,表示缺测数在5以下时才做平均,否则返回nan-calculate the statistical mean of data but tick off nan
Usage
y=cmean(x,|k) or y=cmean(x,k,|c), k can be []
when [m,n,...]=size(x)
if k==1, [1,n,...]=size(y)
if not set k, then k=1, but if m==1, k=k+1,>>...
if k==2, [m,1,...]=size(y)
if k>2, [m,n,...,1(k demension),...]=size(y).
you can squeeze(y) by yourself to remove the dim(whose size(y,dim)==1)
c can control output bo be nan or mean, c =0 by default(namely, not work)
if c>0, if valuable numbers(notnan) < c, then output nan instead of mean
if c<0, if nan numbers >= c, then output nan instead of mean
Platform: |
Size: 1024 |
Author: zhoudg |
Hits:
Description: quả n ly dự báo kinh tế -quả n ly dự báo kinh tế
Platform: |
Size: 5011456 |
Author: kaka |
Hits:
Description: 汉诺塔:开天辟地的神勃拉玛(和中国的盘古差不多的神吧)在一个庙里留下了三根金刚石的棒,第一根上面套着64个圆的金片,最大的一个在底下,其余一个比一个小,依次叠上去,庙里的众僧不倦地把它们一个个地从这根棒搬到另一根棒上,规定可利用中间的一根棒作为帮助,但每次只能搬一个,而且大的不能放在小的上面。计算结果非常恐怖(移动圆片的次数)18446744073709551615,众僧们即便是耗尽毕生精力也不可能完成金片的移动了。
算法介绍
其实算法非常简单,当盘子的个数为n时,移动的次数应等于2^n – 1(有兴趣的可以自己证明试试看)。后来一位美国学者发现一种出人意料的简单方法,只要轮流进行两步操作就可以了。首先把三根柱子按顺序排成品字型,把所有的圆盘按从大到小的顺序放在柱子A上,根据圆盘的数量确定柱子的排放顺序:若n为偶数,按顺时针方向依次摆放 A B C-Exalted God Bo Lama (and China s Pangu about God here) in a temple left a three diamond rods, the first set of the 64 root circle above the gold pieces, the largest one in the bottom, and the remaining one ratio a small, in turn stacked up, the temple monks tirelessly to put them one by one from the other rods rods moved on to provide for use as an aid in the middle of a bar, but you can only move one , but not on the smaller big top. Calculation results are very horrible (moving wafer number) 18446744073709551615, even the monks who could not complete their life-long effort to move the gold pieces.
Algorithm introduced
In fact, the algorithm is very simple, when the dish is n, the mobile number should be equal to 2 ^ n- 1 (that are interested can try). Later, an American scholar discovered a surprisingly simple way, just take turns to perform two operations on it. First, the three pillars finished fonts arranged in order, all the disks in descending order on the column A, in accorda
Platform: |
Size: 310272 |
Author: 周鑫恺 |
Hits:
Description: 某超市门口的自动寄存柜有n个寄存箱,并且有一个投币控制器,顾客想要寄存小件物品时,只要在投币控制器投入1个1元的硬币,如果此时有空闲的箱子,寄存柜就会自动打开一个空的箱子,并且打印输出一张小小的密码纸条;如果没有空闲的箱子,则提示“本柜已满”。当顾客离开超市时,用密码纸条上指定的数字密码依次输入到开箱控制器,则顾客所存包的箱子门就自动打开,顾客取走物品后,关上门。
输入数据时,可先输入寄存箱总数n,再由用户选择是“投硬币”还是“输密码”。
如果选择“投硬币”,则只有硬币值是1才开箱。如果有空闲的箱子,则输出箱子编号及密码(4位数字);如果无空闲的箱子,则提示:“本柜已满”。
如果选择“输密码”,若输入的密码与某一箱子密码相符,则显示打开的箱子编号,否则输出提示:“密码错误”。-Automatic storage cabinets with n Storage box in front of a supermarket, and there is a coin-operated controller, customers want storage of small items, as long as the coin controller into a one yuan coin, if there is free at this time boxes, storage cabinets will automatically open an empty box, and print out a small piece of paper password If no free box, the message " This cabinet is full." When the customer leaves the supermarket, digital code specified by the password input to turn a piece of paper out of the box controller, the customer deposit box package automatically open the door, the customer after removal of items, close the door. When entering data, you can enter the storage tank to the total number n, and then selected by the user is a " coin" or " lose the password." If you select the " coin" , the only coin value is a just out of the box. If you have a spare box, the output box number and password (four digits) If there is no free bo
Platform: |
Size: 382976 |
Author: 裘越 |
Hits:
Description: 腾讯微博微频道源码可以直接使用企鹅帐号登录,登录以后根据不同分类显示不同分类的内容,区别于一股脑什么信息都直接显示。阅读微博以后自动缓存资源信息,不知道是不是我电脑龟速的原因还是功能原因获取到的微博图片显示默认图片。应用加了N个广告。可以在源码中直接删掉相关代码就可以。UI很精致,一款不错的微博类源码。-Tencent micro Bo micro channel source code can be used directly Penguin account login, login displays the contents of different classification according to the different classification, the difference in Yi Gunao what information are displayed directly. After reading micro-blog automatic cache resource information, I do not know whether or not my computer turtle speed reasons or functional reasons to get to micro-blog pictures show the default picture. Application plus N ads. Can be directly deleted in the source code can be. UI is very delicate, a good source of micro-blog class.
Platform: |
Size: 7641088 |
Author: 庄兆雯 |
Hits:
Description: Vietnamese version for credit risk
Platform: |
Size: 259072 |
Author: thuongnv |
Hits: