From: Yoann on
> Thanks very much for such a detailed and helpful reply.I have written a script for 1st order markov chain and trying for 2nd order.
>
> DEVANAND T

Hi,
I am a new matlab user, and I also trying to use markov chain..
could you show me how you build your first order markov chain, please
because I have my Probability transition matrix, but now I dont know how to do to
predict the next step using this matrix.
I could maybe take advantage of your code to finish mine
best regards
Yoann