Assume you have a realization of a Galton-Watson process (a basic branching process). And you want to plot this realization. The default function in matlab (treeplot) doesn't display this well because of how it handles the depths of the nodes (it will not properly reflect the generation). A matlab user has written an updated function (treetrimplot) which can be found in this suite
https://www.mathworks.com/matlabcentral/fileexchange/2493-simulation-of-stochastic-processes
Additionally, you can the use of treetrimplot here
http://www2.math.uu.se/~ikaj/courses/matlab/rtrees.html
Thursday, May 18, 2017
Subscribe to:
Posts (Atom)