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

Node ascendants.

Syntax

Description

nodeasc is a tree management utility.

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

A = nodeasc(T,N,'deppos') is a matrix that contains the depths and positions of all ascendants. A(i,1) is the depth of i-th ascendant and A(i,2) is the position of i-th ascendant.

Examples

See Also

maketree, nodedesc, nodepar, wtreemgr

[ Previous | Help Desk | Next ]