# AODV in MATLAB
*Note: I do not maintain this repository any more. I'm intrigued that there has been even a modest amount of interest in it. But let's be honest here; I made this for a class project in university. It was just to get a grade. I work in a different field of programming now that does not involve routing algorithms, and I'm not even sure I remember how this code worked. If you find this project interesting, feel free to fork it and fix/modify/improve it. I will not be accepting issues, pull requests, or inquiries of any kind. Sincerest apologies, but I hope you understand.*
## Overview
A simulation of the ad-hoc on-demand distance vector (AODV) routing protocol for wireless networks in MATLAB.
## Prerequisites
* MATLAB r2017b *(may or may not work in newer versions; has only been tested in 2017b)*
## Usage
Change to this repository's directory in MATLAB. Call the script ```main```.
## Advanced Usage
Simulate traffic through the network. Call ```generateTraffic(packets)``` to send the specified number of random packets through the network. Call ```generateTraffic(packets,movement)``` to provide a movement interval for the packets.
To analyze simulated traffic, store the output and supply it to a chosen analysis function. Each plots and returns a reference to a figure displaying the info.
```
stats = generateTraffic(packets,movement);
plotTransmissions(stats);
plotPropDelay(stats);
plotHops(stats);
```
## Examples
##### Simple route request/reply
![](doc/images/Ex_1.gif?raw=true)
##### Route request with reply from intermediate nodes
![](doc/images/Ex_2.gif?raw=true)
##### Route error and renegotiation
![](doc/images/Ex_3.gif?raw=true)
##### Multiple route errors and renegotiations
![](doc/images/Ex_4.gif?raw=true)
## Author
Stuart Miller
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
matlab算法,工具源码,适合毕业设计、课程设计作业,所有源码均经过严格测试,可以直接运行,可以放心下载使用。 Matlab(Matrix Laboratory)是一种专为数值计算和科学与工程应用而设计的高级编程语言和环境。在算法开发和实现方面,Matlab具有以下一些好处: 1. 丰富的数学和科学函数库:Matlab提供了广泛的数学、信号处理、图像处理、优化、统计等领域的函数库,这些函数库可以帮助开发者快速实现各种复杂的数值计算算法。这些函数库提供了许多常用的算法和工具,可以大大简化算法开发的过程。 2. 易于学习和使用:Matlab具有简单易用的语法和直观的编程环境,使得算法开发者可以更快速地实现和测试他们的算法。Matlab的语法与数学表达式和矩阵操作非常相似,这使得算法的表达更加简洁、清晰。 3. 快速原型开发:Matlab提供了一个交互式的开发环境,可以快速进行算法的原型开发和测试。开发者可以实时查看和修改变量、绘制图形、调试代码等,从而加快了算法的迭代和优化过程。这种快速原型开发的特性使得算法开发者可以更快地验证和修改他们的想法。 4. 可视化和绘图功能:Matlab具有强大的可视化和绘图功能,可以帮助开发者直观地展示和分析算法的结果。开发者可以使用Matlab绘制各种图形、曲线、图像,以及创建动画和交互式界面,从而更好地理解和传达算法的工作原理和效果。 5. 并行计算和加速:Matlab提供了并行计算和加速工具,如并行计算工具箱和GPU计算功能。这些工具可以帮助开发者利用多核处理器和图形处理器(GPU)来加速算法的计算过程,提高算法的性能和效率
资源推荐
资源详情
资源评论
收起资源包目录
mATLAB中无线网络的路由协议.zip (74个子文件)
AODV-Matlab-master
plotHops.m 819B
drawCircle.m 377B
calcConnections.m 2KB
doc
cpe6420.tex 28KB
cpe6420.pdf 735KB
sources.bib 19KB
presentation.pptx 1.62MB
sources.pdf 2KB
flowcharts.vsdx 58KB
images
Ex_3_table.png 132KB
Ex_1_Data.stg 41KB
Ex_3.gif 21KB
sendPacket.png 26KB
Ex_1.stg 122KB
hops_movement_10.png 13KB
Ex_2.gif 18KB
hops_movement_none.png 15KB
Ex_4.gif 47KB
Ex_3.stg 92KB
Ex_1.gif 23KB
Ex_3_request.png 8KB
Ex_1_Data.gif 9KB
one_dim_movement_5.png 23KB
Ex_1_data.png 8KB
Ex_3_data_2.png 8KB
Ex_2_table.png 131KB
matlab_figure.png 39KB
Ex_2.stg 70KB
Ex_1_request.png 9KB
movement_5.png 21KB
Ex_3_data_1.png 7KB
Ex_3_Movement.gif 16KB
movement_10.png 21KB
send.png 41KB
Ex_3_reply.png 8KB
hops_movement_50.png 13KB
prop_delay_one_dim_movement_5.png 12KB
hops_overall.png 13KB
Ex_1_table.png 117KB
Ex_3_error.png 7KB
movement_50.png 19KB
Ex_4.stg 284KB
prop_delay_movement_50.png 12KB
prop_delay_movement_none.png 12KB
netsim_example.png 98KB
prop_delay_movement_5.png 12KB
flood.png 47KB
Ex_1_reply.png 9KB
Ex_2_request.png 9KB
Ex_2_reply.png 9KB
Ex_2_data.png 9KB
movement_none.png 18KB
Ex_3_Movement.stg 38KB
IEEEtran.cls 275KB
updateTableData.m 536B
data
stats_10.mat 6KB
stats_inf.mat 3KB
stats_50.mat 4KB
node.m 2KB
main.m 902B
updateSeqNums.m 316B
chooseClosest.m 368B
plotPropDelay.m 556B
initMove.m 431B
redrawTableView.m 2KB
generateTraffic.m 2KB
.gitignore 155B
move.m 2KB
updateGraphView.m 1KB
plotTransmissions.m 777B
README.md 2KB
initGraphView.m 9KB
sendPacket.m 13KB
initTableView.m 399B
共 74 条
- 1
资源评论
若明天不见
- 粉丝: 1w+
- 资源: 273
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- MyBatis动态SQL是一种强大的特性,它允许我们在SQL语句中根据条件动态地添加或删除某些部分,从而实现更加灵活和高效的数据
- MyBatis动态SQL是一种强大的特性,它允许我们在SQL语句中根据条件动态地添加或删除某些部分,从而实现更加灵活和高效的数据
- MyBatis动态SQL是一种强大的特性,它允许我们在SQL语句中根据条件动态地添加或删除某些部分,从而实现更加灵活和高效的数据
- Docker在Ubuntu16.04上安装和部署Apache Storm
- test_kong.zip
- springboot权限验证学习-下
- SeetaFace6人脸质量评估C++代码实现Demo
- OCAuxiliaryTools
- 制药公司QC顶岗实习专题报告
- Rust 全面指南:从基础到高级,一网打尽 Rust 的编程知识
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功