dtmcexps
Compute the expected number of visits to each state during the first n transitions, or until abrosption.
INPUTS
P(i,j)
transition matrix. P(i,j)
is the
transition probability from state to state .
n
Number of steps during which the expected number of visits are
computed (). If n=0
, returns
p0. If n > 0
, returns the expected number of
visits after exactly n transitions.
p0(i)
Initial state occupancy probabilities; p0(i)
is
the probability that the system is in state at step 0.
OUTPUTS
L(i)
When called with two arguments, L(i)
is the expected
number of visits to state before absorption. When
called with three arguments, L(i)
is the expected number
of visits to state during the first n transitions.
REFERENCES
See also: ctmcexps