DES是一種分組密碼。假定明文m是由0和1組成的長度為64位的符號串,密鑰k也是64位的0、1符號串。
上傳時間: 2014-01-24
上傳用戶:change0329
本題的算法中涉及的三個函數: double bbp(int n,int k,int l) 其中n為十六進制位第n位,k取值范圍為0到n+7,用來計算16nS1,16nS2,16nS3,16nS4小數部分的每一項。返回每一項的小數部分。 void pi(int m,int n,int p[]) 計算從n位開始的連續m位的十六進制數字。其中p為存儲十六進制數字的數組。 void div(int p[]) void add(int a[],int b[]) 這兩個函數都是為最后把十六進制數字轉換為十進制數字服務的。 最后把1000個數字分別存儲在整型數組r[]中,輸出就是按順序輸出該數組。
上傳時間: 2014-01-05
上傳用戶:xcy122677
% EM algorithm for k multidimensional Gaussian mixture estimation % % Inputs: % X(n,d) - input data, n=number of observations, d=dimension of variable % k - maximum number of Gaussian components allowed % ltol - percentage of the log likelihood difference between 2 iterations ([] for none) % maxiter - maximum number of iteration allowed ([] for none) % pflag - 1 for plotting GM for 1D or 2D cases only, 0 otherwise ([] for none) % Init - structure of initial W, M, V: Init.W, Init.M, Init.V ([] for none) % % Ouputs: % W(1,k) - estimated weights of GM % M(d,k) - estimated mean vectors of GM % V(d,d,k) - estimated covariance matrices of GM % L - log likelihood of estimates %
標簽: multidimensional estimation algorithm Gaussian
上傳時間: 2013-12-03
上傳用戶:我們的船長
!逐步回歸分析程序: ! M:輸入變量,M=N+1,其中N為自變量的個數;M包括的因變量個數 ! K:輸入變量,觀測點數; ! F1:引入因子時顯著性的F-分布值; ! F2:剔除因子時顯著性的F-分布值; ! XX:存放自變量和因變量的平均值; ! B:存放回歸系數; ! V:存放偏回歸平方和和殘差平方和Q; ! S:存放回歸系數的標準偏差和估計的標準偏差; ! C:存放復相關系數; ! F:存放F-檢驗值;
上傳時間: 2013-12-12
上傳用戶:zaizaibang
1、以不同的視角觀察球面 和圓柱面 所圍區域。2、畫出s(t)=cos(2/3πf0t)的曲線及其付氏變換的曲線.設:f0=1KHz,時域分辨率 dt=0.01ms, 采樣點數 N=2k, k>10.(均為M文件)
上傳時間: 2014-11-04
上傳用戶:wangzhen1990
* acousticfeatures.m: Matlab script to generate training and testing files from event timeseries. * afm_mlpatterngen.m: Matlab script to extract feature information from acoustic event timeseries. * extractevents.m: Matlab script to extract event timeseries using the complete run timeseries and the ground truth/label information. * extractfeatures.m: Matlab script to extract feature information from all acoustic and seismic event timeseries for a given run and set of nodes. * sfm_mlpatterngen.m: Matlab script to extract feature information from esmic event timeseries. * ml_train1.m: Matlab script implementation of the Maximum Likelihood Training Module. ?ml_test1.m: Matlab script implementation of the Maximum Likelihood Testing Module. ?knn.m: Matlab script implementation of the k-Nearest Neighbor Classifier Module.
標簽: acousticfeatures timeseries generate training
上傳時間: 2013-12-26
上傳用戶:牛布牛
給定n 個登山機器人接力攀登的總高度m,及每個機器人連續攀登1 米,2 米,…,k米,所用的時間,編程計算最優攀登方案。
標簽: 機器人
上傳時間: 2016-08-27
上傳用戶:sevenbestfei
C語言是在 70年代初問世的。一九七八年由美國電話電報公司(AT&T)貝爾實驗室正式 發表了C 語言。同時由B.W.Kernighan和 D.M.Ritchit合著了著名的“THE C PROGRAMMING LANGUAGE”一書。通常簡稱為《K&R》,也有人稱之為《K&R》標準。但是,在《K&R》中并 沒有定義一個完整的標準C語言,后來由美國國家標準學會在此基礎上制定了一個C 語言 標準,于一九八三年發表。通常稱之為ANSI C。 當代最優秀的程序設計語言
標簽: Kernighan Ritchit PROGRA THE
上傳時間: 2016-12-23
上傳用戶:chens000
大整數問題 設n是一個k(1≤k≤80)位的十進制正整數。 問題1:對于給定的任意整數n,編程計算滿足p3+p2+3p≤n的位數為m的p的個數。 問題2:對于給定的任意整數n,編程求解滿足p3+p2+3p≤n的p的最大值。 要求: 對于給定的每一個測試文件(形如:numberX_input.txt),分別生成一個結果文件(形如:numberX_out.txt)。比如,對于測試文件number1_input.txt,對應的結果文件為number1_out.txt。 參考數據: (1) 若n=1908 ; p的最大值=12 (2) 若n= 2000000000000000000000000000002452458671514234457987956856; p的最大值= 12599210498948731647
上傳時間: 2017-01-17
上傳用戶:teddysha
有限元素求和 給定具有n個不同元素的整數集合A和另一個整數值M,問,可否從A中取最多k次元素(所取元素可以相同),使得所取的元素和為M。 例如,從n=3個元素的集合A={1, 4, 6}中取最多 k=3次,使 M=13 ??梢匀?1+6+6=13,若m=6,則可以直接取6 或者 1+1+4。 若可以,則輸出 yes,否則,輸出no.
上傳時間: 2017-02-28
上傳用戶:3到15