Simulation Markov Chain.

hello,
i want to to know how can i write a programm to compute a realization of a MC for a given stochastic matrix(9x9) and initial distribution P[X0 =0] for five realizations of length 20 for example.
Thank you so much !

Asked:

on 21 Apr 2019

Answered:

on 21 Apr 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!