Returns Nx1 vector len, the lengths of all segments [in Ám] in tree intree using the X, Y and Z coordinates and the adjacency matrix.

TREES

Example:

>> len_tree (sample2_tree)'

[0, 10, 10, 10, 10, 9, 10, 11, 8, 10, 10, 7, 9, 11, 9]

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