數值計算牛頓迭代法的matlab源程序 說明如下: %fun----input,the part as the form of f(x) in the equation f(x)=0 % ini----input,sets the starting point to ini % err----input,sets admissible error % sol----output,returns the root of equation
上傳時間: 2014-01-12
上傳用戶:妄想演繹師
編寫具有如下原型的函數:int f(unsigned long x, int n, int& Lxn) 它負責將整數x的第n位(從左邊數第n位,n>0)的數值放到引用Lxn之中(將作為結果返回到主調函數的對應實參變量中),并將倒數第n位(從右邊數第n位,n>0)的數值作為函數結果返回去。并編制主函數對它進行調用以驗證其正確性。 例如,當x=123456789,n=7時,執行語句“Rxn=f(x, n, Lxn) ”將使返回的Lxn為7,并使Rxn變為3;而執行語句“Rxn=f(12345, 6, Lxn) ”將使Lxn與Rxn都變為為0(超出數的“長度”即總位數時返回0)。
上傳時間: 2017-01-02
上傳用戶:s363994250
BFGS算法本程序適用于求解形如f(x)=1/2*x Ax+bx+c二次函數的穩定點
上傳時間: 2017-01-20
上傳用戶:chens000
基于求函數f(x,y,z)=xyz*sin(xyz)最大值問題的演示程序
上傳時間: 2013-12-18
上傳用戶:erkuizhang
進程間通信14 說明了進程控制原語并且觀察了如何調用多個進程。但是這些進程之間交換信息的 唯一方法是經由f o r k或e x e c傳送打開文件,或通過文件系統。本章將說明進程之間相互通信的 其他技術—I P C(InterProcess Communication)。
上傳時間: 2013-12-03
上傳用戶:zhenyushaw
基于求函數f(x,y,z)=xyz*sin(xyz)最大值問題的演示程序 解壓后在命令行輸入:java -jar genetic_algorithm.jar
標簽: genetic_algorithm xyz jar java
上傳時間: 2014-01-14
上傳用戶:古谷仁美
Generate Possion Dis. step1:Generate a random number between [0,1] step2:Let u=F(x)=1-[(1/e)x] step3:Slove x=1/F(u) step4:Repeat Step1~Step3 by using different u,you can get x1,x2,x3,...,xn step5:If the first packet was generated at time [0], than the second packet will be generated at time [0+x1],The third packet will be generated at time [0+x1+x2], and so on …. Random-number generation 1.static method random from class Math -Returns doubles in the range 0.0 <= x < 1.0 2.class Random from package java.util -Can produce pseudorandom boolean, byte, float, double, int, long and Gaussian values -Is seeded with the current time of day to generate different sequences of numbers each time the program executes
標簽: Generate Possion between random
上傳時間: 2017-05-25
上傳用戶:bibirnovis
用windows畫筆生成BMP文件f(x,y),圖象寬為W,高為H,編寫程序讀取BMP文件,并生成新的圖象g(x,y)。以BMP文件格式輸出該圖象。
上傳時間: 2014-01-08
上傳用戶:hopy
a program for to maximise the fonction f(x,y)=x+y with genetic algorithm
標簽: algorithm fonction maximise program
上傳時間: 2017-07-07
上傳用戶:changeboy
離散余弦變換對圖象信號有近似最優的去相關能力, 但多維的變換公式一直沒有給出. 為此深入研究了 三維離散余弦變換, 提出了任意尺寸的三維函數f (x , y , z ) 的正交離散余弦變換公式, 克服了以前系數的取值必須 相等的缺點, 并將之應用于彩色靜止圖象的壓縮編碼中, 使得彩色圖象的R、G、B 3 幀可以作為一個整體同時進行 變換, 極大地去除了圖象R, G,B 3 幀間的相關性. 理論分析和實驗結果表明, 在大幅度地增加壓縮比的同時, 峰峰 信噪比也有明顯提高, 并且與國際標準JPEG,M PEG 有很好的兼容性.
上傳時間: 2014-01-26
上傳用戶:tb_6877751