Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

wtreemgr

NTREE manager

Syntax

Description

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?