Location:
Search - ns-3 wsn
Search list
Description: WSN LEACH协议的NS-2仿真代码-WSN LEACH protocol NS-2 Simulation Code
Platform: |
Size: 23552 |
Author: 赵端 |
Hits:
Description: 本文着重介绍了基于NS-3的无线
传感器网络的物理层仿真模块的设计,搭建了无线传感器网络仿真平台,使一个简单的例子得以在上面运行,并给出
了仿真结果。该仿真平台可以用于对无线传感器网络的深入研究与探讨,有助于无线传感器网络的优化设计、缩短系
统的开发周期。-This paper introduces NS-3-based wireless sensor network simulation module physical layer design, build a wireless sensor network simulation platform that enables a simple example to run in the top, and the simulation results. The simulation platform can be used for wireless sensor networks in-depth study and discussion, will help optimize the design of wireless sensor networks, shorten the development cycle.
Platform: |
Size: 354304 |
Author: lv |
Hits:
Description: M=63 J=(M-1)/2 Wp=0.5*pi Ws=0.6*pi
Np=100 Ns=100
weightp=1 weights=100 通带和阻带的加权系数
WpN=linspace(0,Wp,Np)
WsN=linspace(Ws,pi-0.05,Ns)
Wm=[WpN WsN]
p=[ones(1,50),ones(1,50)/2]
d=[p,zeros(1,Ns)]
W=diag([weightp*ones(1,Np),weights*ones(1,Ns)])
C=cos(Wm*[0:J])
Q=diag(cos(Wm*0.5))
g=(W*Q*C)\(W*d) g=g
h=(g(J:-1:2)+g(J+1:-1:3))/4
h=[g(J+1)/4 h g(1)*0.5+g(2)/4]
h=[h fliplr(h)] W=linspace(0,pi-0.1,512)
H=freqz(h,1,W)
plot(W/pi,20*log10(abs(H)))
-filter design
Platform: |
Size: 1024 |
Author: 李天 |
Hits: