⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 data.m

📁 The result is an IS-95CDMA forward link software simulation package ,which mimics real-time data com
💻 M
字号:
function info=Data(L)
%generate user data for a 20ms frame, there is 172 bits of information,12bits of CRC and 8 bits of Encoder tail

%We first generate the 184(information +CRC) bits using the randn function then
d=randn(1,L-8);
%then we perform the function a decision device any bits below 0 then we make it a 0 else a 1

for (i=1:L-8)
   if(d(i)>=0)
      d(i)=1;
    else
      d(i)=0;
   end
end
%add 8bits of encoder tail which the viberti decoder can dectect.
info=[d,0,0,0,0,0,0,0,0];


⌨️ 快捷键说明

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