Hill加密算法的基本思想是将l个明文字母通过线性变换将它们转换为k个密文字母。脱密只要做一次逆变换就可以了。密钥就是变换矩阵本身。即 M=m1m2……ml Ek(M)=c1c2……cl 其中 c1=k11m1+k12m2+……+k1lml c2=k21m1+k22m2+……+k2lml …… cl=kl1m1+kl2m2+……+kllml 通常对于字母加解密,使用mod 26的方法。 以上线性方程可以采用矩阵表示。
上传时间: 2016-07-15
上传用户:Divine
fGenerateNavigationData.m C_A_code_generator.m GPSsignal.m 依次产生导航电文,C/A码,GPS最终数据
标签: fGenerateNavigationData C_A_code_generator GPSsignal GPS
上传时间: 2014-07-14
上传用户:jing911003
fiber-laser.m为光纤激光器中的功率分布;laser18.m为fiber-laser.m中的调用函数,描述了具体的参数
标签: fiber-laser laser 18 光纤激光器
上传时间: 2014-01-07
上传用户:watch100
g(x)=f(m,n,L), 其中,m,n,L均服从正态分布,分布情况也在所给的图中. 使用matlab,用蒙特卡罗模拟法 对该函数进行模拟,得出g(x)大于0的概率.
上传时间: 2016-10-25
上传用户:youmo81
lingjian.m-----蒙特卡罗方法 lingjian.m使用零件初始值,用蒙特卡罗方法算出总费用。其中使用了自己编制的正态分布随机数发生器产生正态分布随机数。lingjian.m是对蒙特卡罗方法的一次练习。 accyouhua为标定值的函数,而lingjian不是一个函数,在其中已给出了一组标定值的值。
上传时间: 2013-12-26
上传用户:leehom61
迷宫算法(maze) /* Maze * Starting point is m[0][0], need to find a path go to m[9][9]. 0 means OK, * 1 means cannot go there, boundary is 0 and 9, cannot go beyond boundary. * Each step can be made horizontally or vertically for one more grid (diagonal * jump is not allowed). * Your program should print a series of grid coordinates that start from m[0][0] * and go to m[9][9] * Hint: No need to find the shortest path, only need to find one path that gets * you to desitination. */
上传时间: 2013-12-27
上传用户:Divine
由文件input.txt提供输入数据。输入文件第1 行有2个正整数n和m(1<=n,m<=100), 表示仓库是n×m个格子的矩形阵列。接下来有n行,每行有m个字符,表示格子的状态。 S 表示格子上放了不可移动的沉重货物; w 表示格子空闲; M 表示仓库管理员的初始位置; P 表示箱子的初始位置; K 表示箱子的目标位置。
上传时间: 2017-08-05
上传用户:cainaifa
lingjian.m-----蒙特卡罗方法 lingjian.m使用零件初始值,用蒙特卡罗方法算出总费用。其中使用了自己编制的正态分布随机数发生器产生正态分布随机数。lingjian.m是对蒙特卡罗方法的一次练习。
上传时间: 2017-08-25
上传用户:bjgaofei
按递增次序生成集合M的最小的100个数并输出之。 M的定义为:①1∈M ②X∈M,则2X+1∈M且3X+1∈M; 显然M是一无限集合,M={1,3,4,7,9,。。。}
上传时间: 2014-01-07
上传用户:zm7516678
Implicit and Non-parametric Shape Reconstruction from Unorganized Data using a Variational Level Set Method
标签: Non-parametric Reconstruction Unorganized Variational
上传时间: 2016-03-02
上传用户:wangdean1101