This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


NTREE manager



wtreemgr is a tree management utility.

This function returns information on the tree T depending on the value of the OPT parameter.

Allowed values for OPT are listed in the table below.

'allnodes'Tree nodes
'isnode'True for existing node
'istnode'True for terminal nodes
'nodeasc'Node ascendants
'nodedesc'Node descendants
'nodepar'Node parent
'ntnode'Number of terminal nodes
'tnodes'Terminal nodes
'leaves'Terminal nodes
'noleaves'Not terminal nodes
'order'Tree order
'depth'Tree depth

Introduced before R2006a

Was this topic helpful?