# AODV in MATLAB
## Overview
A simulation of the ad-hoc on-demand distance vector (AODV) routing protocal for wireless networks in MATLAB.
## Prerequisites
* MATLAB r2017b or newer
## 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)
Matlab科研辅导帮
- 粉丝: 3w+
- 资源: 7814
最新资源
- 减速器含设计文档二级直齿轮减速器设计
- 基于遗传算法的LQR控制器优化设计sumlink仿真模型 可用于学习了解LQR控制器,将其应用于其他模型
- 减速器含设计文档二级直齿圆柱齿轮减速器课程设计
- 目标检测手枪步枪数据集16292张YOLO+VOC格式.zip
- java和jsp写的酒店管理系统
- 燃料电池PEMFC非等温两相流模型,考虑流道液态水膜态水
- 文本格式的2025年日历
- 减速器含设计文档复合形法减速器优化设计
- 97个linux常用命令大全.docx
- 8控制TOP1期刊IEEE TAC程序复现-A Delay System Method for Designing Event-Triggered Controllers of Networked C
- 五套随机小姐姐短视频引流网站源码+最新API
- 论文文档KGP-250-10晶闸管中频加热电源
- 燃料电池PEMFC非等温两相流模型,考虑流道液态水膜态水
- 减速器含设计文档钢丝绳电动葫芦起升用减速器设计
- 前盖裁胶摆盘机设备sw16可编辑全套技术资料100%好用.zip
- MFC小游戏七:获胜界面和失败界面
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈