2 % @brief Generates a random stochastic transition matrix
4 % @author LINE Development Team
8 % @brief Generates a random stochastic transition matrix
11 % Creates a random stochastic matrix of specified size.
20 % <tr><th>Name<th>Description
21 % <tr><td>n<td>Size of the matrix (n x n)
26 % <tr><th>Name<th>Description
27 % <tr><td>
P<td>Random stochastic transition matrix
30function
P=dtmc_rand(n)
31P=ctmc_randomization(ctmc_rand(n));