LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
matlab
src
api
qsys
qsys_mg1.m
1
function [W,rhohat]=qsys_mg1(lambda,mu,cs)
2
% W=QSYS_MG1(LAMBDA,MU,CS)
3
4
rho=lambda/mu;
5
Q = rho + rho^2/(2*(1-rho)) + lambda^2*cs^2/mu^2/(2*(1-rho));
6
W = Q/lambda;
7
rhohat = Q/(1+Q); % so that M/M/1 formulas still hold
8
end
Generated by
1.9.8