No BSD License  

Highlights from
An Introduction to Stochastic Processes

image thumbnail
[xdot]=e2311d(t,x)
function [xdot]=e2311d(t,x)
%
%  M(t)/m/3 Queue - The small cafeteria in a Big University
%  Differential Equation approach
%
NS=20; NS1=NS+1; a=[1 2]; mu=1; a=a*mu;
u=3*mu*(ones(1,NS)); u(1,1:2)=a; 
M=diag(u,-1); 
u=[0 u]; N=diag(-u,0); Q=M+N;  
[lm]=e2311b(t); 
lmt=lm*(ones(1,NS)); M=diag(lmt,1);
u=[lmt 0]; N=diag(-u,0); Qt=Q+M+N;  
Qt=Qt'; xdot=Qt*x'; 

Contact us at files@mathworks.com