哈夫曼樹 設計2進制前綴編碼的方法如下. (1) 根據給定的n個字符以及相應的權值構造一棵最優二叉樹 (2) 二叉樹除了根結點以外,所有左邊的分支標記 0 ,右邊的分支標記為 1 (3) 對于每一種字符所對應的葉子結點找出到根結點的路徑,則從根結點到此葉子結點路徑上各分支字符組成的二進制數字串即為該字符的二進制前綴編碼.
上傳時間: 2013-12-16
上傳用戶:weiwolkt
MATLAB 下的數字信號處理實現示例 附錄一 信號、系統和系統響應 1、理想采樣信號序列 (1)首先產生信號 x(n),0<=n<=50
上傳時間: 2013-12-26
上傳用戶:mhp0114
多項式曲線擬合 任意介數 Purpose - Least-squares curve fit of arbitrary order working in C++ Builder 2007 as a template class, using vector<FloatType> parameters. Added a method to handle some EMathError exceptions. If do NOT want to use this just call PolyFit2 directly. usage: Call PolyFit by something like this. CPolyFit<double> PolyFitObj double correlation_coefficiant = PolyFitObj.PolyFit(X, Y, A) where X and Y are vectors of doubles which must have the same size and A is a vector of doubles which must be the same size as the number of coefficients required. returns: The correlation coefficient or -1 on failure. produces: A vector (A) which holds the coefficients.
標簽: Least-squares arbitrary Purpose Builder
上傳時間: 2013-12-18
上傳用戶:宋桃子
n this demo, we show how to use Rao-Blackwellised particle filtering to exploit the conditional independence structure of a simple DBN. The derivation and details are presented in A Simple Tutorial on Rao-Blackwellised Particle Filtering for Dynamic Bayesian Networks. This detailed discussion of the ABC network should complement the UAI2000 paper by Arnaud Doucet, Nando de Freitas, Kevin Murphy and Stuart Russell. After downloading the file, type "tar -xf demorbpfdbn.tar" to uncompress it. This creates the directory webalgorithm containing the required m files. Go to this directory, load matlab5 and type "dbnrbpf" for the demo.
標簽: Rao-Blackwellised conditional filtering particle
上傳時間: 2013-12-17
上傳用戶:zhaiyanzhong
計算n階Guass節點值及其對應的權重值。 輸入n,輸出bp,wf分別為Guass節點值和對應的權重
上傳時間: 2016-04-07
上傳用戶:bjgaofei
基于PXA270-S linux的FPGA實現。 向LED_CONTROL寫入n即得到n*0.1S的延時,LED閃爍的快慢程度發生變化。
標簽: LED_CONTROL linux FPGA PXA
上傳時間: 2016-04-09
上傳用戶:semi1981
a N-gram and Fast Pattern Extraction Algorithms~
標簽: Extraction Algorithms Pattern N-gram
上傳時間: 2014-11-09
上傳用戶:ztj182002
在一個圓形操場的四周擺放著n 堆石子。現要將石子有次序地合并成一堆。規定每次只能選相鄰的2 堆石子合并成新的一堆,并將新的一堆石子數記為該次合并的得分。試設計一個算法,計算出將n堆石子合并成一堆的最小得分和最大得分。
標簽: 合并
上傳時間: 2016-04-09
上傳用戶:lx9076
有編號從1到N的N個人坐成一圈報數,報到M的人出局,下一位再從1開始, 如此持續,直止剩下一位為止,報告此人的編號X。輸入N,M,求出X。
標簽:
上傳時間: 2016-04-11
上傳用戶:zsjzc
從1加到N還有N!兩個算法實現 N自己設置大小 沒有限制 只要內存夠大 CPU夠快就行 我算100!用1秒多 結果我記得好像有300多位呢
上傳時間: 2016-04-11
上傳用戶:杜瑩12345