1function MAP=map_erlang(MEAN,k)
2% MAP=map_erlang(MEAN,k) - Fit an Erlang-k process as a MAP
5% MEAN: mean inter-arrival time of the process
9% MAP: a MAP in the form of {D0,D1}
12% - MAP=map_erlang(2,3) an Erlang-3 process with mean 2
17MAP={zeros(k),zeros(k)};
24% normalize D0 diagonal
25MAP=map_normalize(MAP);