802.11g wlan phy model

It is a modified version 802.11a
3.9K Downloads
Updated 24 Sep 2012

View License

Modulator has been initialized as

% number of bits per symbol

switch modulation

case 'BPSK', Nb1 = 1;

case 'QPSK', Nb1 = 2;

case '16-QAM', Nb1 = 4;

case '64-QAM', Nb1 = 6;

case 'DQPSK', Nb1 = 8;

case 'OQPSK', Nb1 = 16;

end

modOrder = 2.^Nb1;

Nb = numSymbols * Nb1; % tx bits per block

codeRate = str2num(strvcat(code)).';

bitsPerBlock = Nb .* codeRate;

% interleaver

interleaverRows = 16;

if rem(Nb, interleaverRows)

error('Number of transmitted bits per block must be multiple of 16.')

end

interleaverCols = Nb / interleaverRows;

interleaverElements = [...

2*floor( [0:Nb-1]/2 ) + ...

mod( ([0:Nb-1] + Nb - floor( interleaverRows*[0:Nb-1]/Nb ) ), 2 ) ...

+ 1]';

The models looks like 802.11a but parameters used here are for 802.11g

Cite As

anuj saxena (2024). 802.11g wlan phy model (https://www.mathworks.com/matlabcentral/fileexchange/38073-802-11g-wlan-phy-model), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on WLAN Toolbox in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.3.0.0

the model is modified to be used with matlab 2010a

1.0.0.0