Smart Antenna Based Mobile Ad-hoc Network

This is work for comparison of Smart Antenna and Omni directional Antenna for MANET
2K Downloads
Updated 11 Sep 2014

View License

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.

Cite As

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. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: MATLAB sound - code example

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0