Returns for tree intree an Nx1 vector
idpar containing the direct parent indices for each node..
Parent node of root is “1” by default. Use '-0' option to set root parent
to “0”.
Example:
>> idpar_tree (sample2_tree)'
[1, 1, 2, 3, 4, 5, 6, 7, 6, 3, 10, 11, 12, 12, 10]
This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License