View License

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

» Watch video

Highlights from
802.11b PHY MATLAB Code

4.5 | 24 ratings Rate this file 15 Downloads (last 30 days) File Size: 3.19 KB File ID: #3213 Version:

802.11b PHY MATLAB Code



30 Mar 2003 (Updated )

802.11b PHY MATLAB® Code.

| Watch this File

File Information

BER simulation of DBPSK, 1Mbps mode of 802.11b. Assumes perfect synchronization. Should work in earlier releases.

Required Products Communications System Toolbox
Signal Processing Toolbox
MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (28)
15 Aug 2016 Chenq

Chenq (view profile)

Thanks for sharing!It's very helpful!

17 Apr 2016 wangHF wang

BER simulation of DBPSK, 1Mbps mode of 802.11b.


Without the algorithm, it is somewhat complex for me as a student to understand from the code though I have some idea on DSSS concept.
Please kindly update its algorithm so that I can understand.
Thank you in advance.

20 May 2014 monika priya

very useful

18 Aug 2008 shweta tripathi

10 Jun 2008 Aneeq Ahmed

One query and correct me if i am wrong, You have written:
SNR=EsNo+10*log10(1/SpreadingRate)+... ;
NOw spreadspectrum systems give You a gain in performance which is equal to spreading rate. Hence When You send a bit on the channel, it has its own energy per bit plus this performance gain.
Thus, shouldnt the formula be:
or equivalently

So can some one sort out the confusion

Comment only
02 Jun 2008 hamzi chahro

quelle est la taille d'une trame 802.11b à 1Mbps?

Comment only
19 Nov 2007 shahzad bhatti

very++ useful

09 Jul 2007 kittu bunedu

great help from you

08 Mar 2007 andrea baron

is is very interesting, thanks for you kelp

30 Aug 2006 Shine Soman

Very usefull

01 Jun 2006 ajit sahoo

28 Dec 2005 Kelvin Chee

Nice job, but there is no synchronization, reshape function can be patched like this
Tx_chips_tmp = Barker*Tx_symbols';
Tx_chips=reshape(Tx_chips_tmp,prod(size(Tx_chips_tmp)),1); % Multiply by barker and reshape to a columm

16 Oct 2005 Yang Cheung

Something's wrong, but i don't know why...

Comment only
09 Oct 2004 McGyver 2

09 Oct 2004 Bondero Bacoma


09 Oct 2004 Giacomo Belluchi


04 Oct 2004 Leszek Nawalaniec

Great job !

23 Sep 2004 y s

09 Jun 2004 jan mikulka

Hi, I think that there's a mistake in your code. When you count SNR from Es/No.
1) the first thing is, that you use EsNo, when there is no reason for it, because it is the same as EbNo in 2-state modulation. But it doesn't matter. Just in your case Es/No=Eb/No.
2) The formula like you write is for 11-state modulation.
You count Eb (Es) as energy above 1 chip!!!. It should be for countet as energy above one bit (symbol) - in your case it is the same.

Could you please write me, what do you think? Maybe I'm wrong, but I would like to know your opinion.

Comment only
20 May 2004 amrit pandey

13 Apr 2004 Himanshu Ray

Were can I get the theoretical part and formulation of this code.

22 Oct 2003 Karen Ong

Start Simulation
Simulating: EsNo=0dB
??? Error using ==> reshape
Size argument cannot be empty.

Error in ==> D:\Zip\DBPSK.m
On line 86 ==> Tx_chips=reshape(Barker*Tx_symbols',[],1); % Multiply by barker and reshape to a columm

31 Jul 2003 sathish kumar narayanasamy

01 Jul 2003 rose pamella

I don t understand parameters for firrcos
Fc and Fs?

26 Apr 2003 Taimour Al Neimat

Error using ==> reshape
Size argument cannot be empty.

On line 86 ==> Tx_chips=reshape(Barker*Tx_symbols',[],1); % Multiply by barker and reshape to a columm

14 Apr 2003 Sri Vishu

Very good program with great explanation

14 Apr 2003 ra dsd

20 Jul 2009 1.1

Added trademarks.

22 Jul 2009 1.3

Minor edits to title.

04 Aug 2009 1.5

Copyright work.

01 Sep 2016

Updated license

Contact us