资源简介
M/M/N 排队系统(多服务员排队系统)的matlab仿真,GUI界面,附源代码
按照顾客到达的时间概率分布为泊松分布,顾客服务时间的长短服从负指数分布,试完成M/M/1排队系统的仿真。
代码片段和文件信息
function varargout = MMN(varargin)
%MMN排队系统 制作人:Tazen Fee 2012年12月
% MMN M-file for MMN.fig
% MMN by itself creates a new MMN or raises the existing
% singleton*.
%
% H = MMN returns the handle to a new MMN or the handle to
% the existing singleton*.
%
% MMN(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in MMN.M with the given input arguments.
%
% MMN(‘Property‘‘Value‘...) creates a new MMN or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before MMN_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to MMN_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 MMN
% Last Modified by GUIDE v2.5 06-Dec-2012 08:32:20
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @MMN_OpeningFcn ...
‘gui_OutputFcn‘ @MMN_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 MMN is made visible.
function MMN_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 MMN (see VARARGIN)
% Choose default command line output for MMN
handles.output = hobject;
pic2=imread(‘shouyintai.jpg‘);
set(handles.sever1‘CData‘pic2);
set(handles.sever2‘CData‘pic2);
set(handles.sever3‘CData‘pic2);
set(handles.sever4‘CData‘pic2);
global N;
N=1;
global g;
g=1;
global h;
h=2;
global Tmax;
Tmax=30;
global vf;
vf=1;
%下面的代码用于输出图像
global Tey;
Tey=0;
global Ley;
Ley=0;
global Sey;
Sey=0;
global Tx;
Tx=0;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes MMN wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = MMN_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 ou
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-02-02 23:13 MMN排队\
文件 4845 2012-12-03 21:43 MMN排队\matlab.jpg
文件 42336 2012-12-08 21:55 MMN排队\MMN.asv
文件 10511 2013-02-02 23:09 MMN排队\MMN.fig
文件 31598 2013-02-02 23:11 MMN排队\MMN.m
文件 157 2013-02-02 23:20 MMN排队\readme.txt
文件 7744 2012-12-06 10:32 MMN排队\shouyintai.jpg
相关资源
- 综合评价方法MATLAB实现matlab文件何逢
- 64位的matlab的jpegtbx_1.4 jpeg tool box
- 音频数字水印
- 双参数cfar检测器 matlab仿真程序
- 使用matlab进行编写的使用超限插值法
- HEED协议的matlab源代码
- 非下采样轮廓波变换matlab代码
- 冈萨雷斯数字图像处理matlab版.源代码
- matlab仿真 短时谱 语谱图 倒谱复倒谱
- 计算色温matlab版
- 多进制空时分组码(STBC)matlab仿真
- pca与KL变换的综合matlab实现代码
- matlab计算粗糙集的下近似属性依赖度
- 用matlab编写的一些相关InSAR数据处理程
- CRC校验的Matlab源代码
- 基于MATLAB直流调速系统设计与仿真
- matlab在时间序列建模预测及程序代码
- 最优化matlab作业代码
- BFGS+DFP+SUMT——matlab源程序一例
- 曲柄滑块机构的运动学matlab仿真 源代
- 共轭梯度优化方法MATLAB代码
- 图像归一化
- matlab计算图像锐度
- matlab边缘细化源代码
- matlab 数字信号处理函数
- my_alphanoise.rar
- DFT的matlab实现的 源程序
- matlab注水原理
- matlab计算心率 QRS波群定位
- 运动目标航迹仿真
评论
共有 条评论