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
|
|
| graytable(K) |
% ##############################################################################
% ## graytable.m : Tabelle mit Gray-Code erstellen ##
% ##############################################################################
%
% function [gt] = graytable(K)
% ------------------------------------------------------------------------------
% EINGABE:
% K: Stellen in der Gray-Code-Tabelle
% (Skalar)
%
% AUSGABE:
% gt: Gray-Code-Tabelle
% ( (2^K,K)-Matrix )
%
% BEISPIEL:
% graytable(2)
% ans =
% 0 0
% 0 1
% 1 1
% 1 0
%
% AUTOR: Juergen Rinas, 08.12.1998
% ------------------------------------------------------------------------------
function [gt] = graytable(K)
gt=[0;1];
for i=1:(K-1)
gt=[zeros(length(gt),1) gt; ones(length(gt),1) flipud(gt)];
end;
% ### EOF ######################################################################
|
|
Contact us at files@mathworks.com