资源简介
802.11协议吞吐量分析;% the script to compute the system throughput following Bianchi's analysis
% G. Bianchi, etc., "Remarks on IEEE 802.11 DCF Performance Analysis," IEEE
% Comm. Letters, Aug. 2005.
代码片段和文件信息
% the script to compute the system throughput following Bianchi‘s analysis
% G. Bianchi etc. “Remarks on IEEE 802.11 DCF Performance Analysis“ IEEE
% Comm. Letters Aug. 2005.
for k = 1:100
N = k; % number of nodes
payload = 1500; % in unit of bytes assuming fixed-size payload here
R = 7; % retransmission limit
% 802.11b
DIFS = 50; % us
SIFS = 10; % us
slot = 20; % us
dataRate = 11; % Mbps
CWmin = 31; % we assume the range is [0 CWmin] so it is 31 rather than 32
ACK = 248; % us
MAC = 28; % bytes
PHY = 192; % us
precision = 10000;
% compute p and tau
for i = 1:precision+1
p1 = (i-1)*1.0/precision;
% tau in terms of p
tau_down = 0;
for j = 1:R+1
tau_down = tau_down + p1^(j-1)*((CWmin+1)*2^(j-1) - 1) / 2;
end
tau_down = 1 + tau_down*(1-p1)/(1-p1^(R+1));
tau
相关资源
- MATLAB 字符识别
- matlab的粗糙集代码
- 分形图像编码的matlab实现
- 系统辨识与自适应控制matlab仿真庞中
- 主成分分析PCA matlab
- 图像增强Matlab代码总结6种
- 永磁同步电机matlab仿真模型 PMSM_PI
- MATLAB实现灰色预测程序
- hdb3编码解码的matlab编码
- matlab雨流计数法
- 弗洛伊德 算法matlab
- 压缩感知算法的matlab仿真源码
- Matlab实现nearest+bilinear+bicubic插值resi
- 飞机纵向增稳系统设计matlab
- matlab renix 文件读取代码
- 粒子滤波算法介绍及MATLAB工具箱
- 广义预测控制Matlab程序
- 通过knn算法,实现WiFi室内定位在mat
- 云计算,matlab
- 用户均衡流量分配模型UE的matlab求解程
- 回溯搜索算法 matlab BSA.m
- 概率神经网络分类matlab代码
- 何凯明去雾MATLAB代码(.M).zip
- 《神经.模糊.预测控制及其MATLAB实现》
- 柴油发电机matlab模型
- morlet小波matlab代码
- 振动课程MATLAB代码
- FRFT分数阶傅里叶变换matlab代码
- matlab密码登陆界面的实现
- 拟一维喷管流动的数值解MATLAB程序
评论
共有 条评论