Wavelet Toolbox
  Go to function:
    Search    Help Desk 
nodedesc    Examples   See Also

Node descendants.

Syntax

Description

nodedesc is a tree management utility.

D = nodedesc(T,N) returns the indices of all the descendants of the node N in the tree structure T. N can be the index node or the depth and position of node. D is a column vector with D(1) = index of node N.

D = nodedesc(T,N,'deppos') is a matrix that contains the depths and positions of all descendants. D(i,1) is the depth of i-th descendant and D(i,2) is the position of i-th descendant.

Examples

See Also

maketree, nodeasc, nodepar, wtreemgr

[ Previous | Help Desk | Next ]