📄 pilot_inserter.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 + -