LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
map_embedded.m
1function P=map_embedded(MAP)
2% P=map_embedded(MAP) - Embedded discrete-time process
3%
4% Input:
5% MAP: a MAP in the form of {D0,D1}
6%
7% Output:
8% P: transition matrix of the embedded process. If the MAP is feasible,
9% then P must be an irreducible stochastic matrix.
10%
11% Examples:
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
14%
15
16P=inv(-MAP{1})*MAP{2};
17end