File Exchange

## A 802.16d System (Comments on English)

version 1.0 (48.8 KB) by

A WiMAX System Simulation

4.33333
3 Ratings

Updated

A WiMAX simulation where you can define the number of OFDM symbols to simulate, type of channel (SUI 1-6 or AWGN Channel), lots of BW and different values for cyclic prefix. You are also able to select 4 different modulations same as IEEE 802.16d.

There is no Simulink needed. Everything is code. Translate into English by Faisal Madani.

All the coding stages from the Standard IEEE 802.16 are also simulated ( Randomize, RS Code, CC and interleaving)

To run the program type "wimax"

great project.
how can I add carrier frequency offset in time domain to the code if needed?

Santiago Perez

all is perfect!!

Carlos Batlles

### Carlos Batlles (view profile)

Hello Omprakash et al,

About bin_coef.dll error, please let me explain the reason I'm using it and you may workaround later:

You probably realize that it's empty, right? so let me explain you what the purpose for this file is, then you will able to delete it (or not):

To make the BER picture between my results and the theoretical ones, I need Matlab to know the latest one, right? I wanted to get those values from Matlab (berfading function) but my Matlab version (7 R14) didn't implement the option 16QAM and 64QAM in the berfading funtion.

Then, I asked for a solution to one of my colleague in Bremen and he gave me some routines : graytable.m, pb_psk_ray.m, pb_qam_ray.m, pb_pam_ray.m bin_coef-m y bin_coef.dll. I thought I could delete some files and keep those files I wanted, but it was not easy and I kept all the files into my folder.

You can delete all those files in case you rewrite the following sentence in the "BERteorica.m" file
"[Ps,v_ber_teoria]=pb_qam_ray (1:length(v_EbN0_dB),2^n_mod_tipo,1,'gray');"

....By the one that tells you the same data (depends on the Matlab version). I think it's like this:
(The issue was that I got an error using this command due to my Matlab version so I need the other files)

Hope you can now wave the bin_coef.dll use and perform the files properly.

Regards,
Carlos

Omprakash Rajanakr

### Omprakash Rajanakr (view profile)

Dear Sir,
what does bin_coef.dll do? i understand bin_coef.dll ? ???

Invalid MEX-file 'C:\Documents and Settings\Administrator\Desktop\802.16 System
-English version\bin_coef.dll': C:\Documents and
Settings\Administrator\Desktop\802.16 System -English version\bin_coef.dll is not a
valid Win32 application.
help me plz

nice，thanks
what does bin_coef.dll do? i understand bin_coef.dll ? ???

Invalid MEX-file 'C:\Documents and Settings\Administrator\Desktop\802.16 System
-English version\bin_coef.dll': C:\Documents and
Settings\Administrator\Desktop\802.16 System -English version\bin_coef.dll is not a
valid Win32 application.
help me plz

Shanar

### Shanar (view profile)

Dear sire
Your programme is perfect, I have to say well done to you, BUT there is one problem, which is the running time is too long? How can I manage it to make it quicker? Help me to sort it out please, Many thanks in advance.

david

### david (view profile)

what does bin_coef.dll do? i understand bin_coef.dll ? ???

Invalid MEX-file 'C:\Documents and Settings\Administrator\Desktop\802.16 System
-English version\bin_coef.dll': C:\Documents and
Settings\Administrator\Desktop\802.16 System -English version\bin_coef.dll is not a
valid Win32 application.

david

### david (view profile)

"Please enter your choice" ... If choice =1 ,sumilink is run, not error and choise =2 or 3 or 4 or 5 ,simulink is error

Hepl me!

david

### david (view profile)

Help me ????????error???

?? Input argument "n_mod_type" is undefined.

Error in ==> mapping at 19
[M,M1,M2,type_mapping,c] = parameters_constellation(n_mod_type);

??? Input argument "template" is undefined.

Error in ==> viterbi at 24
block = length (template); % Length of the template

??? Input argument "BSID" is undefined.

Error in ==> random at 25
seed=[de2bi(BSID,4,'left-msb') 1 1 de2bi(DIUC,4,'left-msb') 1
de2bi(Frame,4,'left-msb')];

??? Input argument "codeRS" is undefined.

Error in ==> ReedSolomon at 19
n = codeRS(1); % Length of the codeword

Linda

Ivan Jimenez

### Ivan Jimenez (view profile)

There is a slight mistake in your "draw.m" file. Where you used the function "grids on", MATLAB does not recognize it because it is "grid on". Otherwise, everything lookis fine.

Ivan Jimenez

### Ivan Jimenez (view profile)

I would like to get the power spectral density from your files. What file would you recomend me to modify. Thank You. By the way, your programs are really good.

Zhong

nice，thanks

Liu

Good files,呵呵

MATLAB 7 (R14)