欢迎来到天天文库
浏览记录
ID:46583681
大小:674.25 KB
页数:3页
时间:2019-11-25
《实验1 GPS测距CA码分析》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、1GPSC/A(2)(1)Matlab(2)Matlab(3)MatlabGPSC/AMatlabGPSC/A(1)Matlabm(2)C/A1C/Aregister1=ones(1,10);register2=ones(1,10);check=zeros(1,10);count=0;whilesum(check)~=10count=count+1;o1=xor(register1(3),register1(10));o2=xor(register2(2),xor(register2(3),xor(register2(6),xor(register2(8),xor(register2(
2、9),register2(10))))));PRN(count,:)=xor(register1(10),xor(register2(3),register2(8)));fori=9:-1:1register1(i+1)=register1(i);register2(i+1)=register2(i);endregister1(1)=o1;register2(1)=o2;check=register2;end(3)C/A(4)C/A(1)GPSGPS(2)C/A(1)(2)(3)
此文档下载收益归作者所有