t_decimator.m

来自「The result is an IS-95CDMA forward link 」· M 代码 · 共 17 行

M
17
字号

function T_decit=T_Decimator(T_PN_out)

%this is the PN Code Decimator at the Transmitter
%the Decimator keeps one out of every 64 chips output from the PN Code Generator

%initialise an empty array to hold the decimator sequence of chips
T_decit1=zeros([1,384]);

%in increments of 64 chips, the PN Code length is 1.2288 Mcps

for i=1:384
     T_decit1(i)=T_PN_out(((i-1)*64)+1);
end

T_decit=T_decit1;

⌨️ 快捷键说明

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