File Exchange

image thumbnail

OFDM Trasnmitter and Receiver (Matlab Code)

version 1.0 (2.42 KB) by

OFDM code with 16-QAM modulation. Can be easily Understood and modified.

44 Ratings



View License

This code basically computes the BER of an OFDM system. The ifft size is 64 .16-QAM is the modulation Technique and convolution encoding rate 1/2 is used as the coding scheme.

Comments and Ratings (68)

Trinh Anh


Waseem (view profile)

Very nice work sir,

jyoti makkar

this is nice code please explain me this code line by line and suggest me what can i change in this code for my thesis work...its very veru urgent..please reply me soon..

saranya sai

saumya nayak

Cholnam Kim

Sir please tell me some other interleaving code for reducing BER.

Neenu Sharma

Thanku sir. Sir can you send me mimo ofdm transceiver coding...My email is


yuvaraj v

Thank you

Mayar Mohamed



Asia khan


Aseem Sameer

Onkar Patil

Thank you very much. I have to use QPSK modulation in OFDM system. After that, I want to introduce some random carrier frequency offsets in various sub carrier frequencies. This offset may be modeled by a Gaussian RV with rms value equal to 1/3 to 1/2 percent of the frequency spacing. Can anybody please help me with that, Please guy's, my email id is .

thanks a lot..can u plz send me mimo-ofdm transceiver currently doing my final year project..plz mail me

hari reddy

I need code for ofdm signal which shows PAPR

Bilal Jutt

can anyone please please email me line to line explanation of this code.PLEASE GUYs :(

zulfat akbar

Thanks for your source code,but I need source code about BER vs Eb/No ofdm with 4 QAM ,,please send to my email


wjmmmm (view profile)

very helpful

fouad mayouf


J YZ (view profile)

thank you!


Sir, How can we make it highly computationally efficient using shifting and switching technic. I need the theory part and coding to study.
Please send it on my e-mail:
Thanks and regards,

ch asim

hi pls tell me how to use qpsk in the same code instead of qam16 pls reply soon

sania sss

santosh, they using 1/2 code rate, means k/n form ,1 is the single input and 2 is the output in the form of adders and they are using 7 memory register , after implementing this , u wil get [171 133]...

sania sss

hey please, any body tell me... how much bandwidth and symbol duration they used in this program..please please ...reply me to this

Fauza Khair

hey ,
please send me the global configuration parameter file


Plz just explain below line of ur coding
codegen = [171 133]; % Polynomial

I mean what codegen function does here.


Hello dear
please help me i need m file for
General MIMO-OFDM with QAM modulation tech. result should me compaision of V-Blast.MMSE, ZF w.r.t BER v/s SNR

Hello . My name is Abylay . I undergraduate Almaty University of Power Engineering and Telecommunication. I am currently working on a dissertation on LTE, namely the creation of a simulation model of OFDM and OCDM on MATLAB. Can you help me ? Please contact me at my e-mail address
Thank you very much.

SP 2

SP 2 (view profile)


hoang (view profile)

very good!

Kanwal Nain

i request you to kindly explain the code line by line. please



chiju (view profile)

Please I have been trying to write a code to generate an OFDM baseband signal and also to find the PAPR of the signal and its spectrum but its been fruitless getting frustrated, plz any ideas?


sir can u pls send me code for channel estimation of ofdm

sir the code is showing an error in line 26 that the index is out of order matrix dimension please help me


NabeeL (view profile)

Can you help me out in my project? What I need is An OFDM model with AWGN added and TDE, FDE and OFDE applied and then a performance comparison is done on the basis of BER...


Mac (view profile)


Mac (view profile)

It is helpfull


can you please send me the matlab code for ofdm using qpsk.. to my id


Parag (view profile)

i want code for Joint Decoding of LDPC Code and Phase Factors for OFDM Systems With PTS PAPR Reduction



Garoma (view profile)


pls can someone help me with matlab code for cancellation of ofdm sidelobes? thanks alot.


norita (view profile)

there is an error in line 49.

Prakash Bala

I want BER of OFDM MSK & DQPSK matlab code.. pls help

ganesh kaveti

thanku very much


Nam (view profile)


was very yousful

hi every body.i had 1 proplem about the ofdm simulate.this is the last year i study at i have 1 project that about OFDM.but i did'nt know how to simulate that.some one cuold show me.thanks alot.and what'll i do first?

how can it working.that just demo.they cut some where in the code


sorry! I was wrong! the code is perfectly working!!


I found a problem with this code.
When no noise is added and when the rxed_data is collected for every frame, then there is an error when compared to t_data


prabhu (view profile)

can any one help me in this topic"Interference Suppression for OFDM Systems With
Insufficient Guard Interval Using Null Subcarriers"

Suhail Khalid

Well done! A few parts I feel could be done better (specifically the choice of using trellis and pilot insertion) but all in all quite straight forward and easily understood. Thanks!

Ihsan Ullah

Ihsan Ullah (view profile)

wu zhi

wu zhi (view profile)

It's very good!

MATLAB Release
MATLAB 7.0.4 (R14SP2)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today