Inserts scattered pilot in the symbol frame. function d_data_pilot=InsertScattteredPilot(d_data,Para) The function works for SISO systems. Input arguments: d_data: matrix [2*Para.M, ~] containing data symbols. Para: structure containing the modulation parameters. Outputs arguments: d_data_pilot: matrix [2*Para.M, ~] containing data and pilots symbols.
0001 function d_data_pilot= InsertScattteredPilot(d_data,Para) 0002 % Inserts scattered pilot in the symbol frame. 0003 % 0004 % function d_data_pilot=InsertScattteredPilot(d_data,Para) 0005 % 0006 % The function works for SISO systems. 0007 % 0008 % Input arguments: 0009 % 0010 % d_data: matrix [2*Para.M, ~] containing data symbols. 0011 % 0012 % Para: structure containing the modulation parameters. 0013 % 0014 % Outputs arguments: 0015 % 0016 % d_data_pilot: matrix [2*Para.M, ~] containing data and pilots symbols. 0017 0018 % This file is part of WaveComBox: www.wavecombox.com and is distributed under 0019 % the terms of the MIT license. See accompanying LICENSE file. 0020 % Original author: François Rottenberg, May 9, 2018. 0021 % Contributors: 0022 % Change log: 0023 0024 switch Para.Modulation 0025 case 'FBMC-OQAM' 0026 d_data_pilot=FBMC_OQAM_InsertScattteredPilot(d_data,Para); 0027 case 'CP-OFDM' 0028 d_data_pilot=OFDM_InsertScattteredPilot(d_data,Para); 0029 otherwise 0030 error('Para.Modulation parameter not defined') 0031 end 0032 0033 end