1%{ @file dtmc_timereverse.m
2 % @brief Computes the time-reversed transition matrix of a DTMC
4 % @author LINE Development Team
8 % @brief Computes the time-reversed transition matrix of a DTMC
11 % Computes the transition matrix of the time-reversed process.
15 % Prev = dtmc_timereverse(
P)
20 % <tr><th>Name<th>Description
21 % <tr><td>
P<td>Stochastic transition matrix of the original process
26 % <tr><th>Name<th>Description
27 % <tr><td>Prev<td>Stochastic transition matrix of the time-reversed process
30function Prev=dtmc_timereverse(
P)
36 Prev(i,j)=
P(i,j)*pie(i)/pie(j);