LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
map2ph.m
1function [alpha,T,PHR]=map2ph(MAPIN)
2% [MAPOUT,A,pi]=map2ph(MAPIN) - Returns a PH distribution
3%
4% Input:
5% MAPIN: a MAP in the form of {D0,D1}
6%
7% Output:
8% alpha: entry probability vector of the PH distribution
9% T: subgenerator of the PH distribution
10% PHR: PH-renewal process with distribution (pi,A) in (D0,D1) notation
11
12T=MAPIN{1};
13alpha=map_pie(MAPIN);
14PHR{2}=MAPIN{2}*ones(length(MAPIN{2}),1)*alpha;
15end
16