HMM(Hidden Markov Model),狀態數目N=3,觀察符號數目M=2,時間長度T=3。 (a) Probability Evaluation: 給定狀態轉換機率A、狀態符號觀察機率B、和起始機率 ,求觀察序列 出現的機率。 (b) Optimal State Sequence: 給定狀態轉換機率A、狀態符號觀察機率B、起始機率 、和觀察序列 ,求一個狀態序列 使得O出現的機率最大。 (c) Parameter Estimation: 給定狀態轉換機率A、狀態符號觀察機率B、起始機率 、和觀察序列 ,求新的A、B、 ,使得O出現的機率最大。
上傳時間: 2014-08-28
上傳用戶:heart520beat
加密算法 Test Driver for Crypto++, a C++ Class Library of Cryptographic Primitives: - To generate an RSA key cryptest g - To encrypt and decrypt a string using RSA cryptest r - To calculate MD5, SHS, and RIPEMD-160 message digests: cryptest m file - To encrypt and decrypt a string using DES-EDE in CBC mode: cryptest t - To encrypt or decrypt a file cryptest e|d input output - To share a file into shadows: cryptest s <pieces> <pieces-needed> file (make sure file has no extension, if you re running this under DOS) - To reconstruct a file from shadows: cryptest j output file1 file2 [....] - To gzip a file: cryptest z <compression-level> input output - To gunzip a file: cryptest u input output - To run validation tests: cryptest v - To run benchmarks: cryptest b [time for each benchmark in seconds]
標簽: Cryptographic Primitives generate Library
上傳時間: 2015-07-16
上傳用戶:wqxstar
//=== === === === === === === === === === === ===== //函數說明 //函數名稱:Correlation //函數功能:計算最小二乘法擬合的多項式的相關系數 //使用方法:int M------ 擬合多項式的階數(已知條件) // double *b--- 擬合曲線的系數,排列順序為由高階到低階(已知條件) // double *x--- 結點x軸數據(已知條件) // double *y--- 結點y軸數據(已知條件) // double *Yg-- 結點估計值,個數為m(過程變量) // int m------ 結點個數(已知條件) //注意事項:多項式階數最高為10,多項式的形式為 y = a0 + a1x +a2x2
標簽: Correlation 函數 計算 最小二乘法擬合
上傳時間: 2013-11-26
上傳用戶:change0329
//=== === === === === === === === === === === ===== //函數說明 //函數名稱:Correlation //函數功能:計算最小二乘法擬合的多項式的相關系數 //使用方法:int M------擬合多項式的項數(已知條件) // double *b---擬合曲線的系數,按升次排列(已知條件) // double *x---結點x軸數據(已知條件) // double *y---結點y軸數據(已知條件) // double *Yg--結點估計值,與*y相對應,個數為m(過程變量) // int m------結點個數(已知條件) //注意事項:多項式階數最高為10,多項式的形式為 y = b0 + b1*(x-Xavr)...
標簽: Correlation 函數 計算 最小二乘法擬合
上傳時間: 2014-11-23
上傳用戶:yxgi5
光學設計軟件zemax源碼: This DLL models an nular aspheric surface as described in: "Annular surfaces in annular field systems" By Jose M. Sasian Opt. eng. 36 (12) P 3401-3401 December 1997 This surface is essentially an odd aspheric surface with an offset in the aspheric terms. The sag is given by: Z = (c*r*r) / (1+(1-((1+k)*c*c*r*r))^ 1/2 ) + a*(r-q)^2 + b*(r-q)^3 + c*(r-q)^4 + ... Note the terms a, b, c, ... have units of length to the -1, -2, -3, ... power.
標簽: described aspheric surfaces Annular
上傳時間: 2014-01-08
上傳用戶:yyyyyyyyyy
MATLAB 6_5 輔助優化計算與設計 1、文件命名說明 a)文件夾“第1章”中的文件對應書中第1章的例程,其他以此類推; b) 文件名exampleX1_X2.m:對應例程X1_X2 例如:example2_1表示例程2_1. 2、注意 為了方便起見,書中的每一個例程存為一個文件;而有些例程中將其調用的函數文件也放在這個例程文件中,所以讀者在運行光盤中的例程文件時注意這一點,如果是這樣的例程文件應該將其調用的函數文件分離出來另存為一個文件。
上傳時間: 2015-08-05
上傳用戶:王小奇
crc任意位生成多項式 任意位運算 自適應算法 循環冗余校驗碼(CRC,Cyclic Redundancy Code)是采用多項式的 編碼方式,這種方法把要發送的數據看成是一個多項式的系數 ,數據為bn-1bn-2…b1b0 (其中為0或1),則其對應的多項式為: bn-1Xn-1+bn-2Xn-2+…+b1X+b0 例如:數據“10010101”可以寫為多項式 X7+X4+X2+1。 循環冗余校驗CRC 循環冗余校驗方法的原理如下: (1) 設要發送的數據對應的多項式為P(x)。 (2) 發送方和接收方約定一個生成多項式G(x),設該生成多項式 的最高次冪為r。 (3) 在數據塊的末尾添加r個0,則其相對應的多項式為M(x)=XrP(x) 。(左移r位) (4) 用M(x)除以G(x),獲得商Q(x)和余式R(x),則 M(x)=Q(x) ×G(x)+R(x)。 (5) 令T(x)=M(x)+R(x),采用模2運算,T(x)所對應的數據是在原數 據塊的末尾加上余式所對應的數據得到的。 (6) 發送T(x)所對應的數據。 (7) 設接收端接收到的數據對應的多項式為T’(x),將T’(x)除以G(x) ,若余式為0,則認為沒有錯誤,否則認為有錯。
上傳時間: 2014-11-28
上傳用戶:宋桃子
Implemented BFS, DFS and A* To compile this project, use the following command: g++ -o search main.cpp Then you can run it: ./search The input is loaded from a input file in.txt Here is the format of the input file: The first line of the input file shoud contain two chars indicate the source and destination city for breadth first and depth first algorithm. The second line of input file shoud be an integer m indicate the number of connections for the map. Following m lines describe the map, each line represents to one connection in this form: dist city1 city2, which means there is a connection between city1 and city2 with the distance dist. The following input are for A* The following line contains two chars indicate the source and destination city for A* algorithm. Then there is an integer h indicate the number of heuristic. The following h lines is in the form: city dist which means the straight-line distance from the city to B is dist.
標簽: Implemented following compile command
上傳時間: 2014-01-01
上傳用戶:lhc9102
該源碼是一個問題的解決方法。問題是給你個長為L的串,串中可以出現n種字符,還給出m個子串,求有多少個長為n的只由這些字串組成的串。輸入例子:4 5 6 ABB BCA BCD CAB CDD DDA 結果為2.而5 4 5 E D C B A的結果為625
標簽: 源碼
上傳時間: 2014-01-12
上傳用戶:水中浮云
palm編成,這種書很少,有興趣看看 Title: Palm Programming: The Developer s Guide URL: http://safari.oreilly.com/JVXSL.asp?x=1&mode=section&sortKey=rank&sortOrder=desc&view=book&xmlid=1-56592-525-4&open=false&srchText=palm+programming&code=&h=&m=&l=1&catid=&s=1&b=1&f=1&t=1&c=1&u=1&page=0 ISBN: 1-56592-525-4 Author: Julie McKeehan/ Neil Rhodes Publisher: O Reilly Page: 478 Edition: 1st edition (December 1998) Catalog: PDA programming / Palm Format: pdf Size: 2.06M Supplier: Summary: Emerging as the bestselling hand-held computers of all time, PalmPilots have spawned intense developer activity and a fanatical following. Used by Palm in their developer training, this tutorial-style book shows intermediate to experienced C programmers how to build a Palm application from the ground up. Includes a CD-ROM with source code and third-party developer tools
標簽: Programming Developer oreilly safari
上傳時間: 2013-12-10
上傳用戶:litianchu