How to plot a markov chain in matlab?

3 views (last 30 days)
Raymond
Raymond on 23 Jun 2014
Commented: Matt Franklin on 10 Apr 2017
I have the states and transition probabilities. Just wonder if there is a matlab function to plot it automatically. Please feel free to let me know if you think there're better programs to plot it.
  4 Comments
Cedric
Cedric on 24 Jun 2014
Hi Star, it was more a suggestion than an answer actually, but thank you for the comment!
Matt Franklin
Matt Franklin on 10 Apr 2017
Did you create the script to plot arbitrary Markov chains in graphviz? That would be very useful. Please share if possible!

Sign in to comment.

Answers (1)

Raymond
Raymond on 24 Jun 2014
Thanks both Cedric and Star.
Just tried out graphiz. The quickest way to try it out is to: get sample codes here: http://www.graphviz.org/Gallery.php try out a web version converter: http://graphviz-dev.appspot.com/ and change attributes as necessary: http://www.graphviz.org/doc/info/attrs.html
  1 Comment
Cedric
Cedric on 24 Jun 2014
Thank you for the references! There are also FEX submissions and a package on GitHub if my memory is good, but I didn't test them.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!