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

📄 pilot_inserter.m

📁 OFDM信号的循环谱密度
💻 M
字号:
function output = pilot_inserter(input)
% pilot insertion
% input: matrix of frequency domain OFDM signal without pilot, each row an
% OFDM symbol
% output: matrix of frequency domain OFDM signal with pilot inserted, each
% row an OFDM symbol

Nsym = size(input,1); % number of OFDM symbols
pilot = repmat([1,1,1,-1],Nsym,1).*...
    repmat(-2*scrambler(Nsym,[1,1,1,1,1,1,1]).'+1,1,4);
output = [input(:,1:5),pilot(:,1),input(:,6:18),pilot(:,2),...
    input(:,19:30),pilot(:,3),input(:,31:43),pilot(:,4),input(:,44:48)];

⌨️ 快捷键说明

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