Aug 10, 2010

我的工作日记5

ACMP simulation:完成
The number of channels is six
6CH-ACMP=1Mb_18-6_random (我不准备在论文中使用)
6CH-ACMP=1Mb_36-18_random

McMAC simulation:完成
The number of channels is six
6CH-McMAC=1Mb_18-6_random (我不准备在论文中使用)
6CH-McMAC=1Mb_36-18_random

Aug 8, 2010

confidence Interval

计算小样本的信赖区间

参考:区間推定/信頼区間

標本平均の分散=(母分散/サンプルサイズ)=(不偏分散/標本数)

標本平均の標準偏差=(不偏分散/サンプルサイズ)の平方根

標本平均の標準偏差を「標本標準誤差」(SE=standard error)と呼びます。

信頼区間=標本平均±t×標本標準誤差

不偏分散可以利用EXCEL里的VAR函数

在Gunplot中作图使用参考这里

我的工作日记4

simulation实验
McMAC=1Mb_16-8_random
McMAC=1Mb_36-18_random

parameter的使用

ns-2.27/tcl/lib/ns-default.tcl
# Initialize the SharedMedia interface with parameters to make
# it work like the 914MHz Lucent WaveLAN DSSS radio interface
Phy/WirelessPhy set CPThresh_ 10.0
Phy/WirelessPhy set CSThresh_ 1.559e-11
Phy/WirelessPhy set RXThresh_ 3.652e-10
Phy/WirelessPhy set bandwidth_ 2e6
Phy/WirelessPhy set Pt_ 0.28183815
Phy/WirelessPhy set freq_ 914e+6
Phy/WirelessPhy set L_ 1.0
Phy/WirelessPhy set debug_ false

我的工作日记3

没有成功还不知道是什么原因!

ACMP=2Mb_16-8_random
ACMP=2Mb_36-18_random

ACMP simulation 
set data rate = 2 Mbps
Phy/WirelessPhy set RXThresh_ 7.943e-13
Mac/802_11 set dataRate_ 2e6

change ns2.28/tcl/lib/ns-default.tcl
Mac/802_11 set basicRate_ 1.0e6 ;# basic rate by lmz
Mac/802_11 set dataRate_ 2.0e6 ;# data rate by lmz

# Initialize the SharedMedia interface with parameters to make
# it work like the 914MHz Lucent WaveLAN DSSS radio interface
# New physical parameter, added by Mingzhe Li (lmz)
Phy/WirelessPhy set CPThresh_ 10.0
Phy/WirelessPhy set CSThresh_ 1.585e-14
Phy/WirelessPhy set RXThresh_ 3.981e-13
Phy/WirelessPhy set bandwidth_ 1e6
Phy/WirelessPhy set Pt_ 0.0316227766
Phy/WirelessPhy set freq_ 2400e+6
Phy/WirelessPhy set L_ 1.0
Phy/WirelessPhy set debug_ false

change ns2.28/tcl/lib/lan/ns-mac.tcl
Mac/802_11 set dataRate_ 2Mb