📄 get_ofdm_pilots.m
字号:
function PilotSymbols=get_ofdm_pilots(ofdm_sim);
%Get the pilot tones for OFDM.
%
%
%get pilot tones.
if strcmp(lower(ofdm_sim.pilot_type), 'ieee802_11a'),
PilotSubcSymbols=[1;1;1;-1];
elseif ~isempty(findstr(lower(ofdm_sim.pilot_type), 'mseq')),
PilotSymbols=get_preamble(ofdm_sim.preamble_type, ofdm_sim.Np);
end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%For multiple antennas
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
if ofdm_sim.tx_num>1,
disp('MIMO Feature is coming soon...');
PilotSymbols=[];
return;
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -