Commit c5e974fd authored by Florian Kaltenberger's avatar Florian Kaltenberger

adding missing file

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5317 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 9bf74c6d
function p = init_params(nb_rb,nant_rx,nant_tx)
global symbols_per_slot slots_per_frame;
num_symbols_frame = symbols_per_slot*slots_per_frame;
p.nb_rb = nb_rb;
p.num_carriers = 2048/(100/p.nb_rb);
p.num_zeros = p.num_carriers-(12*p.nb_rb+1);
p.useful_carriers = p.num_carriers-p.num_zeros-1;
p.prefix_length = p.num_carriers/4; %this is extended CP
p.ofdm_symbol_length = p.num_carriers + p.prefix_length;
p.samples_slot = p.ofdm_symbol_length*symbols_per_slot;
p.frame_length = p.ofdm_symbol_length*num_symbols_frame;
p.nant_rx=nant_rx;
p.nant_tx=nant_tx;
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