Commit e775d6a5 authored by Florian Kaltenberger's avatar Florian Kaltenberger

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4837 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent fa5c9544
addpath([getenv('OPENAIR1_DIR') '/SIMULATION/LTE_PHY/']) addpath('../../../openair1/SIMULATION/LTE_PHY/')
addpath([getenv('OPENAIR1_DIR') '/PHY/LTE_ESTIMATION/']) addpath('../../../openair1/PHY/LTE_ESTIMATION/')
addpath([getenv('OPENAIR1_DIR') '/PHY/LTE_REFSIG/']) addpath('../../../openair1/PHY/LTE_REFSIG/')
addpath([getenv('OPENAIR_TARGETS') '/ARCH/EXMIMO/USERSPACE/OCTAVE']) addpath('../../../targets/ARCH/EXMIMO/USERSPACE/OCTAVE')
nb_rb = 100; nb_rb = 100;
num_carriers = 2048/100*nb_rb; num_carriers = 2048/100*nb_rb;
...@@ -23,5 +23,5 @@ s(1:num_carriers+prefix_length) = pss0_up_cp; ...@@ -23,5 +23,5 @@ s(1:num_carriers+prefix_length) = pss0_up_cp;
plot(abs(s)) plot(abs(s))
save(sprintf('ofdm_pilots_sync_%d.mat',num_carriers),'s','f','num_carriers','num_zeros','prefix_length','num_symbols_frame','preamble_length'); save(sprintf('ofdm_pilots_sync_%d.mat',num_carriers),'-v7','s','f','num_carriers','num_zeros','prefix_length','num_symbols_frame','preamble_length');
mat2wv(s, sprintf('ofdm_pilots_sync_%d.wv',num_carriers), 30.72e6/2048*num_carriers, 1) mat2wv(s, sprintf('ofdm_pilots_sync_%d.wv',num_carriers), 30.72e6/2048*num_carriers, 1)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment