1function
P=map_embedded(MAP)
2%
P=map_embedded(MAP) - Embedded discrete-time process
5% MAP: a MAP in the form of {D0,D1}
8%
P: transition matrix of the embedded process. If the MAP
is feasible,
9% then
P must be an irreducible stochastic matrix.
12% -
P=map_embedded(MAP) gives the probabilities
P(i,j) that the MAP
13% restarts in phase j
if the last absorption occurred in phase i