Returns for tree intree the Nx1 vector PL with topological path length to the root for all nodes.

TREES

Example:

>> PL_tree (sample2_tree)'

[0 1 2 3 4 5 6 7 6 3 4 5 6 6 4]

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License