Smart Antenna Based Mobile Ad-hoc Network
In this code I have created Image View for Mobile Ad-hoc Network
Here I have created Image View with smart antenna and omni directional
antenna when you run this code you will see some message on your command
window screenlike
Enter Number of Nodes in Network =>
Enter width of Area over which network should be employed =>
Enter length of Area over which network should be employed =>
% Enter Effective Aperture of Antenna =>
% Enter Gain of Antenna =>
% my suggestion of these parameters are initially one should try with number of nodes = 25 and for area width*length should be at least 500*500 Antenna parameter may be vary according to your requirement. Once you run this code after complete execution of the code you can do some
calculations related to power of transmission or reception. by using
formulla
A*G
Pr = -------- Pt .....(1)
4*pi*r^2
Here Pr = Receive power by receiver Antenna
Pt = Transmitted Power by Antenna
A = Effective Aperture area of Antenna
G = Gain of Antenna
r = distance between transmitting and receiving antenna You can find that all these values are stored in variable available in work space as A for Effective Aperture, G for Gain, R for distance and for Pt you should make consideration for your scenario. this value for network will vary according to number of hop count you can find hop count as variable hop_count and for total power of network you can multiply hop_cout with Power, in case you have received power then you can do analysis for transmitted power by using eq(1). One can also do
analysis of network by varying range of antenna by changing the value of R.
引用格式
Pankaj Joshi (2024). Smart Antenna Based Mobile Ad-hoc Network (https://www.mathworks.com/matlabcentral/fileexchange/47810-smart-antenna-based-mobile-ad-hoc-network), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- RF and Mixed Signal > Antenna Toolbox > Analysis, Benchmarking, and Verification > Antenna and Array Analysis >
标签
致谢
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |