Hybrid Monte Carlo sampling.SAMPLES = HMC(F, X, OPTIONS, GRADF) uses a hybrid Monte Carlo algorithm to sample from the distribution P ~ Exp(-F), where F is the first argument to HMC. The Markov chain starts at the point X, and the function GRADF is the gradient of the `energy function F.
標(biāo)簽: Carlo Monte algorithm sampling
上傳時(shí)間: 2013-12-02
上傳用戶:jkhjkh1982
備份oracle數(shù)據(jù)庫腳本,更新Exp.txt文件的oracle登錄用戶名和密碼,就可以使用了
標(biāo)簽: oracle 備份 數(shù)據(jù)庫 腳本
上傳時(shí)間: 2016-05-17
上傳用戶:hphh
本程序是一個(gè)行計(jì)算器(即對表達(dá)式求值)。計(jì)算器能實(shí)現(xiàn)加、減、乘、除、取余(%)和乘方(^)運(yùn)算;能實(shí)現(xiàn)三角函數(shù)(正弦函數(shù)sin和余弦函數(shù)cos),求10為底的對數(shù)log,求2為底的對數(shù)ln,求e的指數(shù)冪Exp,其參數(shù)也可以是合法的表達(dá)式; 計(jì)算器并能對表達(dá)式的合法性進(jìn)行測試,錯(cuò)誤的能給出表達(dá)式錯(cuò)誤的信息。 ] 輸入文件格式:第一行是一個(gè)正整數(shù)N,表示有多少行表達(dá)式。接下來的N行每一行是 一個(gè)表達(dá)式。表達(dá)式使用由浮點(diǎn)數(shù)(只用小數(shù)點(diǎn)表示)和運(yùn)算符表示。 輸出格式:每個(gè)行輸出一個(gè)表達(dá)式的結(jié)果(浮點(diǎn)輸出結(jié)果使用小數(shù)點(diǎn)表示法表示,)
上傳時(shí)間: 2016-05-27
上傳用戶:aeiouetla
matlab實(shí)現(xiàn)的多個(gè)基礎(chǔ)程序和報(bào)告并有流程圖(1) 繪出正弦信號波形及頻譜。 (2) 單極性歸零(RZ)波形及其功率譜,占空比為50%。 (3) 升余弦滾降波形的眼圖及其功率譜。滾降系數(shù)為0.5。發(fā)送碼元取值為0、2。 (4) 最佳基帶系統(tǒng)的Pe~Eb\No曲線,升余弦滾降系數(shù)a=0.5,取樣值的偏差是Ts/4。 (5) Pe~Eb\No,升余弦滾降系數(shù)a=0.5,取樣時(shí)間無偏差,但信道是多徑信道,C(f)=abs(1-0.5*Exp(-j*2*pi*f*dt)),dt=Ts/2。 (6) 仿真數(shù)字基帶傳輸系統(tǒng),包括輸入、輸出信號波形及其功率譜,眼圖(升余弦滾降系數(shù)a=0.5),Pe~Eb\No曲線,取樣時(shí)間無偏差。
標(biāo)簽: matlab 波形 程序 報(bào)告
上傳時(shí)間: 2014-01-22
上傳用戶:aix008
這是編譯原理的一個(gè)實(shí)驗(yàn), 是把一個(gè)正則表達(dá)式轉(zhuǎn)化為不確定有窮自動機(jī)NFA的算法程序,朋興趣的朋友可以下載來看看哦。 一個(gè)正則表達(dá)式就是由普通字符(例如字符 a 到 z)以及特殊字符(稱為元字符)組成的文字模式。該模式描述在查找文字主體時(shí)匹配的一個(gè)或多個(gè)字符串。正則表達(dá)式作為一個(gè)模板,將某個(gè)字符模式與所搜索的字符串進(jìn)行匹配。 本實(shí)例的符號包括: 1. 基本正則表達(dá)式, 如ab 2. 重復(fù), 如a* 3. 在各項(xiàng)中選擇, 如a|b 使用時(shí)在Convert的Reg Exp中點(diǎn)擊輸入正則表達(dá)式, 然后單擊Convert->to NFA就可以了。
上傳時(shí)間: 2016-06-22
上傳用戶:wangchong
計(jì)算全息close all clc clear A=zeros(64) A(15:20,20:40)=1 A(15:50,20:25)=1 A(45:50,20:40)=1 A(30:34,20:35)=1 % ppp=Exp(rand(64)*pi*2*i) A=A.*ppp % Author s email: zjliu2001@163.com figure imshow(abs(A),[]) Fa=fft2(fftshift(A)) Fs=fftshift(Fa) Am=abs(Fs) % amplitude Ph=angle(Fs) % phase s=11 % 這表示邊長嗎? cgh=zeros(64*s) th=max(max(abs(Fs)))
標(biāo)簽: 20 close clear zeros
上傳時(shí)間: 2014-10-13
上傳用戶:wweqas
cordic methods describe essentially the same algorithm that with suitably chosen inputs can be used to calculate a whole range of scientific functions including sin, cos, tan, arctan, arcsin, arccos, sinh, cosh, tanh, arctanh, log, Exp, square root and even multiply and divide. the method dates back to volder [1959], and due to its versatility and compactness, it made possible the microcoding of the hp35 pocket scientific calculator in 1972. here is some code to illustrate the techniques. ive split the methods into three parts linear, circular and hyperbolic. in the hp35 microcode these would be unified into one function (for space reasons). because the linear mode can perform multiply and divide, you only need add/subtract and shift to complete the implementation. you can select in the code whether to do the multiples and divides also by cordic means. other multiplies and divides are all powers of 2 (these dont count). to eliminate these too, would involve ieee hackery.
標(biāo)簽: essentially algorithm describe suitably
上傳時(shí)間: 2017-03-02
上傳用戶:litianchu
1. 在No.1圖形窗口中繪制 y=sin(x)在[0,2*pi]內(nèi)的曲線。要求曲線的顏色為綠色,線型為 點(diǎn)劃線,用*標(biāo)示坐標(biāo)點(diǎn),在x軸的附近用 黑體 標(biāo)注 ‘x軸’字樣,在圖形的上方加上標(biāo)題 ‘正弦函數(shù)’,嚴(yán)格控制x,y軸分度相等,并開啟網(wǎng)格。 2. 在No.2圖形窗口中創(chuàng)建四個(gè)子窗口,在第一、二子窗口中用不同的方法同時(shí)繪制 y=x^2,y=-x^2,y=x^2*sin(x) 在[0,2*pi]內(nèi)的曲線,并要給出標(biāo)注 在第三個(gè)子窗口中繪制 三維曲線 3. 把No.3圖形窗口分成五個(gè)子窗口,分別用plot3 mesh meshc meshz surf 來繪制 z=x*Exp(-x^2-y^2) 在 -5=<x,y<=5 內(nèi)的空間曲面圖形,說明他們的區(qū)別,其中要求在用surf繪制的窗口內(nèi)加入位置為[1,0.5,2]的光源,加入顏色標(biāo)尺,采用spring色系
上傳時(shí)間: 2017-03-30
上傳用戶:84425894
變步長梯形求積法,并以Exp(-x*x)為例計(jì)算求積分
標(biāo)簽:
上傳時(shí)間: 2013-12-16
上傳用戶:qweqweqwe
Description Scientific calculator. Allows to perform caclulation with high precicion and implements most populatr mathematical functions: sin, cos, tan, asin, acon, atan, Exp, log, sqr, floor and ceil. Also it make it possible to define your own function, store results in variables and use variable sin Expressions. Calculator store al formuls you have entered. Plot function can be used to draw graph of function with single argument. More detailed description of calculator is here.
標(biāo)簽: Description caclulation Scientific calculator
上傳時(shí)間: 2014-01-25
上傳用戶:familiarsmile
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1