masseyinit.m

来自「Mathematical Methods by Moor n Stiling.」· M 代码 · 共 22 行

M
22
字号
function masseyinit()
% Initialize the iteratively called massey's algorithm
%
% function masseyinit()

% Copyright 1999 by Todd K. Moon

global Lnmas; global Lmmas; global cmas; global pmas; global smas;
global ymas; global Nmas;

% Initialize the variables

Lnmas = 0;      % current length of LFSR
Lmmas = 0;      % length before last change
cmas = 1;       % feedback connections
pmas = 1;       % c before last change
smas = 1;       % amount of shift
Nmas = 0;
ymas = [];


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?