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.
Citar como
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. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- RF and Mixed Signal > Antenna Toolbox > Analysis, Benchmarking, and Verification > Antenna and Array Analysis >
Etiquetas
Agradecimientos
Inspirado por: MATLAB sound - code example
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |