Code covered by the BSD License
-
BERtheoretical(v_EbN0_dB,n_mo...
-
ReedSolomon(random,codeRS,Tx)...
-
TestBW (G,SUI,n_mod_type,samp...
-
TestCP(n_mod_type,SUI,samples...
-
TestChannels(n_mod_type,G,sam...
-
TestEncode(n_mod_type,G,SUI,s...
-
TestMods (G,SUI,samples,BW,fi...
-
[tap_variances,L,Dop]=CIRpowe...
-
bit_symbol(M,type,M1,M2)
-
channelSUI(N_SUI,G,BW)
-
createsymbol (pilots,data)
-
cyclic(symbol_ofdm,G,Tx);
-
decoder (pilots_tx,data_tx,sy...
-
draw(graphic,value,v_EbN0_dB,...
-
encoder (data_in,codeRS,templ...
-
estimatechannel(pilot_tx,data...
-
extract_data(symbol_ofdm_rx,v...
-
fadingcoeff=genh(I,v,Dop,tb)
-
find_index(num,table)
-
generatedata(n_mod_type,rate,...
-
generatepilot (n_symbol,Tx)
-
gray2bi( g )
-
graytable(K)
-
interleaving(data_convolution...
-
mapping( data_interleaving, n...
-
noise(symbolRx,SNR,n_mod_type...
-
parameters_SUI(N_SUI);
-
parameters_constellation(n_mo...
-
pb_pam_koh_ray (EbN0db,M,L,ma...
-
pb_psk_koh_ray (EbN0db,M,L,ma...
-
pb_qam_koh_ray (EbN0db,M,L,ma...
-
random(msg,BSID,DIUC,Frame);
-
receiver (symbolTx,G);
-
substrleft(k,pam)
-
systems (SNR,n_mod_type,G,N_S...
-
transmitter (pilot_mapping,da...
-
viterbi(msg,template,Tx);
-
bin_coef.m
-
wimax.m
-
View all files
|
|
| cyclic(symbol_ofdm,G,Tx);
|
function m_tx_guard = cyclic(symbol_ofdm,G,Tx);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% %
%% Name: cyclic.m %
%% Description: It receives the vector OFDM symbol just before %
%% sending it through the channel. %
%% %
%% Parameteres: %
%% --> Tx = 1 -->it is transmitting and we just need to add %
%% the cyclic prefix. %
%% If Tx = 0, it is receiving and the cyclic prefix must be %
%% eliminated. %
%% Result: It gives back the same vector with the cyclic prefix %
%% added accoeding to the given proportion of G (1/4, 1/8, %
%% 1/16 y 1/32) %
%% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Amount that must be added to the OFDM symbol
margin = length(symbol_ofdm)*G;
if Tx==1
m_tx_guard = [symbol_ofdm((end-margin+1):end) symbol_ofdm];
elseif Tx==0
margin = margin/(1+G);
m_tx_guard = symbol_ofdm(margin+1:end);
end
|
|
Contact us at files@mathworks.com