No BSD License  

Highlights from
Queueing Systems Toolbox

from Queueing Systems Toolbox by Bill Higley
These deal with an M/M/c queue and a finite source queue

fsqfindewq(lambda,mu,c,m)
%fsqfindewq(lambda,mu,c,m)
%   This function finds the average waiting time in the queue
%   (ewq) for a machine repair problem (finite source queue)

function out = fsqfindewq(lambda,mu,c,m)

ld = fsqfindld(lambda,mu,c,m);
lu = fsqfindlu(lambda,mu,c,m);

ewq = ld/(lambda*lu);

out = ewq;

Contact us at files@mathworks.com