Random trees

Simulate a random branching process and plot it as a tree.
Updated 9 Jan 2006

View License

Simulate a Galton-Watson branching process using SPARFUN toolbox and plot it as a tree. We modified function TREEPLOT to plot the leaves in their respective level. See

Cite As

Ingemar Kaj Raimundas Gaigalas (2024). Random trees (https://www.mathworks.com/matlabcentral/fileexchange/2516-random-trees), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Graph and Network Algorithms in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Changed tgz archive format to zip.