MATLAB m 序列生成函数 & 相关函数
实验观摩了辅书的代码,感觉有点谜人,做了部分修改。PN 序列生成函数function x = PNseq(p)%Linear shift register for generating PN sequence of polynomial pN = length(p) - 1; %not include the location 0p = fliplr(p);X = [1 zeros(1...