Returns Nx1 vector eucl containing the Euclidean (as the bird flies) distance [in µm] between all points on the tree intree and the root (by default) or any other node defined by its index inode. inode can also be a 3-tupel of XYZ coordinates.

TREES

Example:

>> eucl_tree (sample2_tree)'

[0, 10, 20, 29, 38, 47, 57, 67, 53, 27, 36, 43, 51, 54, 35]

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