It can be observed that each row of the matrix is a probability distribution, In MatLab the statement to calculate eigenvectors and eigenvalues is.