用蒙特卡洛方法,求解出y=cos(x)/x在給定區(qū)間上的定積分值。
標(biāo)簽: 蒙特卡洛
上傳時(shí)間: 2014-01-22
上傳用戶:1966640071
《編譯原理實(shí)用教程》的課件,講解詳細(xì),到位。與溫敬和的書配套,大學(xué)教材。
上傳時(shí)間: 2014-01-16
上傳用戶:笨小孩
輸入某年某月某日,判斷是不是閏年? 輸入三個(gè)整數(shù)x,y,z,請(qǐng)把這三個(gè)數(shù)由小到大輸出。
標(biāo)簽: 輸入
上傳時(shí)間: 2013-12-17
上傳用戶:aix008
顯示螺旋隊(duì)列,//螺旋隊(duì)列.cpp // 21 22 ... ... // 20 7 8 9 10 // 19 6 1 2 11 // 18 5 4 3 12 // 17 16 15 14 13 //看清以上數(shù)字排列的規(guī)律,設(shè)1點(diǎn)的坐標(biāo)是(0,0),X方向向右為正,y方向向下為正。例如,7的坐標(biāo)為 //(-1,-1),2的坐標(biāo)為(0,1),3的坐標(biāo)為(1,1)。編程實(shí)現(xiàn)輸入任意一點(diǎn)坐標(biāo)(x,y),輸出所對(duì)應(yīng)得
上傳時(shí)間: 2013-12-18
上傳用戶:許小華
用RBF神經(jīng)網(wǎng)絡(luò),完成對(duì)y=f(x)的曲線擬合。
標(biāo)簽: RBF 神經(jīng)網(wǎng)絡(luò)
上傳時(shí)間: 2013-12-06
上傳用戶:mikesering
PRINCIPLE: The UVE algorithm detects and eliminates from a PLS model (including from 1 to A components) those variables that do not carry any relevant information to model Y. The criterion used to trace the un-informative variables is the reliability of the regression coefficients: c_j=mean(b_j)/std(b_j), obtained by jackknifing. The cutoff level, below which c_j is considered to be too small, indicating that the variable j should be removed, is estimated using a matrix of random variables.The predictive power of PLS models built on the retained variables only is evaluated over all 1-a dimensions =(yielding RMSECVnew).
標(biāo)簽: from eliminates PRINCIPLE algorithm
上傳時(shí)間: 2016-11-27
上傳用戶:凌云御清風(fēng)
標(biāo)準(zhǔn)的遺傳算法代碼,下面是程序:function y=fitness(chrom,p,aim) global P_cross P_mutation [Popsize len]=size(chrom) fitness_gene=zeros(Popsize,1) in_he=zeros(4,1) out_he=zeros(4,1) in_out=0 out_out=0
標(biāo)簽: 標(biāo)準(zhǔn) 代碼 算法
上傳時(shí)間: 2013-12-08
上傳用戶:pkkkkp
編譯器設(shè)計(jì) Analysis-Synthesis Model 分析Analysis: 原始程式轉(zhuǎn)換成階層結(jié)構(gòu)稱為樹(tree),語(yǔ)法樹(syntax tree) 合成Synthesis: 產(chǎn)生目標(biāo)碼
標(biāo)簽: Analysis-Synthesis Analysis Model tree
上傳時(shí)間: 2016-12-01
上傳用戶:dengzb84
The VGA example generates a 320x240 diffusion-limited-aggregation (DLA) on Altera DE2 board. A DLA is a clump formed by sticky particles adhering to an existing structure. In this design, we start with one pixel at the center of the screen and allow a random walker to bounce around the screen until it hits the pixel at the center. It then sticks and a new walker is started randomly at one of the 4 corners of the screen. The random number generators for x and y steps are XOR feedback shift registers (see also Hamblen, Appendix A). The VGA driver, PLL, and reset controller from the DE2 CDROM are necessary to compile this example. Note that you must push KEY0 to start the state machine.
標(biāo)簽: diffusion-limited-aggregation DLA generates 320x240
上傳時(shí)間: 2014-01-16
上傳用戶:225588
本代碼包為本人的一篇文章<一個(gè)占用內(nèi)存極少的菜單系統(tǒng)的實(shí)現(xiàn)>在在PC上的測(cè)試移植代碼。 ------------------------------ Menu_Src目錄為Menu的源代碼 Ks0108.C的void Display_Locate(unsigned char DisplayData, unsigned char X, unsigned char Y)函數(shù)為最底層的顯示函數(shù)。 該函數(shù)調(diào)用LCD模擬函數(shù)來(lái)完成顯示。 KeyScan.C的unsigned char KeyScan(void)函數(shù)為鍵盤模擬函數(shù)。 void DelayMs( WORD time ) 延時(shí) ------------------------------ GUI_SIM.exe為編譯后的文件,可以直觀看到這個(gè)GUI的效果. PC鍵盤的4個(gè)按鍵控制菜單周轉(zhuǎn): PC按鍵 菜單中功能 up 向上鍵 確定鍵 進(jìn)入子菜單 down向下鍵 取消鍵 返回父菜單 left向左鍵 向上鍵 菜單項(xiàng)上一項(xiàng) right向右鍵 向下鍵 菜單項(xiàng)下一項(xiàng) 有興趣自己編譯VC工程:\Project\Menu.dsw <一個(gè)占用內(nèi)存極少的菜單系統(tǒng)的實(shí)現(xiàn)>相關(guān)PDF文檔和其他資料在以下鏈接: http://www.ouravr.com/bbs/bbs_content.jsp?bbs_sn=798580&bbs_page_no=3&bbs_id=9999
上傳時(shí)間: 2014-06-24
上傳用戶:stvnash
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1