资源简介
通过MATLAB编程实现一个局部交通网的VANET仿真。在仿真中进行AODV的模拟,并不涉及具体的数据传输算法。通过自定义总节点数、源节点号和目标节点号,可在图形化界面看到其具体传输路径,并在仿真结束时得到传输过程中的丢包率、网络生存时间和吞吐量等性能与找到路径次数、传输速率之间的关系图。
代码片段和文件信息
function varargout = anish(varargin)
% ANISH MATLAB code for anish.fig
% ANISH by itself creates a new ANISH or raises the existing
% singleton*.
%
% H = ANISH returns the handle to a new ANISH or the handle to
% the existing singleton*.
%
% ANISH(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in ANISH.M with the given input arguments.
%
% ANISH(‘Property‘‘Value‘...) creates a new ANISH or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before anish_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to anish_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE‘s Tools menu. Choose “GUI allows only one
% instance to run (singleton)“.
%
% See also: GUIDE GUIDATA GUIHANDLES
% Edit the above text to modify the response to help anish
% Last Modified by GUIDE v2.5 03-Jan-2020 19:04:16
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @anish_OpeningFcn ...
‘gui_OutputFcn‘ @anish_OutputFcn ...
‘gui_LayoutFcn‘ [] ...
‘gui_Callback‘ []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State varargin{:});
else
gui_mainfcn(gui_State varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before anish is made visible.
function anish_OpeningFcn(hobject eventdata handles varargin)
% This function has no output args see OutputFcn.
% hobject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to anish (see VARARGIN)
% Choose default command line output for anish
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes anish wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = anish_OutputFcn(hobject eventdata handles)
% varargout cell array for returning output args (see VARARGOUT);
% hobject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Get default command line output from handles structure
varargout{1} = handles.output;
% --- Executes on button press in Simulate.
function Simulate_Callback(hobject eventdata handles)
% hobject handle to Simulate (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (s
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2020-07-05 10:56 基于MATLAB的VANET仿真\
目录 0 2020-07-05 10:45 基于MATLAB的VANET仿真\VANET-Simulation\
文件 27681 2020-01-04 20:28 基于MATLAB的VANET仿真\VANET-Simulation\anish.fig
文件 8153 2020-01-05 21:45 基于MATLAB的VANET仿真\VANET-Simulation\anish.m
文件 102 2019-01-27 22:35 基于MATLAB的VANET仿真\VANET-Simulation\equal.m
文件 1742 2020-01-05 20:40 基于MATLAB的VANET仿真\VANET-Simulation\evaluation.m
文件 114176 2020-01-05 20:39 基于MATLAB的VANET仿真\VANET-Simulation\out.xls
文件 9283 2020-01-04 21:28 基于MATLAB的VANET仿真\VANET-Simulation\UrbanCitySimu.m
文件 108 2020-01-05 21:31 基于MATLAB的VANET仿真\VANET-Simulation\说明.txt
文件 192157 2020-07-05 10:45 基于MATLAB的VANET仿真\仿真报告.docx
- 上一篇:PPL锁相环matlab
- 下一篇:学生成绩查询系统
相关资源
- 学生成绩查询系统
- PPL锁相环matlab
- 计算SINR的matlab程序,带入参数可以直
- 基于matlab的小车避障仿真
- 最全图像评价性能指标函数matlab
- 图像性能指标matlab版本
- RSSI指纹库
- 图像融合的MATLAB实现
- k均值聚类算方法MATLAB程序
- Matlab+PFH.rar
- 提取水泥路裂缝
- 人群搜索算法SOA的matlab实现
- MATLAB 粒子群图像分割算法
-
MATLAB/Simuli
nk的PMSM的DTC控制仿真 - 粒子群算法matlab含注释
- matlab函数conv_m( xnxhnh )
- 数字基带传输系统MATLAB
- matlab写的指纹识别代码包括图像修复
- 泊松方程MATLAB程序
- 心电信号处理
- MPSK信号调制识别程序
- 神经网络实现调制识别
- 异步电机vf控制matlab仿真模型
- 异步电机带电阻压降补偿的vf控制ma
- 永磁同步电机矢量控制matlab仿真模型
- 永磁同步电机无位置控制matlab仿真模
- 霍夫变换圆检测标准MATLAB
- 指纹预处理图matlab实现
- 在matlab中连续区间 交集 和 并集
- 基于matlab实现gold码
评论
共有 条评论