%P3
clc

A = [5/13  4/19  5/19; 6/13  8/19  6/19 ; 2/13 7/19 8/19];
[Q,T] = schur3Markov(A)  

A = [9/22  2/14  3/18; 5/22  9/14  8/18;  8/22 3/14 7/18]; 
[Q,T] = schur3Markov(A) 
     
     

