Simulating a Markov chain

Hi,
I would like to simulate a markov chain in Matlab with initial vector of [0.7 0.3 0.5] and [4 2 5] and probability transition matrix of 3 x 3 with 100 steps. I woule like to have the code to do so since I fail to modify the others code
Regards, Kong

Answers (0)

Categories

Find more on Physics in Help Center and File Exchange

Tags

No tags entered yet.

Asked:

on 8 Apr 2015

Edited:

on 8 Apr 2015

Community Treasure Hunt

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

Start Hunting!