Description: function [Rm]=Rm(golda,goldb) 自相关函数和互相关函数计算子函数
N=11
n=2^N-1
Rm(1)=sum(golda.*goldb)/n
for k=1:n-1
Rm(k+1)=sum(golda.*circshift(goldb,[0,k]))/n
end
Rm
To Search:
- [MATLAB] - MATLAB to write auto-correlation functio
- [TF] - PN Code Generator, including m, gold and
File list (Check if you may need any files):
新建文件夹\Rm.m
..........\G.m
..........\m.m
..........\gold.m
新建文件夹