m_sequenceLL.m
% clear all % clc function[mseq]=m_sequenceLL(register) fbconnection=[1 0 0 0 0 1];%低位在前,其中的1不写,该多项式为1+D+D^6 %本原多项式 % fbconnection=[1 1 0 0 1]; n=length(fbconnection); N=2^n-1; register=[1 0 1 0 1 1 1 0 0 1]; %定义移位寄存器的初始状态 newregister=zeros(1,N); for k=1:n newregister(k)=register(k); end %
用户评论