pilot_inserter.m
来自「OFDM信号的循环谱密度」· M 代码 · 共 13 行
M
13 行
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 + =
减小字号Ctrl + -
显示快捷键?